by semihtalii
Know when you're on the brink — Claude Code, Codex & Cursor usage limits on the edge of your Mac or Windows screen, and which project spent them
# Add to your Claude Code skills
git clone https://github.com/semihtalii/brinkLast scanned: 9/1/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-09-01T09:12:18.827Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how brink compares with popular alternatives.
brink is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by semihtalii. Know when you're on the brink — Claude Code, Codex & Cursor usage limits on the edge of your Mac or Windows screen, and which project spent them. It has 53 GitHub stars.
Yes. brink passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/semihtalii/brink" and add it to your Claude Code skills directory (see the Installation section above).
brink is primarily written in Swift. It is open-source under semihtalii on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh brink against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Know when you're on the brink. A tiny panel that lives on the right edge of your screen and shows your Claude Code, Codex and Cursor usage limits at a glance — and, on macOS, which project spent them. For macOS and Windows.
Move the mouse to the thin strip on the right edge → the panel slides out. Hover a ring → a card shows the session limit, weekly limits and reset times. One line at the bottom answers the follow-up question: what used it?
No Dock icon, no menu bar clutter. Just the edge.
.glassEffect): it turns light or dark from
what's behind it, so type stays legible over a white web page and a dark wallpaper
alike. On macOS 13–15 it falls back to a frosted NSVisualEffectView blur.cursor-agent login) — whichever you use, logged inxcode-select --install)Grab Brink.dmg from the latest release, open it and
drag Brink to Applications.
Or with Homebrew (from this tap; Brink isn't in homebrew-cask yet — that needs notarization first):
brew tap semihtalii/brink
brew trust semihtalii/brink # Homebrew 6+ asks this once for third-party taps
brew install --cask brink
The cask strips the quarantine flag for you, so the Gatekeeper step below isn't needed.
The app is not yet notarized (no Apple Developer account yet), so macOS blocks the first launch. On macOS 15 Sequoia and later the old right-click → Open trick no longer works; do this instead:
Or skip the dialogs entirely from a terminal:
xattr -d com.apple.quarantine /Applications/Brink.app
Every release ships a SHA256SUMS file and a GitHub build attestation, so you
can check the DMG came from this repo's CI:
gh attestation verify Brink.dmg -R semihtalii/brink.
git clone https://github.com/semihtalii/brink.git
cd Brink
./build.sh
open dist/Brink.app
build.sh produces both dist/Brink.app and dist/Brink.dmg.
Brink for Windows is a native C# / WPF (.NET 8) port with the same behaviour: edge strip, rings, detail card, notifications, 10 languages, launch at login. Themes are Black and System (follows the Windows light/dark app theme; there is no Liquid Glass on Windows).
Install: grab Brink-Windows-x64.zip from the
latest release, unzip, run Brink.exe. It's a single
self-contained file — no .NET install needed (x64 only for now). The exe is not
code-signed yet, so SmartScreen may warn on first run: More info → Run anyway.
A winget install SemihTali.Brink manifest is prepared in
packaging/winget/ and will work once it's merged into winget-pkgs.
Uninstall: quit Brink, delete Brink.exe and %APPDATA%\Brink\. If you
enabled Launch at login, turn it off first (it's a HKCU\...\Run entry).
Credentials it reads (never written, never sent anywhere but the vendor):
| Provider | Where |
|---|---|
| Claude Code | %USERPROFILE%\.claude\.credentials.json, else Credential Manager Claude Code-credentials |
| Codex CLI | %CODEX_HOME%\auth.json or %USERPROFILE%\.codex\auth.json |
| Cursor CLI | %USERPROFILE%\.cursor\cli-config.json, else Credential Manager cursor-access-token |
Settings and an error log live in %APPDATA%\Brink\. Source is in
windows/; build with dotnet build windows/Brink.csproj -c Release.
macOS will ask once:
Brink wants to use your confidential information stored in "Claude Code-credentials" in your keychain.
Click Always Allow. This is Claude Code's own login token; Brink reads it to ask Anthropic for your usage numbers. It is never sent anywhere else.
| Action | Result |
|---|---|
| Move mouse to right edge | Panel slides out |
| Hover a ring | Detail card |
| Right-click panel or card | Refresh now · Providers · Appearance · Language · Launch at login · Notifications · Test notification · Quit Brink |
| Move the mouse far from the edge | Panel folds away by itself |
Providers you're not signed in to are hidden. If nothing is signed in, a single ? ring tells you what to install; turn a provider on under Providers to see a DEMO ring anyway.
Uninstall (macOS): quit Brink, delete /Applications/Brink.app and
~/Library/Application Support/Brink/. Nothing else is written.
Claude Code-credentials) or in ~/.claude/.credentials.json, then
calls api.anthropic.com/api/oauth/usage — the same request Claude Code makes
for its /usage command.~/.codex/auth.json and calls
chatgpt.com/backend-api/wham/usage.cursor-access-token)
and the user id from ~/.cursor/cli-config.json, then calls
cursor.com/api/usage-summary.The limit tells you how much is gone. Brink also answers the follow-up: which project spent it?
Under the Claude card there's one quiet line — This session · brink · 4.1% —
that expands into a per-project breakdown. It works by pairing each observed
rise in your limit with the turns that happened in the same interval, weighting
them by tokens, and splitting the rise between the projects involved. Nothing is
estimated from a price table; only what actually moved the number is assigned.
Four ranges. Session and Week are Anthropic's own limit windows, so their percentages are percent of the limit and match the card. Month (calendar month) and All have no limit behind them — Anthropic resets on five hours and seven days, not monthly — so they show each project's share of the work in that range. The list says so under the rows, and these two survive a limit reset, reaching back as far as the transcripts do.
Consumption that no local session explains — claude.ai, another machine, a background job — is shown as Elsewhere rather than hidden or spread around.
What it reads. Claude Code already writes a transcript per session under
~/.claude/projects. Brink opens those files and takes only these fields:
timestamp · cwd · gitBranch · sessionId · requestId · version
message.model · message.usage.{input,output,cache_read,cache_creation}_tokens
It never reads message.content, tool results, or attachments, and never
descends into the tool-results/ and subagents/ directories. Transcripts can
contain secrets an agent read from a project; none of that is touched, stored or
sent. The database (~/Library/Application Support/Brink/agentcost.sqlite) holds
token counts, model names, branch names and project paths — nothing else, and it
never leaves the machine.
Sessions started in subfolders of one repository are grouped by their git root,
so a project shows up once rather than as Sources, docs and windows.