James Washington
writing about archive utils free game ideas replays
Command-line tool

claude-usage: spend rolled up by project and org

Shows how much AI usage each project and company cost.

built Sep 2026 Upgrading the AI's workbench

how it works

billing/rollup.py joins per-render status-line billing snapshots (the only durable cost record) with transcripts' per-message token usage on session_id, attributing by cwd to orgs.

Command-line tool: A small program run from the terminal.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

billingclicost

related

  • Status line: cost, rate limits, prompt-cache TTL Plugin A dashboard strip under the AI chat showing spend, usage limits and how long until its memory cache expires.
  • Claude Code session explorer (FTS5) Command-line tool Search every past AI conversation across all projects and jump back into one.
  • Scope heavy MCP servers to projects, not the user Technique Only load big AI plug-ins in the projects that use them, saving memory in every other session.
  • cc-session: resolve session handles Command-line tool Turns a short session nickname into the full path and resume command so one AI can read what another did.
  • PostToolUse file soft-claim hook for agent collision detection Agent hook Every time an AI session edits a file, it quietly tells the dashboard, so two sessions editing the same file get flagged.
← everything I've built
© 2026 James Washington
github twitter rss