gate-spec

gate-spec is a skill for Claude Code, Codex from orin-dx/agent-plugins. It costs 39 tokens per session (477 once invoked), scanned A, original, MIT.

A review gate for a software specification: a document that states what should be built and how success will be checked. It gives a pass or fail decision before the work is planned.

In plain words
What is it for?
Use it to check whether every acceptance criterion is testable, whether required specification details are present, and whether remaining issues should block planning.
Why use it?
It prevents vague requirements, unfinished decisions, or acceptance checks that cannot be tested from moving into implementation planning.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check whether every acceptance criterion is testable, whether required specification details are present, and whether remaining issues should block planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orin-dx/agent-plugins/gate-spec
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 orin-dx/agent-plugins --skill gate-spec
Clone the repo
git clone --depth 1 https://github.com/orin-dx/agent-plugins

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/orin-dx/agent-plugins/gate-spec"><img src="https://agentmods.dev/badge/skills/orin-dx/agent-plugins/gate-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 477 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.00039 $0.00477
Opus 5.5 $0.00016 $0.00191
Sonnet 5.5 $0.00008 $0.00095
Haiku 4.5 $0.00004 $0.00048

Measured 2mo ago against content hash ec3ac25379cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gate-spec 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 2mo 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.

harnesses/codex/plugins/scribe/skills/gate-spec/SKILL.md · 41 lines

How it starts

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

State material concerns, evidence, consequence, and confidence directly. Do not soften blockers, manufacture praise, or claim certainty beyond the evidence.

Gate a specification

Outcome

Produce a verdict@3 that a spec must earn through testable criteria, explicit error behavior, bounded scope, and resolved upstream audit findings.

Workflow

  1. Validate the candidate with shared/schemas/[email protected] and inspect the actual JSON, not a summary passed through conversation.
  2. Confirm each criterion has a falsifiable observation, no unresolved TBD language, and a clear relationship to scope and non-goals.
  3. Read prior grounding, quality, and architecture audit evidence when supplied. Recheck material blockers yourself instead of trusting a label.
  4. Default to fail when evidence is insufficient. On failure, return minimal blockers that name the exact criterion or field and the corrective action.
  5. On pass, present the verdict and proposed persistence action. Only after user authorization, write the spec to docs/specs/<id>.json, set spec_file_path, and commit it as a durable handoff.

Contract

  • Input schema: shared/schemas/[email protected]
  • Output schema: shared/schemas/[email protected]
  • A pass names its verified scope and has no blockers, blocking gaps, or pending checks.
  • Passing persistence: docs/specs/<id>.json containing the same valid spec@1 with spec_file_path
  • Next step: navigator:plan consumes the persisted artifact.

Teams and fallback

Before delegating, read agent-roles/README.md; use recon only for fixed evidence collection and reserve the final decision for the primary judge.

The final gate is one accountable judgment and runs in the current agent. A team may supply bounded evidence before the gate, but cannot replace the final independent reading.

Boundaries

  • Do not persist or commit without user authorization.
  • Do not pass a spec because a prior reviewer approved it.
  • Do not reopen architecture design that an architecture audit has already resolved unless new contradictory evidence appears.

Read the full file on GitHub · 41 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. 2mo ago Changed · +2 lines ec3ac25379cf
  2. 2mo ago Changed · +1 lines f4885c7e6f75
  3. 2mo ago Changed · -2 lines · -102 tokens per session 9e7b2a9f51c2
  4. 2mo ago Changed · +32 tokens per session 54ad99f3e8a5
  5. 3mo ago First seen · 40 lines · 109 tokens per session scan A 3f8ce2c193a3

Subscribe to this mod's changes

gate-spec is a skill published in the GitHub repository orin-dx/agent-plugins (1 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 477 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-08-31.

Related

gate-spec compared with skills from other repositories

gate-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gate-specorin-dx/agent-pluginsSkill12mo agoMITA39Claude Code, Codex
maxsickn33/agentic-awesome-skillsSkill51kyesterdayMITA13Claude Code
github-automationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA42Claude Code
new-skillhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code, Codex
code-reviewerrmyndharis/antigravity-skillsSkill2.1k23d agoMITA48Claude Code, Codex
dorodangoathola/claude-night-marketSkill358yesterdayMITA31Claude Code
code-slopAsyrafHussin/agent-skillsSkill111todayMITA110Claude Code, Codex