
agent-leftovers
Find the cloud bills your AI coding agent left running
2 followers
Find the cloud bills your AI coding agent left running
2 followers
Claude Code and Codex create VMs, databases and deploys mid-task, then forget them. agent-leftovers reads the logs they already keep on your machine and lists every leftover with the exact command to turn it off. Read-only, local, free.





Free
Launch Team

Framer AI workflowsPut Framer’s Agent to work on your site
Promoted
Hi Product Hunt!
I kept reading the same story: someone lets Claude Code or Codex finish a task, and a week later finds a GPU VM, a 250 GB disk or a batch script hammering a paid API with their key. The agent made it; nobody remembered it.
Your agent already writes down every command it runs in local session logs. agent-leftovers reads them and answers one question: what did my agent create that is still out there, and how do I turn it off?
• 59 rules across GCP, AWS, Azure, Cloudflare, Vercel, Fly, Supabase, Heroku, Terraform and more
• Skips what the agent already deleted and creates that failed
• Flags scripts the agent wrote that call OpenAI, Anthropic or Gemini with your key, even ones left running in the background
• Read-only and fully local: it runs nothing and sends nothing
Try it: npx github:ApahSaroj/agent-leftovers
Honest limit: it only sees the agent's shell. Things made through MCP tools or a web console won't show.
What should I add next: live "is it still running?" checks, or support for Cursor and Gemini CLI?
Update: v0.2 is out, built from today's feedback.
• It now catches resources your agent created through MCP servers (Supabase, Neon, Vercel, Cloudflare, DigitalOcean, E2B and more), not just shell commands.
• New optional --verify flag asks your own cloud CLIs which leftovers still exist. Read-only describe/list calls only, off by default.
Still free, zero dependencies, and nothing leaves your machine unless you pass --verify.
npx github:ApahSaroj/agent-leftovers
Thanks to everyone who pointed out the MCP blind spot. Keep it coming.
The smart move here is reading the agent's own session logs instead of asking for cloud credentials — no new access handed over, it just audits what Claude Code and Codex already wrote down. Honestly the flag I like most is the one for orphaned scripts still calling the model APIs with your own key: a forgotten VM bills you quietly, a forgotten script can bill you creatively. And shipping the MCP coverage plus --verify in v0.2 was the right call — a leftover list that's a week stale is worse than none.
@jcbuilds Thanks, that's exactly the trade-off I wanted: no credentials, just what the agent already wrote down. On the API-key scripts: the log can't tell whether a script is still on a cron, so the flag links you to that provider's usage page to check spend directly. "Bills you creatively" is going in the README. v0.4.2 shipped today: about 30 more resource types and the right project, account and region on every teardown. One honest gap: --verify doesn't cover the newest types yet. That's next. Which cloud do you use most?