Borrowing it
Nothing to install: this file belongs to IgorGanapolsky/ThumbGate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/IgorGanapolsky/ThumbGate/main/.claude/commands/thumbgate-protect.mdgit clone --depth 1 https://github.com/IgorGanapolsky/ThumbGateWrote 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/igorganapolsky/thumbgate/thumbgate-protect)<a href="https://agentmods.dev/commands/igorganapolsky/thumbgate/thumbgate-protect"><img src="https://agentmods.dev/badge/commands/igorganapolsky/thumbgate/thumbgate-protect/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/igorganapolsky/thumbgate/thumbgate-protect"><img src="https://agentmods.dev/badge/commands/igorganapolsky/thumbgate/thumbgate-protect.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.00060 | $0.00386 |
| Opus 5 | $0.00030 | $0.00193 |
| Sonnet 5 | $0.00012 | $0.00077 |
| Haiku 4.5 | $0.00006 | $0.00039 |
Grade A, and why
thumbgate-protect 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 10d 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.
What it actually says
ThumbGate Protect
Inspect the protected-action posture for this project and, when the user explicitly approves, grant a scoped, expiring exception so a protected-file edit or publish can proceed under audit.
This command wraps existing ThumbGate capability — no new logic. It reads governance state and records a time-boxed approval.
Steps
- Read the current posture with the
get_branch_governanceMCP tool: which branches are protected, release rules, and the protected-file globs in effect. - Report it plainly: what is protected, and what the agent is currently blocked from touching without approval.
- Only if the user explicitly asks to proceed, grant a scoped approval with
approve_protected_action:pathGlobs: the smallest set of protected globs the action needs.reason: why this is approved (one sentence).evidence: supporting note (tests passing, owner sign-off, etc.) when available.ttlMs: keep it short — default is 1 hour, never exceed what the task needs.
- Confirm the approval id, covered globs, and expiry. Approvals are deliberately temporary and audited; re-run for the next task.
This is for granting narrow, temporary exceptions, not for disabling protection. Never use it to bypass branch governance wholesale.
Example
/thumbgate-protect
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.
- 10d ago First seen · 31 lines · 60 tokens per session scan A 337a43b80300
thumbgate-protect is a command published in the GitHub repository IgorGanapolsky/ThumbGate (26 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 386 once invoked, about $0.0003 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-08-30.
Other commands, from other repositories
ng-ship-review
Portable command prompt generated from skills/checking-release-readiness/SKILL.md. Edit the skill, then run python tools/ng.py gen-commands; do not edit this file by hand.
step6-ship
Pipeline Step 6 — Ship the completed phase: commit, update roadmap, capture postmortem, optionally push and create PR.
step1-preflight-check
Pipeline Step 1 — Pre-flight checks before plan hardening. Verifies git state, roadmap link, plan file, guardrails, and domain-specific instruction files.
start-issue
You are beginning work on GitHub issue $ARGUMENTS.
rfc-link
Link a code change/PR to an accepted RFC — declares which RFC governs the work. Provided by the RFC-driven methodology.
rollback
USE WHEN /run fails mid-way, /evaluate reports severe drift, or partial implementation must be undone. Saga-pattern rollback via git stash/checkout/branch — chooses safest strategy based on scope.