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 MadAppGang/magus/plugin install devWrote 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/skills/madappgang/magus/team-gate)<a href="https://agentmods.dev/skills/madappgang/magus/team-gate"><img src="https://agentmods.dev/badge/skills/madappgang/magus/team-gate/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/skills/madappgang/magus/team-gate"><img src="https://agentmods.dev/badge/skills/madappgang/magus/team-gate.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.00058 | $0.02523 |
| Opus 5.5 | $0.00023 | $0.01009 |
| Sonnet 5.5 | $0.00012 | $0.00505 |
| Haiku 4.5 | $0.00006 | $0.00252 |
Grade A, and why
team-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 9d 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Team gate: a gate is passed when its ballots have been read
The 2026-09-12 transcript audit (ai-docs/dev-workflow-gate-audit-2026-09-12.md) found
that a team run returning {"started": true} was being treated as the gate
passing, that panels which came back partial (1/4, 2/5 succeeded) were treated as
complete, and that gates were skipped without a word. This procedure closes all three.
Every gate site in /dev:dev, /dev:fix and /dev:audit follows it; none restates it.
The minimum ballot table
N is the number of external slots the gate launched. A ballot is an external slot
whose status state is COMPLETED and whose response-<slot>.md matched
require_pattern. FAILED, EMPTY, SHAPE_MISMATCH, still-RUNNING at the poll ceiling, and never-started
slots are not ballots. Count both by slot identity: walk the slots map, leave out the id
slots.internal, and count the rest — never derive either from the summary's succeeded,
which includes the internal slot when it completed and omits it when it failed.
| Gate | Where | MIN_BALLOTS |
|---|---|---|
| plan-review | /dev:dev Phase 3 Step 3.10 |
2 when N ≥ 3, otherwise N |
| code-review | /dev:dev Phase 5 Step 5.5, /dev:audit reviewer rows |
2 when N ≥ 3, otherwise N |
| verify | any verification panel (verify* session dirs) |
1 |
| fix-gate | /dev:fix Phase A and Phase B |
N (every launched slot) |
The internal voters still dispatched through the Agent tool — dev:architect at Phase 3,
dev:debugger at /dev:fix Phase A — are never a ballot in this count: each is always
required, is not covered by require_pattern, and the phase's own rule says what a
missing internal report means.
The internal slot
The internal code reviewer runs in a session of its own — the internal slot of the
gate's team() call, a CLI session, or, in a nested claudish child only, a foreground
subagent. Which one is decided once per phase by
${CLAUDE_PLUGIN_ROOT}/skills/core/team-gate/cli-sessions.md, "the review-session routes";
read it before the first gate of a phase.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago Changed 3836e68bd103
- 11d ago Changed · +10 lines 979bff10c324
- 19d ago Changed · +4 lines a32d6957c31e
- 1mo ago Changed · +5 lines 007defe2d2b8
- 1mo ago Changed · +33 lines a94d90a4d92c
- 2mo ago First seen · 119 lines · 58 tokens per session scan A fd6eab5efcfd
team-gate is a skill published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 2,523 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-15.
team-gate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| team-gateMadAppGang/magus | Skill | 16 | today | MIT | A | 58 | Claude Code |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 9d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 2d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 974 | 2d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |