Launching today

Peras
Pause Claude Code and Codex before they burn your week
43 followers
Pause Claude Code and Codex before they burn your week
43 followers
Peras puts a line in your Claude Code and Codex week. Set it (peras set weekly 85 pause) and once usage crosses it, the agent's next tool call is refused with a plain reason, so one long task can't burn the rest of your week. Resume whenever you want, from the terminal or the menu bar. Opt-in: your agents can be told their own usage. The CLI and hooks are free and MIT. The native Mac menu bar app is €4.99 once.









where's the weekly % coming from, does anthropic expose that number somewhere now
the PreToolUse hook refusing with a reason the agent actually reads is clever, way cleaner than me checking /usage every hour
i'd probably put teh line at 80 on weekdays. can you set a different line for the weekend??? or one per project???
@thamibenjelloun Thanks! That was the idea: the agent gets told why it stopped, so you don't have to keep checking. One per project works today. In that repo, run peras set --here weekly 80 pause. The line covers that folder and everything under it, and replaces your global pause line there. A different line for weekends isn't in yet. A line can be limited to hours of the day (peras set 09:00-18:00 weekly 80 pause) but not to certain days. Until then, you can save two profiles (peras profile save weekday, peras profile save weekend) and switch on Friday with peras profile use weekend. Lines for chosen days are a good idea and I'll look at adding them.
This hits a real pain point. I've watched an agent loop happily through a whole session's budget on one stubborn test. How do you decide when to pause? Is it a raw token or spend threshold, or do you detect unproductive loops, like repeated edits to the same file? Love the focus on just one sharp utility.