Cost Audit banner
terrene-foundation terrene-foundation

Cost Audit

Security community

Description

--- name: cost-audit description: "Per-project Claude Code cost from local transcripts (token usage x API list prices). Read-only; cross-platform (mac/linux/windows)." --- `/cost-audit` reports the API-list-price value of your Claude Code token usage, grouped by project, read from the transcripts under `<home>/.claude/projects/`. It is **read-only** and needs no network or credentials. **What the number means.** Claude Code persists exact token counts per message but no dollar figure; this re-

Installation

Installs to ~/.claude/commands/terrene-foundation-kailash-coc-claude-py-cost-audit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/terrene-foundation/kailash-coc-claude-py/HEAD/.claude/commands/cost-audit.md -o ~/.claude/commands/terrene-foundation-kailash-coc-claude-py-cost-audit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository