Skip to main content
Getting Started

The Terminal Command That Scans Your Entire Dev Stack in 3 Seconds

PromptReports System
April 2, 2026
3 min read
The Terminal Command That Scans Your Entire Dev Stack in 3 Seconds

 

You have 15 services in your .env.local. Each has its own billing dashboard. You check them never. Meanwhile, $847/month leaves your bank account across providers you barely remember signing up for.

 

One command fixes this.

 

npx @promptreports/cli

 

No install. No config. No account. It reads your .env.local, discovers every connected service, and gives you a complete cost breakdown in 3 seconds.

 

What It Scans

 

The CLI auto-detects API keys for 93 services across four categories:

 

AI Models
Claude (Anthropic), OpenAI, OpenRouter, Google (Gemini), Mistral, xAI (Grok), Cohere, Replicate, Together AI, Perplexity, DeepSeek, Groq

 

Infrastructure
Vercel, Railway, Fly.io, Supabase, Neon, PlanetScale, Upstash, Cloudflare, AWS, Digital Ocean, Render

 

Monitoring & DevTools
Sentry, PostHog, Datadog, Grafana, Helicone, LangSmith, LangFuse, GitHub Actions, Linear, LaunchDarkly

 

Data & Search
Pinecone, Qdrant, Weaviate, Tavily, SerpAPI, Brave Search, ZenRows, Firecrawl, ScrapingBee, Apify

 

For each detected service, it pulls the current billing period usage and calculates your monthly run rate.

 

What You See

 

The output looks like this:

 

 

Every number comes from real API data. Every quick win comes with the exact dollar savings.

 

How to Use It

 

Basic scan (local only):
npx @promptreports/cli

 

Scan with session analysis:
npx @promptreports/cli --sessions
Adds Claude Code session breakdowns — cost per session, tokens per turn, cache hit rates.

 

Full scan with all providers:
npx @promptreports/cli --all
Fetches billing data from every detected provider.

 

Push to dashboard:
npx @promptreports/cli --all --push
Sends results to your PromptReports.ai dashboard for tracking over time.

 

Cost per commit:
npx @promptreports/cli --commits
Correlates Claude Code costs with git history. See which features cost the most to build.

 

Setting Up Continuous Monitoring

 

The one-time scan shows you what's happening now. Continuous monitoring shows you trends.

 

Step 1: Sign up free at promptreports.ai/register.

 

Step 2: Copy your API key from the dashboard settings.

 

Step 3: Add it to your .env.local:
PROMPTREPORTS_API_KEY=pr_your_key_here

 

Step 4: Push your first scan:
npx @promptreports/cli --all --push

 

Step 5: Open the Ops Intelligence Dashboard. Your data appears immediately.

 

Step 6 (optional): Set up automated daily scans:

 

Privacy and Security

 

The CLI runs entirely on your machine. It reads your local .env.local and calls provider billing APIs directly. Your API keys never leave your machine.

 

When you --push, only aggregated cost and usage data goes to the dashboard. Raw API keys, source code, and credentials are never transmitted.

 

The CLI is open source under the MIT license. Audit the code yourself.

 

Start Now

 

npx @promptreports/cli

 

Three seconds. Every service. Every cost. Free at promptreports.ai.