joeblew999

Claude Bot — Git skill for Claude Code

Git community

Single Go binary that watches GitHub repos for todo-labeled issues, runs Claude Code on them, and creates PRs.

How to install Claude Bot

This entry records only its repository, not the path inside it, so there is no exact command to give. Open joeblew999/claude-bot and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Bot does

Single Go binary that watches GitHub repos for todo-labeled issues, runs Claude Code on them, and creates PRs. No cloud, no bot accounts, no API keys.

Alternatives in Git

  • Codebase To Course — by Zara Zhang - A Claude Code skill that turns any codebase into a beautiful, interactive single-page HTML cou 2.1k ★
  • Peqy — Review peqy bot comments on a PR and assess their validity against the codebase 390 ★
  • Merge Accounts — Merge normalized CSV files from multiple accounts into a single transactions file 90 ★

README

claude-bot

Single Go binary that watches GitHub repos for `todo`-labeled issues, runs Claude Code, and creates PRs.

**[Releases](https://github.com/joeblew999/claude-bot/releases/tag/latest)** | **[Discussions](https://github.com/joeblew999/claude-bot/discussions)**

Install

Download the latest binary for your platform:

# macOS (Apple Silicon)
curl -fSL https://github.com/joeblew999/claude-bot/releases/download/latest/claude-bot-darwin-arm64 -o claude-bot
chmod +x claude-bot

# Or build from source
go build -o claude-bot .

# Or self-update an existing binary
./claude-bot --update

Quick Start

CB_REPOS="owner/repo" ./claude-bot

Or use the Taskfile:

task start    # build + run (idempotent)
task stop     # stop (idempotent)
task test     # unit tests
task release  # cross-compile + publish GitHub release
task update   # self-update from latest release
task clean    # remove worktrees + logs

How It Works

  1. Polls repos for issues labeled todo
  2. Picks up issue, labels it in-progress
  3. Clones repo, creates worktree on a new branch
  4. Runs Claude Code with the issue as the prompt
  5. Commits changes, pushes, creates PR
  6. Comments PR link on issue, labels done
  7. On failure: comments error, resets to todo, retries up to max

Everything is idempotent — safe to restart at any point.

Triage

Set `CB_TRIAGE=1` to auto-respond to new unlabeled issues with a context-aware, human-sounding reply generated by Claude at runtime.

Set `CB_TRIAGE_DISCUSSIONS=1` to also respond to new GitHub Discussions.

Self-Management

The binary manages its own lifecycle:

./claude-bot --build      # compile from source (embeds git commit)
./claude-bot --release    # cross-compile 6 targets + publish GitHub release
./claude-bot --update     # download latest release and replace self
./claude-bot --clean      # remove worktrees + logs
./claude-bot --clean-all  # full reset (worktrees, repos, logs)
./claude-bot --version