cc-pr-tracker

Reviewed at commit 47cf9a2

Watched pull requests as lines above the prompt, with merge state, review and required checks, and a toast when one changes.

Made by
Seza Akgün
What we checked

Watches GitHub pull requests you paste, or that Claude mentions or opens, and shows merge state, review and checks above the prompt, with a toast, sound and a note to Claude when something changes. It polls through your own gh login, plays a macOS sound, and keeps the watch list with the session or project.

Review details

Static review of the source at the pinned commit; not run. Whole plugin reviewed again (new version of a reviewed mod; the diff was too large for a delta review). plugin.json, hooks.json, register.tsx and steps.ts (pure logic, no I/O) were read in full; types/index.d.ts is declarations. Tests, scripts/ and biome config in the clone are not loaded and were not read. Hooks: session.start, config.set, config.describe, prompt.submit (finds PR URLs; a prompt that is only URLs is dropped and toggles watching), command.run (/prs, /pr-clear), session.end, session.attach/detach, tool.call (its own pr_status tool; Bash result for gh pr create to find the new PR URL), turn.complete (finds PR URLs in Claude's answer), ui.render. Programs: gh (api graphql or REST read calls on the watched PR only, 30 s timeout, every 30 to 3600 s, default 60), afplay for a macOS system sound, open or xdg-open when you press open, and cmux's CLI when run inside cmux. Reads env CMUX_BUNDLED_CLI_PATH and CMUX_SURFACE_ID. Stores the watch list via $.state and $.store (per session or project); old session keys are pruned. When Tell Claude is on (default) it appends a user-role note with changed check names and log links via $.session.append, marked as an automated notice with names quoted and capped; check names come from the PR, so a PR workflow author could put text in front of Claude, which is mitigated by quoting but not eliminated. Control characters in GitHub text are stripped. No other network access, no eval.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of cc-pr-tracker

Watch GitHub PRs from a Claude Code session: merge state, review and required checks above the prompt, with alerts when they change

Made this mod? Add a badge to your README

modsforClaude badge for cc-pr-tracker

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/cc-pr-tracker.svg)](https://modsforclaude.com/mods/cc-pr-tracker/)

← All mods