team-gate

team-gate is a skill for Claude Code from MadAppGang/magus. It costs 58 tokens per session (2,523 once invoked), scanned A, original, MIT.

A review-gate procedure that collects ballots from several AI reviewers, waits for the panel to settle, and decides whether enough valid reviews were received.

In plain words
What is it for?
Use it at plan, code, verification, and fix checkpoints when multiple reviewers must meet a minimum vote threshold.
Why use it?
It prevents a review from being marked complete just because a panel started or returned only some results. It also records skipped or failed reviewers instead of hiding them.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev plugin — 19 skills, 15 commands, 12 agents shipped together

Good fit Use it at plan, code, verification, and fix checkpoints when multiple reviewers must meet a minimum vote threshold.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add MadAppGang/magus
Claude Code
/plugin install dev

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 19 skills, 15 commands, 12 agents.

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 team-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/magus/team-gate/github.svg)](https://agentmods.dev/skills/madappgang/magus/team-gate)
Your own site
<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.

agentmods 80×15 button for team-gate

Your own site · 80×15
<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>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,523 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.00058 $0.02523
Opus 5.5 $0.00023 $0.01009
Sonnet 5.5 $0.00012 $0.00505
Haiku 4.5 $0.00006 $0.00252

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

Security

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.

plugins/dev/skills/core/team-gate/SKILL.md · 171 lines

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.

Read the full file on GitHub · 171 lines

Files

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.

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. 9d ago Changed 3836e68bd103
  2. 11d ago Changed · +10 lines 979bff10c324
  3. 19d ago Changed · +4 lines a32d6957c31e
  4. 1mo ago Changed · +5 lines 007defe2d2b8
  5. 1mo ago Changed · +33 lines a94d90a4d92c
  6. 2mo ago First seen · 119 lines · 58 tokens per session scan A fd6eab5efcfd

Subscribe to this mod's changes

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.

Related

team-gate compared with skills from other repositories

team-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
team-gateMadAppGang/magusSkill16todayMITA58Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k2d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill9742d agoMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex