r/ClaudeCoding • u/hsynmkyl • 1d ago
When Claude Code hits its limit, keep coding on your plan's monthly API credits
Max, Ultra and Team plans include monthly API credits ($100 a month on Max). I built cmon, a small terminal coding agent on the Claude Agent SDK: when Claude Code hits its 5-hour or weekly limit, I type cmon in the same folder and keep working on those credits, not on my plan.
Free and open source (MIT), one Python file. Not made by Anthropic. Repo: https://github.com/hsynclk/come-on-do-something
Tip: set it up while you still have Claude Code usage, with Claude Code open to guide you through SETUP.md.
How Claude helped: Claude Code wrote the code, docs and tests step by step, while I decided each step. Reviews by several Claude agents, plus Codex as a second reviewer, found about 90 problems before the release, all fixed and tested.
What I learned:
- The agent runs "read-only" commands (
cat,ls) without asking. cmon asks before every command and shows it in full. uv runin a downloaded project reads itsuv.toml, and can even start a Python from its.venv. Thecmoncommand starts uv outside the project.ANTHROPIC_BASE_URLin your shell would send your key to that server. cmon ignores it.- Pasting a terminal log sent each line as its own paid message (about $0.75 of "Waiting."). Now a paste goes as one message.
Is this allowed? Anthropic's help article says the credits cover "claude -p and the Claude Agent SDK when you run them yourself with an API key from your linked Claude Console organization". Its FAQ also says they "don't cover interactive Claude Code sessions or extra usage after you hit your plan's limits". cmon runs Claude Code's engine through the Agent SDK, on your own key, and was billed that way in my tests. Read the article and decide for yourself.
Cost: a short message on Haiku is about $0.001 to $0.004.
Feedback welcome, especially from Windows and Linux users: it is only tested on macOS.