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.
npx agentmods add commands/oreo-mcflurry/claude-gate/gategit clone --depth 1 https://github.com/Oreo-Mcflurry/claude-gateWrote 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/oreo-mcflurry/claude-gate/gate)<a href="https://agentmods.dev/commands/oreo-mcflurry/claude-gate/gate"><img src="https://agentmods.dev/badge/commands/oreo-mcflurry/claude-gate/gate.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00915 |
| Opus 5 | $0.00000 | $0.00458 |
| Sonnet 5 | $0.00000 | $0.00183 |
| Haiku 4.5 | $0.00000 | $0.00092 |
Grade A, and why
gate 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 4d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Gate System controller. Execute quality gate reviews based on the user's request.
Input
The user invoked /gate $ARGUMENTS.
Parse the arguments:
- (no argument) or auto: Auto-detect the current phase and run the appropriate gate
- spec: Run Spec Gate only
- design: Run Design Gate only
- code: Run Task Gate (code review) only
- release: Run Release Gate (code review + security review)
- status: Display the status of all gates
Gate Execution Instructions
/gate or /gate auto — Auto-detect Phase
Use the gate-keeper agent to analyze the project state:
- Invoke the gate-keeper agent with the Task tool (subagent_type: "general-purpose" or the agent name if available)
- The gate-keeper will determine the current phase and recommend which gate to run
- Execute the recommended gate as described below
/gate spec — Spec Gate
- Invoke the spec-reviewer agent using the Task tool
- Prompt: "Review the current project's requirements and planning documents. Evaluate against the Spec Gate checklist. Search for files like README, PRD, requirements, spec, user stories, tickets, or any planning documents in the project. Produce a Spec Gate Review Report."
- Display the Spec Gate Review Report to the user
/gate design — Design Gate
- Invoke the design-reviewer agent using the Task tool
- Prompt: "Review the current project's architecture and design documents. Evaluate against the Design Gate checklist. Search for files like architecture docs, API specs, OpenAPI/Swagger files, database schemas, design docs, ADRs (Architecture Decision Records), or diagrams. Produce a Design Gate Review Report."
- Display the Design Gate Review Report to the user
/gate code — Task Gate
- Invoke the code-reviewer agent using the Task tool
- Prompt: "Review the current project's source code for quality issues. Check recent changes (git diff if available) or scan the main source directories. Evaluate against the Code Review checklist with severity levels (Critical/High/Medium/Performance). Produce a Code Review Report."
- Display the Code Review Report to the user
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.
- 4d ago First seen · 83 lines · 0 tokens per session scan A ad037425daed
gate is a command published in the GitHub repository Oreo-Mcflurry/claude-gate (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 915 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-08-31.
Other commands, from other repositories
tdd
Guide Test-Driven Development workflow (Red-Green-Refactor).
verify
Run comprehensive pre-PR verification (5-phase quality check).
commit-push-pr
Create git commit, push to remote, and create/merge pull request.
gha
Analyze GitHub Actions CI failures.
handoff
Generate context handoff document for session continuity.
skill-create
Create a new skill with template.