teambuilder-review-gate

teambuilder-review-gate is a skill for Claude Code, Codex from daemonicai/teambuilder. It costs 59 tokens per session (1,099 once invoked), scanned A, original, MIT.

A review step for completed OpenSpec changes, where OpenSpec is a way to describe and manage software changes before they are archived.

In plain words
What is it for?
Use it after completing an OpenSpec change to check the code diff with a Reviewer persona before archiving it.
Why use it?
It can surface review findings before archival, while leaving the decision to fix them or continue with the user.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Good fit Use it after completing an OpenSpec change to check the code diff with a Reviewer persona before archiving it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daemonicai/teambuilder/teambuilder-review-gate
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.

Any agent
npx skills add daemonicai/teambuilder --skill teambuilder-review-gate
Clone the repo
git clone --depth 1 https://github.com/daemonicai/teambuilder

Made for: Claude Code, Codex.

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 teambuilder-review-gate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/daemonicai/teambuilder/teambuilder-review-gate"><img src="https://agentmods.dev/badge/skills/daemonicai/teambuilder/teambuilder-review-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,099 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.00059 $0.01099
Opus 5 $0.00030 $0.00549
Sonnet 5 $0.00012 $0.00220
Haiku 4.5 $0.00006 $0.00110

Measured 9d ago against content hash 14bd66b7333a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

teambuilder-review-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.

skills/teambuilder-review-gate/SKILL.md · 80 lines

How it starts

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

Run the Teambuilder Reviewer persona over a completed OpenSpec change and surface findings to the user before archival proceeds. Findings are non-blocking — the user decides whether to pause and address them.

Input: The active change name. The caller (typically /opsx:archive) invokes this skill before any archival steps run.

Steps

  1. Check the Reviewer persona exists

    Check whether .claude/agents/reviewer.md exists.

    If it does not exist:

    • Stop immediately. Do not proceed with archival.
    • Tell the user: "A Reviewer persona is required before archiving. Run /teambuild:reviewer to create one, then re-run /opsx:archive."
    • Return control to the caller with a halt signal.
  2. Collect the code diff

    Goal: produce the diff of code changes made while working on this change.

    a. Detect the base ref. Try these in order, and stop at the first that resolves:

    1. git symbolic-ref --short refs/remotes/origin/HEAD (returns e.g. origin/main)
    2. origin/main, then origin/master (verify with git rev-parse --verify <ref>)
    3. main, then master (verify with git rev-parse --verify <ref>)

    If none resolve, stop and ask the user: "I couldn't detect a base branch automatically. What should I diff against? (e.g., origin/develop)"

    b. Compute the merge base: git merge-base HEAD <base-ref>.

    c. Produce the diff: git diff <merge-base>..HEAD.

    Also run git diff HEAD and git diff --cached to capture any uncommitted or staged changes; append them (labelled) if non-empty.

    d. Handle the "on the base branch" case. If <merge-base> equals HEAD (the user is working directly on the base branch), the committed diff is empty. Surface this to the user: "This change appears to be committed directly on the base branch — there is no feature-branch diff. Do you want me to diff the last N commits instead, or abort the review?" Wait for guidance before invoking the Reviewer.

  3. Invoke the Reviewer via the Agent tool

    Use subagent_type: "reviewer" (the persona file at .claude/agents/reviewer.md is registered as a subagent by its name: frontmatter — Claude Code loads it as the system prompt automatically, no need to tell the subagent to read it). If the Agent tool rejects "reviewer" as an unknown subagent type in this environment, fall back to subagent_type: "general-purpose" and prepend "Read and adopt the persona defined in .claude/agents/reviewer.md before starting." to the prompt.

    Prompt:

    You are performing a per-change review at archive time for the change: <change-name>
    
    Read these change artifacts:
    - Proposal: <absolute path to openspec/changes/<name>/proposal.md>
    - Design: <absolute path to openspec/changes/<name>/design.md>
    - Specs: <absolute path to openspec/changes/<name>/specs/>
    - Tasks: <absolute path to openspec/changes/<name>/tasks.md>
    
    Code diff:
    <include the full git diff output here>
    
    Return your findings in two buckets: **Blocking** and **Warning**, using the review standards from your persona file. If you have no findings, return exactly: "No findings."
    

    Wait for the Reviewer subagent to return.

  4. Handle the Reviewer's response

    If the Reviewer returns "No findings.":

    • Show "Reviewer: No findings." to the user.
    • Return control to the caller to continue archival automatically.

    If the Reviewer returns findings:

    • Display all findings to the user clearly.
    • Use the AskUserQuestion tool to ask: "Would you like to proceed with archiving, or pause to address these findings first?" with options: Proceed with archiving, Pause — I'll address findings first.
    • If the user chooses Pause: stop here. Tell the user to re-run /opsx:archive after addressing findings. Return a halt signal to the caller.
    • If the user chooses Proceed: return control to the caller to continue archival.

Guardrails

  • Findings are non-blocking by design — the user, not the Reviewer, decides whether to address them before archiving.
  • Halt archival if .claude/agents/reviewer.md is missing; do not fall back to a generic review.
  • Do not embed Reviewer findings into the archive itself — they are surfaced to the user at review time only.

Read the full file on GitHub · 80 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. 9d ago First seen · 80 lines · 59 tokens per session scan A 14bd66b7333a

Subscribe to this mod's changes

teambuilder-review-gate is a skill published in the GitHub repository daemonicai/teambuilder (11 stars, last pushed 4mo ago), licensed MIT. It adds 59 tokens to every session and 1,099 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

migration-review

Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence.

rohitg00/ai-engineering-from-scratch · 35 tokens

learn-from-sage

Detection-gap (miss) analysis for Code Review Sage. Learn from shipped fixes, acted-on human comments, and design outcomes to close reviewer blind spots. Inline during review stages a candidate; a human triggers a one-shot AI consolidation into the live ruleset.

kirodotdev/KiroCrew · 56 tokens

github-review-pr

Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…

feiskyer/claude-code-settings · 90 tokens

lean-review

CocoLean diff-scoped over-engineering audit — scans uncommitted git diff and applies five classification tags (delete/stdlib/native/yagni/shrink) to identify unnecessary surface area before commit.

Snowflake-Labs/cocoplus · 44 tokens

review-export

Export CocoReview reports as markdown, html, or pdf-ready status artifacts. Usage: $review export markdown|html|pdf [report-path].

Snowflake-Labs/cocoplus · 32 tokens

no-mistakes

Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI. Use when the user asks to run no-mistakes, ship safely, validate before pushing, or gate a change before it reaches upstream.

stevesolun/ctx · 67 tokens