Skip to content

[Resource] cc-probeline #2063

@labzink

Description

@labzink

Display Name

cc-probeline

Category

Status Lines

Sub-Category

Tooling: Usage Monitors

Primary Link

https://github.com/labzink/cc-probeline

Author Name

Konstantin Labzin

Author Link

https://github.com/labzink

License

MIT

Other License

No response

Description

A Claude Code status line that surfaces data the native UI omits: per-turn cost, subagent activity and spend, cache TTL, and 5h/7d quota burn. It works from local session data only and makes no network calls on render — one optional, disable-able daily price/version check fetches a public GitHub JSON (never the Anthropic API, no session data sent). Written in Go; installs via Homebrew, curl, Scoop, or the plugin marketplace

Validate Claims

Open-source Go; every claim is independently checkable. FUNCTIONALITY: install, set as statusLine.command, open any session — the bottom line shows per-turn cost, subagent spend, cache TTL and 5h/7d quota, none of which the native line shows. PROVENANCE (release <-> source): release archives carry keyless SLSA build provenance — "gh attestation verify --repo labzink/cc-probeline" proves they were built from this repo in CI; each release also ships checksums.txt (SHA-256). NETWORK: "grep -rln net/http internal/" returns exactly one file (internal/cost/prices_fetch.go) — an optional once-per-day price/version check to a public GitHub JSON, off via "cc-probeline price-check off"; no other network, nothing on render, no session data sent. CREDENTIALS: no Keychain reads, no OAuth tokens read, no calls to api.anthropic.com; it does read ~/.claude.json but parses ONLY the boolean oauthAccount.hasExtraUsageEnabled (for the extra-usage indicator) and ignores tokens — see the documented note atop internal/claudejson/claudejson.go. NO CC MODIFICATION: it only edits ~/.claude/settings.json statusLine via an explicit "install" command and restores it on "uninstall" — no cli.js patching, no package-manager postinstall hooks. The single hook (hooks/hooks.json, SessionStart) just runs "command -v cc-probeline" and prints a hint if missing.

Specific Task(s)

Give Claude Code a multi-step task that spawns parallel subagents (e.g., review several files in parallel via the Task tool) and watch the status line during the run.

Specific Prompt(s)

Use parallel subagents to review these files and summarize each: <2-3 real files in your repo>. Then watch the bottom status line: per-turn cost updates each turn, each subagent appears with its own spend, the cache-age (TTL) counter ticks, and the 5h/7d quota bars fill — compare with the native line, which shows none of these.

Additional Comments

cc-probeline demo

Recommendation Checklist

  • I have checked that this resource hasn't already been submitted
  • It has been over one week since the first public commit to the repo I am recommending
  • All provided links are working and publicly accessible
  • I do NOT have any other open issues in this repository
  • I am primarily composed of human-y stuff and not electrical circuits

Metadata

Metadata

Assignees

No one assigned

    Labels

    resource-submissionThis Issue submits a new resource to the listvalidation-passedResource has passed initial validation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions