speckit.gym.gate

speckit.gym.gate is a command for Claude Code from arrrrny/zuraffa. It costs 0 tokens per session (214 once invoked), scanned A, original, MIT.

A command that reports whether the GYM training gate is open or closed. A closed gate tells a tool or service not to allow the real task yet.

In plain words
What is it for?
Use it in a command-line tool, continuous integration system, service, or pre-task hook to enforce training requirements.
Why use it?
It gives automated tools one clear check before implementation can begin.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .specify/extensions/gym/scripts/bash/gym.sh gate.

Good fit Use it in a command-line tool, continuous integration system, service, or pre-task hook to enforce training requirements.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/arrrrny/zuraffa
agentmods
npx agentmods add commands/arrrrny/zuraffa/speckit.gym.gate

Made for: Claude Code.

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 speckit.gym.gate

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/arrrrny/zuraffa/speckit.gym.gate"><img src="https://agentmods.dev/badge/commands/arrrrny/zuraffa/speckit.gym.gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 214 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.00000 $0.00214
Opus 5 $0.00000 $0.00107
Sonnet 5 $0.00000 $0.00043
Haiku 4.5 $0.00000 $0.00021

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

Security

Grade A, and why

speckit.gym.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.

.specify/extensions/gym/commands/speckit.gym.gate.md · 25 lines

What it actually says

GYM: Gate

Query the current gate state. This is the host-enforcement surface: a host (CLI, CI, service, or the optional before_implement hook) queries it before letting an operator perform the real task.

Usage

bash .specify/extensions/gym/scripts/bash/gym.sh gate
# or PowerShell:
powershell .specify/extensions/gym/scripts/powershell/gym.ps1 gate

Output

Prints open or closed to stdout and exits 0 when open, 1 when closed.

  • If gym/.gate exists, its stored state is returned (the gate is the source of truth).
  • If it does not exist yet (no run has happened), the gate is reported closed.

Hosts should treat closed as "do not proceed." Pair this with the optional before_implement hook bound to speckit.gym.gate to block implementation until the operator has cleared GYM.

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 · 25 lines · 0 tokens per session scan A 0f2173595a45

Subscribe to this mod's changes

speckit.gym.gate is a command published in the GitHub repository arrrrny/zuraffa (5 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 214 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-09-03.