forecast
25Command
Project current-week usage to the reset boundary. Produces three forms of output from the same computation.
Command
Project current-week usage to the reset boundary. Produces three forms of output from the same computation.
Command
Internal — invoked automatically by Claude Code hooks. Users normally don't run this directly. Hidden from cctally --help.
Command
Claude usage grouped by calendar month. Drop-in replacement for ccusage monthly, offline.
Command
Per-percent cumulative and marginal cost milestones for a single week.
Command
Detect whether cctally's embedded model pricing (CLAUDEMODELPRICING / CODEXMODELPRICING) has gone stale or is missing a model. cctally prices every session locally from these embedded tables; an unrecognized Claude model silently contributes $0 and an unrecognized Codex model is approximated via the gpt-5 fallback.…
Command
Roll Claude or Codex usage up by project. Claude has per-project Used % against a subscription-week ceiling; Codex has calendar-week cost and token rollups without a fabricated Used %. In --source all, provider sections stay separate and --weeks resolves one absolute calendar range.
Command
Reports how much of your weekly Claude quota your usage consumes, computed from your own token history against a budget fitted from that same history, and reports whether the provider has changed the metering rate.
Command
Compute USD cost for an arbitrary absolute time range from Claude, Codex, or both providers' local session data.
Command
Record an in-place weekly (7d) credit — a case where Anthropic lowered your 7-day usage counter mid-window without a clean reset to zero — and repair the local data so reports and the statusline read the credited value instead of the stale pre-credit high-water mark.
Command
Command "record-usage" from omrikais/cctally, covering optional: status-line integration (no oauth api calls), record-usage, synopsis, purpose and when to use it.
Command
Force-fetch 7-day and 5-hour rate-limits from the Anthropic OAuth usage API and persist them via the same path record-usage uses.
Command
Trend table of dollars per 1% weekly usage. The headline command of this project.
Command
Claude usage grouped by sessionId. Resumed sessions (same sessionId across multiple JSONL files via claude --resume) collapse into a single row. 11-column layout that parallels codex-session.
Command
Install cctally into each available local provider. It symlinks user-facing binaries into /.local/bin/, adds Claude hook entries to /.claude/settings.json when Claude Code is initialized, and independently manages native Codex handlers in every configured Codex home. A Codex-only machine does not need a /.claude/…
Command
Command "share-v2" from omrikais/cctally, covering share v2 — dashboard share gui, share modal anatomy, template gallery, template inventory and knobs reference.
Command
Command "share" from omrikais/cctally, covering shareable reports (--format on reporting commands), supported subcommands, provider identity and privacy, dashboard share source identity (#294 s5) and flags.
Command
One-line status string for Claude Code's statusLine hook.
Command
Compute the USD cost for a subscription week and store it in weeklycostsnapshots.
Command
Inspect and control cctally's anonymous, opt-out install-count telemetry. cctally sends, at most once a day, a minimal beat — a one-way month-rotating token (never your install id), the client version, and a coarse OS family (macos/linux/windows/other). No username, path, or session content is ever sent; no IP is…
Command
Export or search conversation transcripts from the local cache. transcript export produces an anonymized-by-default Markdown copy of a whole session — the same scrub the dashboard's Export ▾ menu applies — so the natural "share this session" action is safe by default. transcript search is a scriptable front end to the…
Command
Live refreshing dashboard for subscription usage, spend, and recent-session activity. Renders with rich; background daemon thread keeps the data fresh while the main thread handles keys and redraws.
Command
Self-update cctally for npm and Homebrew installs. Detects the install method by realpath(sys.argv[0]), fetches the latest version from the matching upstream (npm registry for npm; the Homebrew formula raw blob for brew), and runs the right install command — brew update --quiet && brew upgrade cctally or npm install…
Command
Claude usage grouped by subscription week (anchored to --resets-at), with Used % and $/1% columns daily/monthly don't have.
Settings file Claude Code
Agent settings configuring otherKey.