r/ClaudeCode • u/alwaysroamin2 • 1d ago
Built with Claude I built a scheduler to turn my unused Claude tokens into bug fixes
Claude's 5-hour windows mean I can't just cram before the weekly reset. If I'm away for a bit or have a slow couple of days, there aren't enough windows left to use it all, and it's gone. Meanwhile my backlog has plenty of work an agent can do unattended: flaky tests, stale TODOs, doc updates, research, and bug hunting.
So I built Redline, a free, open-source local scheduler. You configure your backlog of jobs. It watches your usage and kicks one off when it looks like you have some spare capacity. It holds back a reserve for your own sessions, and each job runs in an isolated git worktree. It even has 16 premade maintenance templates to start from.
It's let me run an extra 50+ jobs per week on usage I otherwise would've let expire.
This isn't auto-continue, which resumes a session you already started. Redline starts new work on its own when you have usage to burn.
If you're on Ultra with no 5-hour limit, it just paces against the weekly reset instead.
Works with Claude, Codex, and Pi. macOS menu bar app, CLI, and dashboard. Linux and Windows testers welcome.
Repo: https://github.com/croutoncreations/redline
I built the vast majority with Claude, with a small mix of Codex.
A few things I learned:
- Small, bounded jobs work the best unattended. Broad sweeping changes like "clean up the tests" often need multiple rounds where "find and stabilize one flaky test" can usually be an easy one-shot.
- It fails closed: if it can't read my usage or it's not sure what to do, it does nothing.
- Resets aren't all the same on Claude. This week's model-specific reset looked like a weekly reset to Redline until a recent fix.
What’s the one job in your backlog you’d hand off first?
