thumbgate-rules

Solid

List the active ThumbGate prevention rules, reliability rules, and the promoted lessons behind them, so the user can see which guardrails are currently protecting this project and WHY each one exists. Reads the live rule and lesson stores via the prevention_rules, get_reliability_rules, and search_lessons MCP tools (CLI fallback `npx thumbgate rules`). Use when the user says "what is ThumbGate protecting me from", "show my rules", "show my gates", "what has the agent learned", "list active guardrails", or "what's blocked here". Do NOT use to CREATE a new rule (use the thumbgate-guard skill), to see runtime enforcement counts of what actually fired (use the thumbgate-blocked skill), or to diagnose whether ThumbGate is wired up at all (use the thumbgate-doctor skill).

AI & Automation 24 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
47
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ThumbGate Rules Show the guardrails currently in force for this project: the auto-promoted prevention rules, the reliability rules, and the lessons they came from — so the user sees not just *what* is blocked but *why*. This skill wraps existing ThumbGate capability and adds **no new logic** — it reads the live rule and lesson stores. ## Workflow 1. **List active rules** with the `prevention_rules` MCP tool (CLI fallback: `npx thumbgate rules`). 2. **Pull reliability rules** with `get_reliability_rules` to show which tool-call shapes are gated. 3. **Surface the lesson** behind each rule with `search_lessons`, so the user sees the origin, not just the block. 4. **Present a compact table** (see the example below). 5. **If there are zero active rules,** point the user to the thumbgate-guard skill to promote their first one. Field-by-field tool output and how rules map to lessons are in [references/rule-stores.md](references/rule-stores.md). ## Example Input: "what is ThumbGate protecting me from in this repo?" Action: call `prevention_rules` + `get_reliability_rules`, enrich each with `search_lessons`, then: | Rule / Gate | Blocks | From lesson | State | |-------------|--------|-------------|-------| | no-force-push-main | `git push --force` to `main` | overwrote a teammate's commit (2026-05) | active | | verify-before-deploy | deploy without `npm test` | shipped a broken build | active | ## Troubleshooting - **Empty list:** no rules promoted yet — use the thu...

Details

Author
IgorGanapolsky
Repository
IgorGanapolsky/ThumbGate
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

thumbgate-blocked

Show ThumbGate's enforcement record — how many risky actions were actually blocked versus warned, which gates fire most, the tokens/damage saved, and the full feedback to check to rejection pipeline. Reads live enforcement counters via the gate_stats and enforcement_matrix MCP tools (CLI fallback `npx thumbgate gate-stats`). Use when the user says "what has ThumbGate blocked", "show gate stats", "is enforcement working", "how many tokens did we save", "show the enforcement matrix", or "what got stopped". Do NOT use to list rule DEFINITIONS that exist (use the thumbgate-rules skill), to create a new rule (use the thumbgate-guard skill), or to check whether ThumbGate is installed and wired (use the thumbgate-doctor skill).

24 Updated today
IgorGanapolsky
AI & Automation Solid

thumbgate-guard

Turn the agent's most recent mistake into an enforced ThumbGate prevention rule (a PreToolUse block gate) so the same bad tool call is intercepted before it runs again, in this and every future session across Claude Code, Cursor, Codex, Gemini, Amp, and Cline. Captures the failure with the capture_feedback MCP tool, then force-promotes it via `npx thumbgate force-gate` so it is enforced, not just logged. Use when the user says "guard against this", "block this from happening again", "never do that again", "make that a rule", "stop the agent from repeating that", or right after a bad action or thumbs-down that should become a hard rule. Do NOT use to merely log a thumbs-up/down without enforcement (use the thumbgate-feedback skill), to recall prior context before starting work (use the Agent Memory skill), or to list rules that already exist (use the thumbgate-rules skill).

24 Updated today
IgorGanapolsky
AI & Automation Solid

thumbgate

ThumbGate provides pre-action gates for AI coding agents. It captures thumbs-up/down feedback on agent actions, auto-promotes repeated failures into prevention rules, and blocks known-bad tool calls via PreToolUse hooks. Trigger when the user wants to add safety guardrails to an AI agent workflow, capture structured feedback on agent output, generate prevention rules from failure patterns, gate high-risk actions before execution, or export DPO training pairs from production feedback. Works with any MCP-compatible agent including Cursor, Codex, Gemini CLI, Amp, and OpenCode.

24 Updated today
IgorGanapolsky