claudeers.
// Other

codenotch

A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge.

// Other[ api ][ claude ]#claude#other$open-sourceupdated about 1 month ago
Actively maintained
100/100
last commit 9 days ago
last release 9 days ago
releases 18
open issues 25
// star history

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up codenotch (release-binary project) into my current project.
Found on https://claudeers.com/codenotch
Repo: https://github.com/vinzdg/codenotch
Homepage/docs: —
Detected install method: release-binary → inspect the README
Category: other. Platforms: api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/vinzdg/codenotch/releases
// or clone
git clone https://github.com/vinzdg/codenotch

// compatibility

Platformsapi
Operating systems—
AI compatibilityclaude
License—
Pricingopen-source
LanguageSwift

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

Codenotch

Working name — not final.

A macOS agent app that pins a small black notch to the right edge of the screen showing how much of each LLM's session limit you have burned, and whether you have hit the wall yet. Hover a provider to see its individual limit windows and when they reset — and tells you at a glance whether Claude is still working, done, or waiting on you. The ring always shows the current session, the same window Claude's own usage panel leads with, so the two never disagree.

Collapsed notch with hover tooltip

Settings show which account each reading belongs to, with one switch per provider. Switching on takes you to that account's sign-in — a window for a provider whose session Codenotch owns, the owning app for Cursor and Codex. Switching off stops the credential being read and forgets the readings taken from it, so the numbers do not come back on the next launch. What it cannot do is sign you out of Claude Code or Cursor: those sessions are theirs, and the row says so rather than leaving you to find out. Settings live in an orb below the notch — an arc in the corner at rest, a gear when you reach for it. It folds away when you are not looking at it: at rest it is a small pill on the screen edge, and it unfolds when the pointer reaches it. Click to pin it open.

The notch can live on any of the four edges. Right and left keep the vertical column; top and bottom lay the readings out side by side, because four cells stacked vertically would hang a quarter of the way down the screen. It pins itself to the usable edge, so a bottom notch rests on top of the Dock — and it follows when the Dock hides or moves. On a Mac with a notch of its own, the top placement takes the hardware notch's own shape — straight sides, rounded underneath, moulded into the frame at the top — so the notch simply looks wider and deeper rather than having a bar parked underneath it. Folded away it is the notch, and reaching for it makes the notch grow.

Codenotch updates itself. Sparkle checks daily and installs in the background without prompting, applying the new version the next time the app starts; the Settings sheet says so and can switch it off. Every update is EdDSA-signed, so nothing installs that was not built here.

Status

The notch is built, matches the design frame, and shows your real Claude usage — the same session and weekly percentages Claude's own usage panel reports, refreshed every 60 seconds. make run puts it on screen, hover pops the detail card.

It also answers "is Claude still working?" — inside the Claude ring, a thin arc spins while a session is working and becomes a pulsing amber ring when one is blocked waiting on you. Hover for every live session by name, where it is running, and what it wants.

Cursor and Codex are wired up too, both reading locally: Cursor borrows the editor's own session from its SQLite state store, and Codex reads the rate-limit snapshots it writes into its own rollout logs — no credential, no network. Perplexity's adapter is kept but unregistered. Run with CODENOTCH_DEMO=1 to see the design frame's three-provider layout with its numbers. See TASKS.md.

Every size in the UI is measured off the design frame and expressed in frame pixels (Design.px(186)), so the layout is proportionally exact. Design.scale is the one constant that sets the absolute size; it is anchored on the spec's 44pt ring, which puts the notch at 70 x 401pt.

Stack

Swift 6 / SwiftUI + AppKit, macOS 26, XcodeGen-generated project, agent app (LSUIElement, no Dock icon). Same conventions as ~/notch-app.

Build

brew install xcodegen   # once
make run                # generate, build, launch
make test               # unit tests

The honest caveat

No LLM vendor publishes a clean "your session limit is N% used" API. The data layer is a set of per-provider adapters that each declare their fidelity — .official, .derived or .manual — and the UI never presents a derived number as if it were official.

Claude is .official: ClaudeOAuthProvider reads the OAuth token Claude Code keeps in the login keychain and calls GET /api/oauth/usage, which is where Claude's own /usage gets its numbers. That is not a published API — it can change without notice — so the response shape is pinned by tests and every failure degrades to a visible status (stale, needsAuth, error) rather than to a made-up percentage.

The local session files under ~/.claude/projects were the original plan. They hold token counts but no limits and no window metadata, so a percentage from them needs an invented denominator. They remain the .derived fallback if the endpoint disappears.

Keychain: the app is signed with a Developer ID identity so the one-time "Always Allow" grant survives rebuilds. An unsigned build re-prompts after every make run.

Rate limits: the endpoint returns 429 if polled too hard, and answers Retry-After: 0 when it does. The back-off treats that hint as a floor-raiser only — 60s, doubling per consecutive 429, capped at 15 minutes. The last good reading is kept across launches, so a refused fetch shows dated numbers rather than nothing; the ring dims and the tooltip header says how old they are. The back-off deadline is persisted too, so relaunching during a penalty waits instead of spending an attempt on it. Polling drops to every 5 minutes when no session is running, and right-clicking the notch offers Refresh now.

Logs: the app is an agent with no window, so anything worth diagnosing goes to the unified log.

/usr/bin/log stream --predicate 'subsystem == "com.vinz.codenotch"' --level debug

// faq

What is codenotch?

A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge.. It is open-source on GitHub.

Is codenotch free to use?

codenotch is open-source, so it is free to use.

What category does codenotch belong to?

codenotch is listed under other in the Claudeers registry of Claude-compatible tools.

15 views
★ 2,574 stars
unclaimed
updated about 1 month ago

// embed badge

codenotch on Claudeers
[![Claudeers](https://claudeers.com/api/badge/codenotch.svg)](https://claudeers.com/codenotch)

// retro hit counter

codenotch hit counter
[![Hits](https://claudeers.com/api/counter/codenotch.svg)](https://claudeers.com/codenotch)

// reviews

// guestbook

0/500

// related in Other

🔓

符合nature论文学术表达和科研绘图的Skill

// otherYuan1z0825/⟨Python⟩★ 45,880◷ Apache-2.0[ claude ]
🔓

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

// otherNutlope/⟨CSS⟩★ 29,187◷ MIT[ claude ]
🔓

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

// othermanaflow-ai/⟨Swift⟩★ 27,679◷ NOASSERTION[ claude ]
🔓

Huashu Design · HTML-native design skill for Claude Code · Claude Code 里 HTML 原生的设计 skill · 高保真原型 / 幻灯片 / 动画 + 20 设计哲学 + 5 维评审 + MP4 导出 · Agent-agnostic

// otheralchaincyf/⟨HTML⟩★ 24,472◷ MIT[ claude ]

// built by

→ see how codenotch connects across the ecosystem