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.
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAMEWrote 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/commands/catwillgh/mainframe/mainframe-review-branch)<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.
<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>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.00000 | $0.01595 |
| Opus 5.5 | $0.00000 | $0.00638 |
| Sonnet 5.5 | $0.00000 | $0.00319 |
| Haiku 4.5 | $0.00000 | $0.00160 |
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.
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.
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.
- 13d ago First seen · 135 lines · 0 tokens per session scan A 17a1aa2fb70e
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.
mainframe-review-branch compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mainframe-review-branchCATWILLgh/MAINFRAME | Command | 2 | 13d ago | MIT | A | 0 | Claude Code |
| remove-deadcodecode-yeongyu/oh-my-openagent | Command | 71k | today | none | A | 20 | OpenCode |
| elegant-code-reviewathola/claude-night-market | Command | 358 | yesterday | MIT | A | 27 | Claude Code |
| prp-commitFmarzochi/EGC | Command | 70 | yesterday | Apache-2.0 | A | 15 | Claude Code |
| validate-pr-descriptionrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 22 | Claude Code |
| pr-riskkumaran-is/claude-code-onboarding | Command | 37 | today | MIT | A | 0 | Claude Code |
| gitazrtydxb/procoder | Command | 212 | 21d ago | Apache-2.0 | A | 20 | Claude Code |