teamwork:mr-state-judge

teamwork:mr-state-judge is a skill for Claude Code from fprochazka/claude-code-plugins. It costs 172 tokens per session (1,262 once invoked), scanned A, original, MIT.

A set of rules for deciding whether a merge request is ready to merge from pipeline results, commit versions, review threads, and approvals. A merge request is a proposed change waiting to be reviewed and merged into a shared codebase.

In plain words
What is it for?
Use it to judge whether the latest pipeline is truly green, whether AI review results apply to the current code, and whether human review or approvals are still required.
Why use it?
Status pages often show results from an old commit or treat unfinished jobs as successful. These rules distinguish current, completed checks from stale or incomplete evidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the teamwork plugin — 3 skills shipped together

Good fit Use it to judge whether the latest pipeline is truly green, whether AI review results apply to the current code, and whether human review or approvals are still required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fprochazka/claude-code-plugins/mr-state-judge
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 fprochazka/claude-code-plugins --skill mr-state-judge
Clone the repo
git clone --depth 1 https://github.com/fprochazka/claude-code-plugins

Made for: Claude Code.

Or install teamwork, the plugin that ships this one along with the rest of its 3 skills.

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 teamwork:mr-state-judge

README.md
[![agentmods](https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/mr-state-judge/github.svg)](https://agentmods.dev/skills/fprochazka/claude-code-plugins/mr-state-judge)
Your own site
<a href="https://agentmods.dev/skills/fprochazka/claude-code-plugins/mr-state-judge"><img src="https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/mr-state-judge/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 teamwork:mr-state-judge

Your own site · 80×15
<a href="https://agentmods.dev/skills/fprochazka/claude-code-plugins/mr-state-judge"><img src="https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/mr-state-judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,262 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.00172 $0.01262
Opus 5.5 $0.00069 $0.00505
Sonnet 5.5 $0.00034 $0.00252
Haiku 4.5 $0.00017 $0.00126

Measured 16d ago against content hash 59b59f93a170, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

teamwork:mr-state-judge 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 16d 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.

plugins/teamwork/skills/mr-state-judge/SKILL.md · 63 lines

How it starts

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

mr-state-judge

A status read or a watcher event reports facts: a pipeline status, a head SHA, thread files, approvals. It cannot tell you what they mean for the merge. These rules do. The handover itself, whose court the ball is in by the ticket and the draft flag, is teamwork:review-handshake.

The pipeline

Green is success and nothing else. The status names below are GitLab's; read another host's statuses the same way.

  • canceled is not green. Nothing ran to completion and the job list shows no red, which is why it gets misread.
  • manual is an unfinished blocking gate.
  • skipped means no pipeline ran for this head.
  • running and pending are not evidence yet.

A pipeline counts only when its SHA equals the MR head. A red pipeline on a branch that is behind its target ran on a superseded base, so judge it again after the rebase.

AI reviewers

Profile every AI reviewer on the MR at hand, and assume nothing. Reviewers do not behave alike, and the words one uses mean nothing to another. Before you read any verdict, answer these questions per reviewer from its own threads:

  1. What does it post: inline findings, one summary, or both?
  2. Does it edit its summary in place or post a new one per pass? That decides where the latest verdict lives.
  3. Does it post notes that are not verdicts, such as an acknowledgement or "review skipped, head unchanged" after a rebase? Walk past those.
  4. Does it read replies? If yes, an unresolved thread with a substantive reply is an active dialogue. If no, a finding clears only through a code change plus a manual resolve.
  5. What is its exact author string on this MR? A service account can be an opaque hash, and a bot marker is not reliably set.
  6. Does its verdict name the commit it reviewed? Then you can date the verdict against the head.

Read its vocabulary the same way. The words a reviewer uses for "mergeable", "nothing actionable, but a human must still review" and "actionable findings open" are its own. The middle one is the one everyone misreads.

Read the full file on GitHub · 63 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. 16d ago Changed · +3 tokens per session 59b59f93a170
  2. 20d ago First seen · 63 lines · 169 tokens per session scan A 017354dfdcea

Subscribe to this mod's changes

teamwork:mr-state-judge is a skill published in the GitHub repository fprochazka/claude-code-plugins (15 stars, last pushed 9d ago), licensed MIT. It adds 172 tokens to every session and 1,262 once invoked, about $0.0007 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-11-11.

Related

teamwork:mr-state-judge compared with skills from other repositories

teamwork:mr-state-judge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teamwork:mr-state-judgefprochazka/claude-code-pluginsSkill159d agoMITA172Claude Code
prYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k2d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill8.4k7d agoMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.6kyesterdayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill9742d agoMITA254Claude Code