thumbgate-guard
Turn the agent's most recent mistake into a ThumbGate prevention rule through the hosted ThumbGate server, then check whether it is enforced. Captures the…
от IgorGanapolsky★ 34 звезды на GitHub
Установить thumbgate-guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ThumbGate Guard
Escalate the agent's most recent mistake into a prevention rule, and tell the user truthfully whether it will block the next attempt.
Workflow
- Name the mistake in one sentence, as a specific tool-call shape (for example
git push --force origin main). - Capture it with
capture_feedback:signal: "down",context,whatWentWrong,whatToChange,tags, andlastAction. For a vague signal, pass the recent turns asconversationWindow. - Check the rule with
prevention_rules, and callgate_checkwith the same bad action to see the verdict. - Report honestly:
- Say the rule was saved, with the rule text the server returned.
- Say it is blocked before it runs only if the local ThumbGate PreToolUse hook is installed in this project (the thumbgate-doctor skill checks). This plugin ships no hooks, so without the local install the rule is advisory: Claude reads it, but nothing stops the tool call.
- If the hook isn't installed, point to https://thumbgate.ai/guide to add it.
Example
Input: "the agent force-pushed to main and overwrote a teammate's commit, never again"
capture_feedbackwithsignal: down,context: "force-pushed to main, overwrote a teammate's commit",whatWentWrong: "destructive force-push to a shared branch",whatToChange: "never force-push to main",tags: "git,force-push".gate_checkongit push --force origin main: report the verdict.- "Saved the rule. With the local ThumbGate hook installed, the next force-push to main is stopped before it runs; without it, the rule is advisory."
Quality checklist
- One specific bad tool-call shape, not a vague complaint.
- Captured with
capture_feedbackincludingwhatWentWrongandwhatToChange. - Verified with
prevention_rules/gate_check, and quoted real results. - Claimed a block only when the local hook is installed.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/capture-and-promote.md
FAQ
Что делает скилл thumbgate-guard?
Turn the agent's most recent mistake into a ThumbGate prevention rule through the hosted ThumbGate server, then check whether it is enforced. Captures the failure with capture_feedback and verifies it with gate_check. Use when the user says "guard against this", "block this from happening again", "never do that again", or "make that a rule", or right after a thumbs-down that should become a rule. Do NOT use to log a thumbs-up/down without a rule (use thumbgate-feedback) or to list existing rules (use thumbgate-rules).
Как установить скилл thumbgate-guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл thumbgate-guard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…