AI Spend — Security skill for Claude Code
Audit Claude Code token efficiency: MCP overhead, session patterns, skill cost, cache hit rate.
How to install AI Spend
Installs to ~/.claude/skills/cipshadow-leverage-and-taste-ai-spend/SKILL.md
mkdir -p ~/.claude/skills/cipshadow-leverage-and-taste-ai-spend && curl -fsSL https://raw.githubusercontent.com/cipshadow/leverage-and-taste/HEAD/commands/ai-spend.md -o ~/.claude/skills/cipshadow-leverage-and-taste-ai-spend/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What AI Spend does
name: ai-spend description: Audit Claude Code token efficiency: MCP overhead, session patterns, skill cost, cache hit rate. Add --full for actual dollar spend if you have billing data access. model: sonnet user-invocable: true
Audit Claude Code token spend and surface efficiency wins. Quantify everything in dollars.
**Argument:** `$ARGUMENTS`
- No argument → local-only audit (instant, no external queries)
--full→ include Layer 1: actual dollar spend from your billing source
Alternatives in Security
- MCP Security Checklist (SlowMist) — Comprehensive checklist: input validation, rate limiting, RBAC, credential management, container hardening 819 ★
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Cost Autopsy
Session token-burn autopsy (TCO v1). Reads the TIS telemetry log and reports per-session token spend (input /
Optimize Harness
Audit one or all supported agent harnesses for config efficiency, hook overhead, permission friction, plugin a
Mod Cost
Audit Claude Code and Codex CLI token usage, cache efficiency, and BTE cost metrics across local session trans
Claude Code Cloud Audit Loop
Spend a fixed dollar budget on independent fact-check audits of many GitHub repositories, from inside one Clau
Cc Cache Audit
A/B test proving Claude Code's billing header breaks cross-session prompt cache sharing. One env var fix saves
Audit Burden
Find features carrying technical cost, architectural weight, or delivery constraints disproportionate to their
Related Agents
Budget
AI cost engineering — LLM spend tracking, model cost optimization, budget alerts, token efficiency audits
Paypal Specialist
PayPal payments + billing — server client, OAuth token cache, Orders v2 checkout and capture, subscriptions, r
Vault Optimizer Agent
Optimize vault workflows for token efficiency by routing work to CLI, MCP, cache, delta, skills, and slash com