terrene-foundation

Cost Audit — Security skill for Claude Code

Security community

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

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.

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 Repository