23 terminal tools.
One npm install.
Optimize your Claude Code costs. Audit your stack. Catch drift before it breaks prod. Every tool ships in a single CLI. Zero config.
npx promptreports-cliCore
Install once. Use daily.
Summary
Token usage at a glance
npx promptreports-cliThe default command. Scans your Claude Code sessions for token consumption, cost breakdown, and cache hit rates.
Provider Scan
All your services in one view
npx promptreports-cli providersDiscovers 22+ configured services from your .env.local and queries each API in parallel. One command, your entire stack.
Push
Sync data to the dashboard
npx promptreports-cli pushPushes token stats, session data, and provider costs to your PromptReports.ai dashboard with delta-push checkpoints.
Doctor
Verify your setup
npx promptreports-cli doctor10 diagnostic checks: Node.js, .env.local, services, API key, Claude Code sessions, git, Prisma, CLAUDE.md, skills.
Subprocess Filter
Compress noisy output before your agent reads it
npx promptreports-cli filter -- <cmd>Wraps any shell command. Captures stdout/stderr, strips ANSI, collapses repeated lines, elides long stack traces, and truncates uniform blocks. Errors pass through. Exit code preserved.
Environment
Never lose track of your setup.
Env Sync
Never lose an env var again
npx promptreports-cli env syncCompares your local .env.local against Vercel production variables. Finds drift before it breaks prod.
Health Check
Did that deploy break something?
npx promptreports-cli healthPost-deploy health check. Production URL, Sentry errors, provider billing, Git status, DATABASE_URL. 0-100 score.
Setup Export
Bundle your entire dev env
npx promptreports-cli setup exportExports env vars (AES-256 encrypted), skills, CLAUDE.md, LESSONS.md, MCP config, VS Code extensions into a single portable bundle.
Setup Import
New machine in 60 seconds
npx promptreports-cli setup import bundle.jsonRestores a setup-export bundle on a fresh machine: env vars, skills, CLAUDE.md, MCP config, VS Code config — one command.
Sessions
Know what happened. And why.
Unified Logs
One stream, all sources
npx promptreports-cli logsPulls unresolved issues from Sentry, deployments from Vercel, exceptions from PostHog into one time-sorted stream.
Session Replay
What did you do yesterday?
npx promptreports-cli sessionsSearchable history of every Claude Code session with cost, turn count, model, content preview. Replay turn-by-turn.
Intelligence
Spot waste. Optimize. Score.
Context Optimizer
Stop burning tokens on bloat
npx promptreports-cli contextMeasures context window consumption: CLAUDE.md, skills, memory, system prompt. Finds skills that load but never get invoked.
Cost Attribution
Know what each feature costs
npx promptreports-cli costsGroups AI costs by model, git commit, or provider. Shows unit economics and cost anomalies.
Model Tuner
Pay less for the same quality
npx promptreports-cli modelsCategorizes every turn by task type (search, read, write, complex) and suggests model downgrades. Opus is for architecture. Not grep.
Prompt Drift
Catch silently degrading prompts
npx promptreports-cli prompts auditWalks lib/ and app/api/ to find LLM call sites. Checks git history for modifications. Flags deprecated models.
Expert Audit
Score your Claude Code setup
npx promptreports-cli auditComprehensive audit of CLAUDE.md, .claude/ structure, skills, .env.local, settings.json, plans, memory. 0-100 score.
CLAUDE.md Slim-Down
Find bloat taxing every Claude Code turn
npx promptreports-cli audit claude-mdDeep token-budget analysis of your root CLAUDE.md. Detects duplicated phrases, oversized examples, dead file references, sections duplicating other docs, and filler words. Shows projected savings per session.
Ghost Token Scanner
Silent context waste, found and priced
npx promptreports-cli context --ghostsExtends context with a scanner for waste that never shows in summaries. Finds duplicate tool results across sessions, oversized tool payloads, post-compaction residue, and unused loaded skills. Reports waste + estimated monthly cost.
Campaigns
Launch demand-gen from the terminal
npx promptreports-cli campaign launch <feature>Kick off a multi-channel demand-gen campaign directly from the CLI — manual launches, npm-release triggers, and campaign inspection.
Codebase
Find what you're maintaining for nothing.
Dead Code
Find what you're maintaining for nothing
npx promptreports-cli dead-codeFinds stale API routes (180+ days), unused components, zombie dependencies. Delete with confidence.
Dependency Intel
npm audit with context
npx promptreports-cli depsRuns npm audit for CVEs, npm outdated, unused packages, license compliance. Every dependency, explained.
Schema Drift
Prisma vs reality
npx promptreports-cli schemaParses prisma/schema.prisma, validates schema, checks migration status. Counts models, fields, relations.
Git Intelligence
Read your own patterns
npx promptreports-cli git-intelAnalyzes hotspot files, commit velocity, tech debt indicators, coding time patterns. Auto-generates changelogs.
Start with one command.
Sign up free. Run npx promptreports-cli in your project. See every token, every dollar, every waste pattern — in under a minute.