gate_checkLABSCO SUMMARY
Rules that came from your own corrections, checked before the command runs.
The honest part is stated in the README itself: nothing here updates model weights, it intercepts tool calls at runtime. That is also why it works — a lesson captured on Tuesday is a pattern match, not a hope that the prompt survived compaction. Note the split by client: Claude Code, Codex, Gemini CLI and ForgeCode get real pre-execution hooks; Cursor, Cline and other MCP clients get advisory checks through gate_check.
What it is
ThumbGate, a local-first check that sits in the PreToolUse hook of a coding agent. It evaluates the command the model is about to run, and feedback you give afterwards becomes a stored lesson that can be promoted from a warning into a block.
What you get
- gate_check reads a proposed tool call and returns a verdict before the agent executes it
- Detected secret leaks are hard-blocked by default, as are the two command classes that would kill the gate process or set its bypass override
- Rm -rf, git push --force, fetch-and-run and direct edits to the guardrails warn and log by default; THUMBGATE_STRICT_ENFORCEMENT=1 turns those warnings into denials
- Feedback capture records what went wrong and what to change, and matching commands later surface the check with the pattern that fired and where it came from
- A local dashboard shows what has been captured and what has fired
- Installs its hooks machine-wide into ~/.claude/settings.json, or per-project with --project so lessons stay inside one repository
Requirements
The npm package thumbgate, version 1.35.0, started as npx -y thumbgate serve over stdio — not npm start, which launches the hosted HTTP API instead. Nothing to sign up for; the enforcement path runs locally. THUMBGATE_MCP_PROFILE optionally widens or narrows the exposed tool set beyond the default least-privilege profile.
Setup effort
One command — npx -y thumbgate serve
USE CASES
Stopping a destructive command before it lands
The proposed call is evaluated first, and strict mode turns the warning classes into outright denials.
Keeping a mistake from repeating
Capture what went wrong once; the matching pattern surfaces the next time an agent proposes it.
Isolating rules per client project
Installing with --project keeps settings and lessons inside that repository instead of the machine-wide store.
3 tools
Listed in project docs. Your client may show a different list.
open_feedback_sessionsearch_lessonsBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
npx on PATH
INSTALLATION
Connect your client
Server setup
npx -y thumbgate serveMCP Clients
Claude Code
npx thumbgate init --agent claude-codeCodex
npx thumbgate init --agent codexGemini CLI
npx thumbgate init --agent geminiForgeCode
npx thumbgate init --agent forgeCursor
npx thumbgate init --agent cursorCline
npx thumbgate init --agent clineOpenCode
npx thumbgate init --agent opencodeAmp
npx thumbgate init --agent ampAny MCP client
npx thumbgate serveClaude Desktop
Install the .mcpb bundle from https://github.com/IgorGanapolsky/ThumbGate/releases/latest/download/thumbgate-claude-desktop.mcpb