gate

gate is a command for Claude Code from synaptiai/synapti-marketplace. It costs 45 tokens per session (1,786 once invoked), scanned A, original, Apache-2.0.

A release check that evaluates nineteen conditions and issues a verdict about whether a documentation package is ready to release.

In plain words
What is it for?
Use it before publishing documentation to check mechanical requirements and judgment-based conditions.
Why use it?
It prevents a package from passing when required checks or reviewer judgments are missing, stale, or incomplete.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 dossier plugin — 10 skills, 9 commands, 6 agents, 2 hooks shipped together

Good fit Use it before publishing documentation to check mechanical requirements and judgment-based conditions.

Compare 6 commands 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 synaptiai/synapti-marketplace
Claude Code
/plugin install dossier

Made for: Claude Code.

Or install dossier, the plugin that ships this one along with the rest of its 10 skills, 9 commands, 6 agents, 2 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gate"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,786 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.00045 $0.01786
Opus 5 $0.00023 $0.00893
Sonnet 5 $0.00009 $0.00357
Haiku 4.5 $0.00005 $0.00179

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

Security

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 5d 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/dossier/commands/gate.md · 141 lines

How it starts

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

Release Gate: $ARGUMENTS

Nineteen conditions, conjunctive. Nineteen of nineteen, or the package is not release-ready.

Required Skills

  • scoring-and-release-gate — the ten-dimension rubric, the nineteen conditions, and the verdict vocabulary

The contract this command enforces

Failing is decidable from a subset. Passing is not.

Twelve mechanical conditions are enough to prove a package is not releasable — one broken link suffices. They are never enough to prove it is, because the judgment set includes both scorecard conditions and three of the four "must never appear" rules. A gate that passed on mechanics alone would certify a package whose planned features are documented as shipped and whose targets are printed as measurements, having read neither.

So bin/dossier-gate.sh structurally refuses to emit PASS without a valid scorer verdict file. Absent, stale, revision-mismatched, round-mismatched, or silent on any judgment condition yields INCONCLUSIVE — which maps to not ready, never to conditionally ready. "We did not check" is an absence of assurance, not a condition to attach.

References

Phase 0 — Mechanical conditions

_RAW="$ARGUMENTS"
echo "### Gate Arguments"
echo "ARGS=$_RAW"

__dr="${CLAUDE_PLUGIN_ROOT:-}"
[ -x "$__dr/bin/dossier-gate.sh" ] || __dr=$({ echo plugins/dossier; ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/dossier/*/ 2>/dev/null | sort -Vr; echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/dossier"; } | while read -r __p; do [ -x "${__p%/}/bin/dossier-gate.sh" ] && { echo "${__p%/}"; break; }; done)

echo "### Preflight"
if [ ! -x "$__dr/bin/dossier-gate.sh" ]; then
  echo "GATE_STATE=blocked"
  echo "GATE_ERROR=dossier-gate.sh not found — reinstall or upgrade the dossier plugin"
  true; exit 0
fi

OUTPUT_ROOT=$("$__dr/bin/dossier-resolve-config.sh" --default "docs/dossier" dossier.project.outputRoot 2>/dev/null)
echo "OUTPUT_ROOT=$OUTPUT_ROOT"
echo "MIN_SCORE=$("$__dr/bin/dossier-resolve-config.sh" --default 95 dossier.gate.minScore 2>/dev/null)"
echo "MIN_DIMENSION_PCT=$("$__dr/bin/dossier-resolve-config.sh" --default 80 dossier.gate.minDimensionPercent 2>/dev/null)"

echo "### Mechanical evaluation"
"$__dr/bin/dossier-gate.sh" --output-root "$OUTPUT_ROOT" 2>&1
echo "GATE_SCRIPT_EXIT=$?"
true

Read the full file on GitHub · 141 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. 5d ago First seen · 141 lines · 0 tokens per session scan A 56e740d10e5e

Subscribe to this mod's changes

gate is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,786 once invoked, about $0.0002 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-09-03.

Related

Other commands, from other repositories

paper-trail-inject-url

Injecte une URL OA connue (HAL, dépôt uni, NIME, page perso) pour une ref dont la cascade automatique a échoué, puis relance l'acquisition + validation page 1.

roomi-fields/paper-trail · 41 tokens

paper-trail-ingest-all

Batch INGEST across the entire vault. Scans all SOTAs, identifies those with bibliographic sections containing free-text citations, then runs /paper-trail:ingest on each one sequentially. Reports per-SOTA summary at the end. The single batch entry point to make a legacy vault fully conform to the paper-trail pipeline.

roomi-fields/paper-trail · 69 tokens

paper-trail-acquire

Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL + CORE + éditeur par DOI + archive.org + WebSearch ; jusqu'à 17 avec les voies par navigateur et les sources étendues opt-in) ciblée sur les refs d'un SOTA donné. Différent de pipeline run qui…

roomi-fields/paper-trail · 114 tokens

paper-trail-cascade

Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.

roomi-fields/paper-trail · 44 tokens

create-worktree

Follow these steps to create a git worktree.

CaptainMe-AI/lead-dev-os · 0 tokens

paper-trail-ingest

Ingest the citations of one SOTA into the registry. Extracts bibliographic sections, parses citations via the citation-parser sub-agent, resolves DOI via Crossref/S2, deduplicates against the registry, creates new candidate refs, and substitutes free-text citations with [[wikilinks]]. Required first step to make a…

roomi-fields/paper-trail · 75 tokens