Skip to content
TlinovPublic

About

Native macOS tray app for Codex CLI and Claude Code account limits

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Limits logo

Your Codex and Claude Code limits, in one native view

Releases · Installation · Privacy · Security · Contribute

Limits yearly Codex usage overview with synthetic accounts

The screenshots use synthetic accounts inside an isolated test fixture.


Why Limits

One AI coding account is easy to watch. Several accounts are not. Each account has its own reset clock, subscription, usage history, and active credential, so the important answer gets scattered across tools: which account is closest to its limit, and will it last until reset?

Limits is a native macOS app that puts that answer in one place. It combines current Codex and Claude Code limits with real Codex usage, keeps the evidence fresh, and makes saved accounts available without turning credential files into a manual workflow.


Installation

Limits requires an Apple-silicon Mac running macOS 26 or newer.

Download the macOS arm64 zip and its .sha256 file from the latest release, then verify the archive before opening it:

shasum -a 256 -c ./*.zip.sha256

Unzip the archive, move Limits.app to /Applications, and open it. Add the Limits widget from the macOS widget gallery if you also want current limits on the desktop or in Notification Center.

Release v0.1.44 is a historical Developer ID-signed build that predates the repository's notarization gate. macOS may ask for manual approval, and Widget Gallery may decline to index it. Releases from v1.0.1 onward pass notarization and stapling before publication.


Everything you need

Limits turns account state, quota windows, and local usage evidence into one consistent picture instead of another collection of counters.

One overview

See every saved account, yearly token activity, totals, model mix, trend, projects, and tasks under one selected period.

Reset-aware forecasts

Distinguish “runs out before reset”, “lasts until reset”, “collecting pace”, and stale evidence from observed limits.

Actual Codex usage

Track tokens, Codex credits, subscription cost, and the current API-price equivalent without presenting the comparison as an API bill.

Work breakdown

Explain where local Codex usage went by model, project, and task while keeping full prompts, responses, and source files out of the database.

Safe account switching

Save Codex and Claude Code accounts in macOS Keychain, validate a replacement identity, and restore the previous credential when switching fails.

Native surfaces

Use the full app, the menu bar panel, or sandboxed WidgetKit widgets. Every surface reads the same account and freshness rules.

Limits menu bar panel with synthetic accounts

Current limits stay one click away in the menu bar.


Local by design

Limits has no developer analytics, advertising SDK, account service, or crash-reporting service. Saved credentials live in macOS Keychain. Account state and extracted usage stay in the user's Application Support directory.

For Codex analytics, Limits imports numeric usage and bounded work metadata from local JSONL files. It does not store full prompts, responses, transcripts, source files, or project contents. The sandboxed widget receives only the small display snapshot it needs and never reads credentials or rollout files.

The complete data and network contract lives in PRIVACY.md. Sensitive security reports use GitHub's private path described in SECURITY.md.


Build from source

Install Xcode 26.4.1 or a compatible newer Xcode and the pinned project generator:

gem install xcodeproj -v 1.27.0 --no-document --user-install
./script/ci_gate.sh
./script/build_and_run.sh

The local gate regenerates the Xcode project, builds the app, runs every hostless test, and verifies the bundle without launching UI automation. Native builds, tests, screenshots, and releases run locally on macOS. UI and lifecycle tests require a separate local login session, preserving the developer's keyboard, pointer, windows, and menu bar. GitHub Actions publishes the static site on Linux.

Focused model and persistence checks use the hostless LimitsUnitTests scheme. The full architecture, contribution contract, and maintainer release path live in AGENTS.md, CONTRIBUTING.md, and docs/RELEASING.md.


Stack

  • Swift 6 with SwiftUI and AppKit
  • WidgetKit with a sandboxed App Group snapshot
  • SQLite for local usage history
  • macOS Keychain for saved credentials
  • Sparkle 2 with an EdDSA-signed update feed
  • XCTest and Swift Testing under Xcode 26.4.1

Contributing

Focused bug fixes and product improvements are welcome. Start with an issue when a change affects credential handling, persisted data, the update channel, or a visible product contract, then follow CONTRIBUTING.md.


License

Limits is available under the MIT License. Embedded dependency notices are listed in THIRD_PARTY_NOTICES.md.

Limits is an independent project and is not affiliated with, sponsored by, or endorsed by OpenAI or Anthropic. OpenAI, ChatGPT, Codex, Anthropic, and Claude are trademarks of their respective owners.

About

Native macOS tray app for Codex CLI and Claude Code account limits

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages