Skip to content

[Feature]: Add Cursor usage tracking (status-bar rate limits + Accounts pane) #15516

Description

@bstncartwright

Problem or use case

Orca already launches Cursor as a first-class agent (cursor / cursor-agent) and shows live usage for Claude, Codex, Gemini, Antigravity, OpenCode Go, Kimi, MiniMax, and Grok. Cursor is missing from that set.

Cursor billing is easy to blow through during long agent runs: current plans have two monthly pools (Cursor Models vs Other Models), plus optional on-demand spend. Today the only way to check remaining allowance is to leave Orca and open cursor.com/dashboard/spending. That is the same gap Copilot (#6892) and ClinePass (#13032) called out.

Related but not this ticket: #7766 (Cursor native chat / sidebar progress). This request is only live quota/usage.

Proposed solution

Treat Cursor as another live rate-limit provider, same surfaces as Claude/Codex/Copilot:

  • Show Cursor in AI Provider Accounts, with enable/hide like the other providers.
  • Add a status-bar chip for the signed-in Cursor account.
  • Surface current-period usage for both pools when Cursor exposes them, remaining allowance, and billing-cycle reset date.
  • Show clear not-configured / signed-out / refresh-failed states. Never crash or loop on a keychain prompt.
  • Read-only against the existing Cursor / cursor-agent login. Do not write, refresh, or invalidate that session.

Prefer a documented or already-authenticated Cursor capability over dashboard scraping or a separately pasted secret. Official Admin/Analytics APIs are enterprise-team only, so individual Pro/Ultra usage will likely need the local cursor-agent/Cursor app session (same shape as Kimi/Copilot: local credential read, quota fetch, map into ProviderRateLimits).

Because Cursor quota is a monthly entitlement (not 5h/7d), reuse the optional monthly window other providers already carry.

Alternatives or additional context

In scope: status-bar chip + Accounts pane for the active Cursor login.

Out of scope (same split as Copilot #6892):

Cross-platform / remotes:

  • macOS, Linux, and Windows. Credential location will differ (CLI/app files vs keychain).
  • WSL: if Cursor/cursor-agent auth lives in the WSL distro, read that runtime, not only the Windows host home (Stats & Usage reads the Windows Claude home; WSL Claude usage is never scanned #15487 is the Claude version of this bug).
  • SSH / folder workspaces: degrade to “not available” when there is no readable login on the host that runs the agent. Do not assume a git worktree or a local-only install.

Risks:

  • Personal usage may only exist on undocumented dashboard endpoints; those should not be a hard requirement if they are brittle.
  • Reading another app’s macOS keychain item can prompt or fail under different code signing.

Related: #6892 (Copilot usage tracking pattern), #13032 (ClinePass quota), #4570 (Kimi usage), #7766 (Cursor chat/progress, separate).

Activity

  1. barkeslim-ops commented on Aug 21, 2026

    @barkeslim-ops

    +1 from a macOS daily Grok + Cursor setup (Orca 1.4.180, cursor-agent / agent 2026.08.11).

    The status-bar usage row already works well for Grok (and Claude/Codex/Gemini). Cursor is the missing chip: long Cursor runs are easy to overspend, and the only check today is leaving Orca for cursor.com/dashboard/spending.

    Please keep this scoped to live quota on the status bar + Accounts pane, same as Grok — not Stats, not Chat UI. Chat UI for Cursor is tracked separately in #15718.

  2. Mivr commented on Sep 2, 2026

    @Mivr
    Contributor

    Opened #18119 implementing this: read-only Cursor usage (Cursor Models / Other Models / Grok Bot pools, reset countdowns, account identity) in the status bar and Settings → Accounts, against the existing Cursor desktop or cursor-agent login. Before/after screenshots and test notes are in the PR.

  3. added theissue type on Sep 19, 2026
  4. nwparker commented on Sep 24, 2026

    @nwparker
    Contributor

    This is implemented in #22633 — status-bar meter, usage roster, and a Settings → Accounts → Cursor section.

    It follows what you asked for: the two monthly pools (Cursor Models / Other Models) as separate buckets, plus On-demand when you've enabled it, all reset on your billing cycle. Reads the Cursor sign-in already on your machine, so there's no second login — keychain (where cursor-agent 2026.06+ keeps it), the older ~/.cursor/auth.json, or the Cursor IDE's own session, whichever you have.

    Installable build if you want to try it:
    https://github.com/stablyai/orca-adhoc/releases/tag/v1.4.211-adhoc.20260924221219

    macOS installs through Orca's updater. Windows is unsigned — run orca-windows-setup.exe once (SmartScreen warns), then switching works in-app. Settings → Updates to go back.

    One ask: do the numbers match your cursor.com/dashboard/spending page? The only Cursor account I have has an expired token, so I verified the whole credential path and the error states, but never saw live percentages render on a healthy plan. If yours look right, say so and I'll stop worrying; if they're off, tell me what you see versus the dashboard.

  5. nwparker commented on Sep 24, 2026

    @nwparker
    Contributor

    Update: new build, please use this one instead —

    https://github.com/stablyai/orca-adhoc/releases/tag/v1.4.211-adhoc.20260924232116

    The build I linked earlier has been deleted, because review found three bugs in it that would have hit you directly:

    • An expired CLI token hid a valid Cursor IDE session. If you ever ran cursor-agent login and now work mainly in the IDE, the old build told you "sign-in expired" forever while a perfectly good session sat unused. A live session now wins regardless of where it's stored.
    • A null field in the response threw away the whole reading, so some accounts would have shown no usage at all.
    • Cursor's pools rendered with no number — icon and an empty bar. That one only showed up on a healthy account, which is exactly what I couldn't test.

    Same ask as before, and the same one thing I still can't verify myself: do the numbers match your cursor.com dashboard? Install instructions are unchanged — macOS through Orca's updater, Windows via orca-windows-setup.exe once past SmartScreen, Settings → Updates to go back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions