gate

gate is a command for Claude Code from ArtemioPadilla/agent-triforce. It costs 0 tokens per session (393 once invoked), scanned A, original, MIT.

A command for viewing and managing approval checkpoints between agents. A gate is a required review before planning or releasing a feature can continue.

In plain words
What is it for?
Use it to check, create, approve, or override plan and release gates, with criteria, approver details, and documented reasons.
Why use it?
It creates a permanent record of who approved a change and why an approval was overridden.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

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 agent-triforce plugin — 15 commands, 2 hooks shipped together

Good fit Use it to check, create, approve, or override plan and release gates, with criteria, approver details, and documented reasons.

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 ArtemioPadilla/agent-triforce
Claude Code
/plugin install agent-triforce

Made for: Claude Code.

Or install agent-triforce, the plugin that ships this one along with the rest of its 15 commands, 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/artemiopadilla/agent-triforce/gate/github.svg)](https://agentmods.dev/commands/artemiopadilla/agent-triforce/gate)
Your own site
<a href="https://agentmods.dev/commands/artemiopadilla/agent-triforce/gate"><img src="https://agentmods.dev/badge/commands/artemiopadilla/agent-triforce/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/artemiopadilla/agent-triforce/gate"><img src="https://agentmods.dev/badge/commands/artemiopadilla/agent-triforce/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 393 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.00393
Opus 5 $0.00000 $0.00197
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00039

Measured 9d ago against content hash acdb6f624a6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 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.

agent-triforce/commands/gate.md · 45 lines

What it actually says

View, create, approve, or override approval gates between agents.

Gates enforce formal approval checkpoints in the Agent Triforce workflow:

  • plan-gate: Prometeo approves Forja's implementation plan before coding begins
  • release-gate: Centinela signs off before a feature is released

Usage

Check gate status

/gate check --feature {feature-name} --gate-type {plan-gate|release-gate}

Create a new gate

/gate create --feature {feature-name} --gate-type {plan-gate|release-gate} --criteria "Criterion 1" --criteria "Criterion 2"

Approve a gate

/gate approve --feature {feature-name} --gate-type {plan-gate|release-gate} --approved-by "{agent or user}"

Override a gate (requires reason)

/gate override --feature {feature-name} --gate-type {plan-gate|release-gate} --override-reason "Reason for override"

Gate Documents

Gate documents are stored at docs/gates/{feature-name}-{gate-type}.md. They are permanent artifacts (not gitignored) and serve as the audit trail.

Behavior

Run the appropriate gate-checker.py subcommand based on the user's request. If no subcommand is clear from the user's message, run check to show the current gate status.

When the user asks to view or check a gate, run:

python3 ${CLAUDE_PLUGIN_ROOT}/tools/gate-checker.py check --feature {feature} --gate-type {type}

When the user asks to create, approve, or override a gate, run the corresponding subcommand.

Display the JSON output in a readable format. For check results, highlight whether the gate PASSED or is BLOCKED.

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

Subscribe to this mod's changes

gate is a command published in the GitHub repository ArtemioPadilla/agent-triforce (3 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 393 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-31.