Show HN: Which prompts ate your Claude Code limit? A local, read-only doctor
Category: ai-ml
Tags: llm-cost, agent-governance, claude-code, budget-enforcement, observability
Score: 6.0/10 (Innovation: 6, Technical: 6, Documentation: 7, Utility: 5)
TokenOps is a token/cost budget governance layer for AI agent runs, enforcing a run-scoped budget before every model call and offering policies to halt or steer execution. It also ships a read-only 'doctor' for Claude Code that analyzes local session logs to attribute spend to specific prompts and suggest cheaper alternatives.
Target audience: AI/agent developers, backend devs, devops managing LLM spend
Repository: https://github.com/theagentplane/tokenops/tree/main/integrations/claude-code · Python · MIT · 84 stars
View on Hacker News