Product Thumbnail

Peras

Pause Claude Code and Codex before they burn your week

Developer Tools
Artificial Intelligence
GitHub
Menu Bar Apps
Visit WebsiteSee on Product HuntGithub ⧉

Hunted byKristiyan IvanovKristiyan Ivanov

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.

Top comment

I kept running out of Claude Code mid-week and got tired of constantly spamming /usage to guess how much a task would eat. So I built a guard. You pick a line, like 85% of the week, and when Claude Code or Codex crosses it, the next tool call is refused with a plain reason. You can resume whenever you want, for an hour or until the reset. It started as a SwiftBar menu. Later I rewrote the menu in native because it gave me more room to customise it. The CLI and hooks are free and MIT. The Mac app is €4.99 once, which is basically paying me to sign and ship it.You can also build it yourself from the repo. The catches: it's macOS only (Linux might work but isn't tested), it's for subscriptions, Codex hooks fail open if the hook itself breaks, and `claude -p` can't be stopped. Curious what % you'd set your line at.

Comment highlights

Congrats on Peras, Kristiyan. A spend line that stops the run itself, instead of reporting it after, is the part that stayed with me.

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.

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???

About Peras on Product Hunt

“Pause Claude Code and Codex before they burn your week”

Peras launched on Product Hunt on October 23rd, 2026 and earned 82 upvotes and 10 comments, placing #18 on the daily leaderboard. 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.

Peras was featured in Developer Tools (521.8k followers), Artificial Intelligence (481.9k followers), GitHub (41.4k followers) and Menu Bar Apps (12.3k followers) on Product Hunt. Together, these topics include over 257.4k products, making this a competitive space to launch in.

Who hunted Peras?

Peras was hunted by Kristiyan Ivanov. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how Peras stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.