watch-pr

watch-pr is a skill for Claude Code from 0xmariowu/builders-dont-cry. It costs 82 tokens per session (1,583 once invoked), scanned A, original, MIT.

A command guide for operating a service that watches GitHub pull requests and reports review or merge changes. A pull request is a proposed code change awaiting review or merging.

In plain words
What is it for?
Use `/watch-pr` to start watching a pull request, list the current watch dashboard, or resume monitoring an ignored request.
Why use it?
It keeps track of pull-request activity after code is pushed, so developers do not have to repeatedly check each request themselves.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event.

Part of the builders-dont-cry plugin — 12 skills, 10 commands, 3 agents, 5 hooks shipped together

Good fit Use /watch-pr to start watching a pull request, list the current watch dashboard, or resume monitoring an ignored request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmariowu/builders-dont-cry/watch-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xmariowu/builders-dont-cry --skill watch-pr
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/builders-dont-cry

Made for: Claude Code.

Or install builders-dont-cry, the plugin that ships this one along with the rest of its 12 skills, 10 commands, 3 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for watch-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmariowu/builders-dont-cry/watch-pr/github.svg)](https://agentmods.dev/skills/0xmariowu/builders-dont-cry/watch-pr)
Your own site
<a href="https://agentmods.dev/skills/0xmariowu/builders-dont-cry/watch-pr"><img src="https://agentmods.dev/badge/skills/0xmariowu/builders-dont-cry/watch-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for watch-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmariowu/builders-dont-cry/watch-pr"><img src="https://agentmods.dev/badge/skills/0xmariowu/builders-dont-cry/watch-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.01583
Opus 5 $0.00041 $0.00792
Sonnet 5 $0.00016 $0.00317
Haiku 4.5 $0.00008 $0.00158

Measured 12d ago against content hash c1d8857ae56c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

watch-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core/skills/watch-pr/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/watch-pr — operate the v7 watch daemon

The v7 architecture has a single long-running pr-watch-daemon polling every active PR. The PostToolUse hook auto-registers PRs after push, so the day-to-day flow needs zero AI involvement. This skill exposes the manual control surface for cases the hook does not cover.

v7 automatic chain (you do not participate)

git push / gh pr create
       ↓
PostToolUse hook (auto-watch-on-push.sh)
  → bash pr-watch-register.sh <repo> <pr> "<trigger>"
       ↓
state-dir/active/<slug>-<pr>.meta written
ensure-daemon spawns pr-watch-daemon if not already running
       ↓
daemon polls every 30s (gh pr view + GraphQL reviewThreads)
  state change → emit baseline / state_change / merged / etc.
       → ${BDC_HOME:-$HOME/.bdc}/pr-events.jsonl
       ↓
[next user prompt, any session]
       ↓
UserPromptSubmit hook (pr-events-flush.sh)
  → renders 📊 dashboard with [action_tag] per row
  → AI sees the dashboard at the top of the next prompt

Manual operations (the skill's job)

/watch-pr <N> — start watching PR #N in the current repo

unset GITHUB_TOKEN
repo=$(gh repo view --json nameWithOwner -q .nameWithOwner)
bash ${BDC_HOME:-$HOME/.bdc}/scripts/pr-watch-register.sh "$repo" <N> "manual /watch-pr"

pr-watch-register.sh writes the meta file and ensures the daemon is running. The daemon will pick the PR up on its next tick (≤ 30s). Idempotent — safe to call when the PR is already being watched.

/watch-pr <repo> <N> — start watching a PR in any repo

bash ${BDC_HOME:-$HOME/.bdc}/scripts/pr-watch-register.sh example/repo 187 "manual /watch-pr"

/watch-pr stop <N> (or <repo> <N>) — permanently stop watching this PR

unset GITHUB_TOKEN
repo=$(gh repo view --json nameWithOwner -q .nameWithOwner)
bash ${BDC_HOME:-$HOME/.bdc}/scripts/pr-watch-stop.sh "$repo" <N> "<reason>"

Writes state-dir/ignored/<slug>-<pr>.json, cleans every stale state file (active meta / fingerprint / post-merge / cooldown / last_change / per-PR lock), emits a watch_ignored event. The daemon will not re-discover this PR until you run unignore. Use this when the user says "别盯了 / 停掉 / 转人工 / 这个 PR 我自己来".

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 136 lines · 82 tokens per session scan A c1d8857ae56c

Subscribe to this mod's changes

watch-pr is a skill published in the GitHub repository 0xmariowu/builders-dont-cry (4 stars, last pushed 4mo ago), licensed MIT. It adds 82 tokens to every session and 1,583 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens