pr-autopilot
by joeldg · ★ 1 · updated yesterday
Watches your open pull requests: CI pass/fail toasts, failing-check logs attached when you mention them, a prs_status tool so Claude reads them without gh, and the post-merge ritual (fetch --prune, switch, ff-only pull, delete the branch) done for you with no model calls. Tells you once when gh's token cannot read checks.
Install
git clone https://github.com/joeldg/claude-modsclaude --plugin-dir ./claude-mods/pr-autopilotThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startturn.startturn.completetool.callprompt.submitcommand.run- API calls
$.clock.every$.clock.now$.command.register$.process.run$.prompt.suggest$.session.cwd$.state.get$.state.set$.tool.register$.ui.log$.ui.status$.ui.toast- Can see
Bash callsmcp__pr-autopilot__prs_status callsevery prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudewrites the prompt boxdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/joeldg/claude-mods
- Path in repo
pr-autopilot- Source commit
9aabc3fthe exact code the scan read- Author
- @joeldg
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from joeldg/claude-mods
dev-servers
joeldg/claude-mods
A Servers pane for this project's dev servers: what is listening, on which port, since when, with Start, Stop, Restart and Log buttons; names the process holding a port when a command fails with EADDRINUSE; a read-only dev_servers tool for Claude. Scans with netstat (never lsof), one session for all; no model calls.
downloads-drop
joeldg/claude-mods
Notices files that land in Downloads while you work (PDFs, 3MF models, images, notes) and offers them in a band above the prompt: Attach puts @"path" mentions in the prompt box, Dismiss clears them. /downloads lists the newest files and attaches any by number. No model calls.
effort-router
joeldg/claude-mods
Routes each turn's effort from your prompt: git housekeeping replies ("merged", "commit and push", "push it") run at low effort, deep asks (review, audit, plan, why does...) at max, everything else (approvals like "yes" or "continue" included) at the session's own. Switches only when the prompt cache makes it worth it, never mid-turn; optional model guard; /route shows and steers it. No model...
job-watch
joeldg/claude-mods
Live pane of long-running jobs (training, downloads, extractions): progress, ETA, stalls and finishes, read from their logs with no model calls; jobs_list / jobs_watch / jobs_unwatch tools so Claude follows jobs instead of polling them.
machine-guard
joeldg/claude-mods
Memory, swap, GPU and the CPU cores macOS is using on the status line, and a machine_status tool for Claude; refuses heavy local jobs (training, inference, rendering, Docker) while memory is critical or the Mac is reserved with /busy.
mod-monitor
joeldg/claude-mods
Watches how your other mods really behave: hook failures and slow hooks (read off the chain's own trace), what each one did (toasts, status lines, commands, processes, model calls, writes), with /mods for a live pane and /mods report for the last day, week or month. Changes nothing they do; no model calls.
modal-meter
joeldg/claude-mods
Watches your Modal apps from the CLI, in projects that use Modal: running apps and containers on the status line, a toast when one has been up too long, today's spend where the CLI reports it, and a pane to stop an app (after you confirm). One session polls for all the open ones. No model calls.
recall
joeldg/claude-mods
Makes past sessions recallable: indexes Claude Code and Codex transcripts, subagent runs, memory files, standing orders and second-opinion reviews into a local SQLite index (kept after Claude Code deletes old transcripts), gives Claude search, expand, recap and list tools, and adds /recall (search, last session, timeline, decisions, commands, files, PRs, ask), /remember, a...
repo-brief
joeldg/claude-mods
Gathers the repo's state at session start (branch, ahead/behind, uncommitted work, recent commits, open PRs with CI, focus-label issues, stale branches) with no model calls, shows it in a band above the prompt and hands Claude the same summary in its first message.
routine-watch
joeldg/claude-mods
Tells you when a scheduled routine (a scheduled-task run) stops to wait on you: a Mac notification, an optional phone push and a status line once a permission ask has stood 20 s (configurable; auto mode decides most asks by itself sooner) or when it asks you a question, plus a note when it finishes. Optionally lets routines read the web without asking. No model calls.
second-opinion
joeldg/claude-mods
/second-opinion asks Fable (or the model you set) for a candid senior review of your recent commits, branch, uncommitted diff or a plan file, in the background without switching the session's model. Each run is one paid model call against your usage; the review opens in a pane, is saved under ~/.claude/second-opinions/, and can be handed to Claude with your next prompt.
secret-guard
joeldg/claude-mods
Holds back a prompt that looks like it carries a secret (API keys, tokens, access-key pairs, private keys, passwords) before it reaches the transcript, puts it back in the box, and offers to save the secret as an env var in ~/.zshrc and send $NAME instead. No model calls.