Show HN: Baton – A daemon that sends Claude to fix your GitHub issues

I got tired of the context-switching loop: pick an issue, read the context, write the code, open a PR, pick the next one. So I built Baton — a Python daemon that polls your GitHub issue tracker and dispatches Claude Code agents to work on them autonomously.

How it works:

- Polls `gh issue list` every 30 seconds for new issues - Claims an issue, spins up a git worktree (instant, shares the object database — no full clones) - Launches a Claude Code agent into that isolated workspace - When the agent opens a PR, Baton releases the slot and picks up the next issue - If one agent trashes its branch, the others don't care

Everything is configured in a single WORKFLOW.md file — YAML config + Jinja2 prompt template. It reloads on each poll cycle so you can tune it without restarting.

3 points mr_o47 7 months ago 0 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton