Thumbgate doctor

From IgorGanapolsky/ThumbGate · View interactive version

Thumbgate doctor is an AI agent skill from the GitHub repository IgorGanapolsky/ThumbGate. Health-check whether ThumbGate is actually wired into this agent — PreToolUse/SessionStart hooks installed, MCP server reachable, lesson store present, statusline, and overall agent-readiness — then report exactly what to fix. Runs the existing `npx thumbgate doctor` audit and the check_operational_

How to use this skill

Skill file

ThumbGate Doctor

Audit whether ThumbGate is actually wired into this agent — PreToolUse / SessionStart hooks

installed, MCP server reachable, lesson store present, statusline, overall agent-readiness — then

tell the user exactly what to fix.

This skill wraps existing ThumbGate capability and adds no new logic — it runs the existing

doctor + integrity checks.

Workflow

  1. Run the wiring/health audit:

```bash

npx thumbgate doctor

```

(Add --json for a machine-readable report.) It exits non-zero when the project is not ready.

  1. Verify the runtime path with the check_operational_integrity MCP tool — this confirms the

server-side enforcement path is live, not just the local config.

  1. Summarize: ✅ what's wired (hooks, MCP, store, statusline) and ❌ what's missing, each with

its exact fix command (usually npx thumbgate init).

  1. Lead with the fix. If everything is green, say so plainly with the readiness status; if not,

lead with the single highest-impact fix.

The full readiness checklist (each check, what a failure means, and its fix) is in

references/wiring-checklist.md.

Example

Input: "why aren't my gates firing? is ThumbGate even wired up?"

Action: run npx thumbgate doctor, then check_operational_integrity, then:

❌ PreToolUse hook not installed — run npx thumbgate init. ✅ MCP server reachable.

✅ Lesson store present. Fix the hook and your promoted rules will start blocking.

Troubleshooting

the printed fix (usually npx thumbgate init).

skill — or no gated action has been attempted yet — check the thumbgate-blocked skill.

MCP server isn't running — restart it (npx thumbgate serve).

Quality checklist (self-verify before delivering)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.