Cost Audit — Security skill for Claude Code
Per-project Claude Code cost from local transcripts (token usage x API list prices).
How to install Cost Audit
Installs to ~/.claude/commands/terrene-foundation-kailash-coc-claude-py-cost-audit.md
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.
What Cost Audit does
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 `/.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-
Alternatives in Security
- T3mp3st — autonomous red teaming platform; multi-agent offensive-security meta-harness 5.7k ★
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- Pareto Mac — by ParetoSecurity - Serves as development guide for Mac security audit tool with build instructions, contribut 431 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Loongsuite Pilot
Local-first telemetry collector for AI coding agents — unified OpenTelemetry events for Claude Code, Codex, Cu
Claude Trim
Audit your Claude Code token usage — see which skills eat your context budget and find conflicts before they c
Skill Checker
🔍 Claude Code skill evaluator — check any skill's functionality, security, dependencies, API needs, and token
Claude Revoke
Audit and revoke everything Claude Code has been given on Linux: trusted folders, "always allow" rules, saved
Claude Desktop Tools
Native Windows 11 desktop application that acts as an autonomous visual command center to audit local storage,
Orca Agent Cleanup
Safely audit and quarantine Orca-installed agent skills, hooks, and CLI residue on Windows, macOS, and Linux.
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Packager Troubleshooter
Use this agent when packaging fails or needs changes — yarn build:package:windows mac linux, PyInstaller error
LLM Performance Analyst
Evaluates LLM agent performance from session transcripts — token usage, tool-call efficiency, and error patter