mainframe-review-branch

mainframe-review-branch is a command for Claude Code from CATWILLgh/MAINFRAME. It costs 0 tokens per session (1,595 once invoked), scanned A, original, MIT.

A command for reviewing the current Git branch and its uncommitted work before integration or release. Git is the version-control system that records code changes and branches.

In plain words
What is it for?
Use it when explicitly asked to inspect and repair a branch, review pending changes, verify fixes, or prepare work for integration or release.
Why use it?
It helps find evidenced regressions and engineering defects while preserving unrelated work, partial staging, and the current branch. It can also make local checkpoints after verified repairs, without granting permission to push or release.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it when explicitly asked to inspect and repair a branch, review pending changes, verify fixes, or prepare work for integration or release.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/catwillgh/mainframe/mainframe-review-branch
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.

Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code.

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 mainframe-review-branch

README.md
[![agentmods](https://agentmods.dev/badge/commands/catwillgh/mainframe/mainframe-review-branch/github.svg)](https://agentmods.dev/commands/catwillgh/mainframe/mainframe-review-branch)
Your own site
<a href="https://agentmods.dev/commands/catwillgh/mainframe/mainframe-review-branch"><img src="https://agentmods.dev/badge/commands/catwillgh/mainframe/mainframe-review-branch/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 mainframe-review-branch

Your own site · 80×15
<a href="https://agentmods.dev/commands/catwillgh/mainframe/mainframe-review-branch"><img src="https://agentmods.dev/badge/commands/catwillgh/mainframe/mainframe-review-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,595 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.00000 $0.01595
Opus 5.5 $0.00000 $0.00638
Sonnet 5.5 $0.00000 $0.00319
Haiku 4.5 $0.00000 $0.00160

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

Security

Grade A, and why

mainframe-review-branch 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 13d 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.

commands/mainframe-review-branch.md · 135 lines

How it starts

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

Review and repair the current branch before release

Run only on explicit invocation. It takes no arguments. Review the current branch and relevant uncommitted work before integration or release. Correct evidenced regressions and engineering defects in scope, verify them, and make local checkpoints. Follow any narrower assignment, including read-only review. This command supplies local repair and commit authority. A push, merge, release, or live provider action needs its own authority. Preserve the current branch, checkout, unrelated work, and partial staging.

If the user already started a goal for this work, carry it through completion. Resume from the actual branch, verified batches, and outstanding decisions.

Establish what is pending

  • Inspect the active worktree, branch, HEAD, staged and unstaged changes, and relevant untracked source files. Identify which existing changes belong to the assigned result before adopting them. Exclude secrets, scratch files, generated residue, and work whose ownership is unclear from commits.
  • Determine the intended integration target from the assigned scope, project workflow, or current merge request. Use ancestry to find the branch delta. On a release or integration branch, use the verified deployed or last accepted revision when that defines the pending work. Use a user-supplied stage or other comparison only for the stated scope. If a comparison is missing, review what can be bounded and report the exact gap.
  • Check publication against the intended remote ref and delivery against the actual target environment. Use production as the default delivery target when the project has one. Keep test and stage evidence tied to those environments. Use current authorized read-only evidence and distinguish it from cached refs. Map the deployed artifact to its source revision for each affected deployable unit. A green pipeline or branch name alone cannot establish deployment. Report unknowns explicitly.
  • Include unpublished local commits and relevant dirty work, and include published branch changes still pending release. Check for equivalent changes delivered under another commit before repeating them. If history diverged, inspect the graph and the actual behavior without changing history.

Read the full file on GitHub · 135 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. 13d ago First seen · 135 lines · 0 tokens per session scan A 17a1aa2fb70e

Subscribe to this mod's changes

mainframe-review-branch is a command published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,595 tokens. 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-17.

Related

mainframe-review-branch compared with commands from other repositories

mainframe-review-branch next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mainframe-review-branchCATWILLgh/MAINFRAMECommand213d agoMITA0Claude Code
remove-deadcodecode-yeongyu/oh-my-openagentCommand71ktodaynoneA20OpenCode
elegant-code-reviewathola/claude-night-marketCommand358yesterdayMITA27Claude Code
prp-commitFmarzochi/EGCCommand70yesterdayApache-2.0A15Claude Code
validate-pr-descriptionrjmurillo/ai-agentsCommand50todayApache-2.0A22Claude Code
pr-riskkumaran-is/claude-code-onboardingCommand37todayMITA0Claude Code
gitazrtydxb/procoderCommand21221d agoApache-2.0A20Claude Code