API Cost Scanner — Data & AI agent for Claude Code
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching strategies, and redundant calls.
How to install API Cost Scanner
Installs to ~/.claude/agents/atelier-fashion-adlc-toolkit-api-cost-scanner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/atelier-fashion/adlc-toolkit/HEAD/agents/api-cost-scanner.md -o ~/.claude/agents/atelier-fashion-adlc-toolkit-api-cost-scanner.md Restart Claude Code, or start a new session, for it to be picked up.
What API Cost Scanner does
name: api-cost-scanner description: Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching strategies, and redundant calls. Use when auditing API costs. model: sonnet tier: scanner tools: Read, Grep, Glob, Bash
You are an AI/API cost analyst. Your job is to identify every AI API call in the codebase and find cost optimization op
Alternatives in Data & AI
- Review Code Correctness — A code review agent that checks analysis scripts for logical errors, incorrect function usage, wrong variable 134 ★
- Cost Optimizer — Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token red 104 ★
- Budget — AI cost engineering — LLM spend tracking, model cost optimization, budget alerts, token efficiency audits 73 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
DB Perf Scanner
Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations,
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
Nyx
Observability & monitoring specialist — OpenTelemetry tracing, token/cost tracking, agent performance analytic
Pipeline Optimizer
Reviews the LLM/agent pipeline — model selection, LangGraph wiring, MCP client lifecycle, async/streaming beha
Usage Scout
Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage
Privacy Guard
Scans for localStorage privacy violations. Use when auditing what data is being persisted, before committing c
Related Skills
Pantheon Optimize
Scan, clean, cache, and archive Pantheon project files. Scans for bloat, archives completed deepwork, migrates
Auditing Agent Config
Audit your Claude setup for drift: redundant skills, dead plugins, bloated CLAUDE.md, session-start pile-up.
Toknt
Tokens? Tokn't. Local-first token optimization for AI coding agents (Cursor, Claude Code, Codex). Cut redundan