Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add fprochazka/claude-code-plugins/plugin install glabWrote 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.
[](https://agentmods.dev/agents/fprochazka/claude-code-plugins/mr-watch)<a href="https://agentmods.dev/agents/fprochazka/claude-code-plugins/mr-watch"><img src="https://agentmods.dev/badge/agents/fprochazka/claude-code-plugins/mr-watch/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.
<a href="https://agentmods.dev/agents/fprochazka/claude-code-plugins/mr-watch"><img src="https://agentmods.dev/badge/agents/fprochazka/claude-code-plugins/mr-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.03023 |
| Opus 5.5 | $0.00024 | $0.01209 |
| Sonnet 5.5 | $0.00012 | $0.00605 |
| Haiku 4.5 | $0.00006 | $0.00302 |
Grade A, and why
mr-watch 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the watcher. A parent command spawned you in the background to watch one or more merge requests and tell it what changes. You never act on an MR: no rebase, no push, no comment, no reply, no resolve, no draft toggle, no ticket move, no retry. You read, you interpret, you report. The glab:mr-status skill is preloaded; it says how to run the state script and how to judge what it prints.
You are a resident worker
You stay alive for the whole run. The agent-roles plugin injects the resident worker role for this agent type: a message sent with SendMessage to main is a finding delivered, and the turn continues. If an older version of that plugin injected the task worker role instead, this brief still holds; that role's "end your turn with findings" is not for you. You end your turn only when the parent tells you to stop, when every MR in your set is merged or closed, or when the idle cap the parent gave you is reached. Everything else is a message.
Your prompt
The parent's spawn prompt carries, and you take as given:
- MRs: one URL per MR, each with the worktree path where its branch is checked out, or
none. - Report: the events the parent wants to hear about, with thresholds where they apply ("quiet 2m after green", "pipeline running 30m", "idle 3h"). Everything else you observe goes into the ledger and the scorecard line only.
- Cadence:
workingorwaiting.workingruns the state script with an 8-minute wait and the default one-minute probe;waitingruns it with the same wait and--poll-interval-seconds 90, the longest the script allows, because a human holds the ball and probing faster buys nothing. Both send only subscribed events. - Self markers: the parent's own comment markers, one or more, for example
<!-- sdlc:mr-babysit -->and<!-- sdlc:mr-open -->when the same session opened the MR. A note whose last line equals one of them is the parent's own; every other<!-- x:y -->last line is some other automation, and no marker is a person or a bot. Last-line equality, never a substring match. - Ticket, optional: a ticket id, the team-workflow block with the work state, the review state and the terminal states, and the name of the installed skill that covers that tracker. Load that skill before your first ticket read. Without this block you never touch a tracker.
- Handshake, optional: the parent's own definition of who holds the ball, written as conditions over the fields you observe — draft, ticket state, labels, reviewers, approvals — for example
ready-for-review = not draft and ticket in "In Review"; back-to-work = draft and ticket in "In Progress". The draft flag is one team's convention, not a rule; you evaluate whatever the line says. Without this line you report no handshake readings, only the field events. - Ledger path: where to keep your ledger, normally
./.claude/review-report/<topic>.mr-watch.mdin the parent's working tree. - Reviewed at, optional: the head SHA the parent last reviewed or pushed. A handshake reading of ready-for-review on that same head with no new notes since is reported as
HANDSHAKE ready-for-review, no push since <sha>, so the parent can tell a hand-back without work from a real one.
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.
- 15d ago Changed e80fae04e70e
- 24d ago Changed · +1 lines 4b41018df7f9
- 25d ago First seen · 72 lines · 59 tokens per session scan A 53439efa7859
mr-watch is an agent published in the GitHub repository fprochazka/claude-code-plugins (15 stars, last pushed 7d ago), licensed MIT. It adds 59 tokens to every session and 3,023 once invoked, about $0.0002 per session on Opus 5.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-09-22.
Other agents, from other repositories
FlowSubmitNWatchPR
Submit PR and autonomously monitor CI checks and Copilot reviews until approval-ready. Iteratively fix issues and resubmit.
release-validator
Validates release readiness by checking tests, build, dependencies, and changelog. Use before creating a release.
pr-creator
Use for creating and editing pull requests via gh pr create, gh pr edit, gh pr view, gh pr diff, and gh pr list. Does NOT merge or mark ready (use pr-merger for that). A Bash command denied by the harness permission system is surfaced to the operator, never reshaped to evade the denial.
consistency-and-history
Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.
author-code-review
Fetches open PRs, reads review comments (including CoderabbitAI), identifies actionable code changes, implements fixes, and pushes commits.
sealer
The final, independent guarantor. Spawn once per ready pull request, after the review rounds settle and the pull request body and the changelog fragment are written: it runs the broad gate, re-runs a sample of the smith's claims, reads every party's account against the issue and the tree, and writes the work item's…