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.
git clone --depth 1 https://github.com/marcusgoll/Spec-FlowWrote 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/commands/marcusgoll/spec-flow/gate)<a href="https://agentmods.dev/commands/marcusgoll/spec-flow/gate"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/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/commands/marcusgoll/spec-flow/gate"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/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.00000 | $0.03643 |
| Opus 5.5 | $0.00000 | $0.01457 |
| Sonnet 5.5 | $0.00000 | $0.00729 |
| Haiku 4.5 | $0.00000 | $0.00364 |
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 3mo 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 — 604 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/gate — Quality Gates
Current Branch: !git branch --show-current 2>/dev/null || echo "none"
Project Detection:
- Node.js: !
test -f package.json && echo "yes" || echo "no" - Python: !
test -f pyproject.toml -o -f requirements.txt && echo "yes" || echo "no" - Rust: !
test -f Cargo.toml && echo "yes" || echo "no" - Go: !
test -f go.mod && echo "yes" || echo "no"
Workflow State: @.spec-flow/memory/state.yaml
| Command | Purpose | Pass Criteria |
|---|---|---|
/gate ci |
CI quality checks | All checks pass |
/gate sec |
Security scanning | No CRITICAL/HIGH issues |
Gates block deployment until passed.
Step 1: Parse Gate Type
Extract first argument as gate type:
ci→ Run CI quality checkssec→ Run security scanning
If no argument provided, use AskUserQuestion:
{
"questions": [{
"question": "Which quality gate do you want to run?",
"header": "Gate",
"multiSelect": false,
"options": [
{"label": "ci", "description": "Tests, linting, types, coverage (Recommended)"},
{"label": "sec", "description": "SAST, secrets detection, dependency audit"}
]
}]
}
Gate: CI (/gate ci)
Purpose
Validate code quality before deployment:
- All tests pass
- Linting checks pass
- Type checks pass
- Coverage meets threshold (if configured)
Step CI-1: Detect Project Type
Use Glob to detect project files:
| File Found | Project Type | Test Command | Lint Command | Type Command |
|---|---|---|---|---|
package.json |
Node.js | npm test or pnpm test |
npm run lint |
npx tsc --noEmit |
pyproject.toml |
Python | pytest |
ruff check . |
mypy . |
Cargo.toml |
Rust | cargo test |
cargo clippy |
cargo check |
go.mod |
Go | go test ./... |
go vet ./... |
(included in vet) |
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.
- 3mo ago First seen · 604 lines · 0 tokens per session scan A 00a85aabfb2d
gate is a command published in the GitHub repository marcusgoll/Spec-Flow (97 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,643 tokens. 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.
gate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gatemarcusgoll/Spec-Flow | Command | 97 | 2mo ago | MIT | A | 0 | Claude Code |
| test-pr-dockerbybren-llc/safe-agentic-workflow | Command | 431 | 4mo ago | MIT | A | 7 | Claude Code |
| r-util-ci-genrfxn/rdf | Command | 20 | 15d ago | GPL-2.0 | A | 0 | Claude Code |
| dare-quality-telemetrydewtech-technologies/dare-method | Command | 5 | 4mo ago | MIT | A | 0 | Claude Code |
| gh-fix-testszahardev/aicontext | Command | 2 | 2mo ago | MIT | A | 10 | Claude Code, OpenCode |
| embedded-script-reviewoalders/kitchen-sink | Command | 5 | yesterday | MIT | C | 43 | Claude Code |
| release-managerruvnet/sublinear-time-solver | Command | 102 | 18d ago | MIT | A | 0 | Claude Code |