Skip to content
thumbgate logo

ThumbGate

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...

SKILL.md

Full skill instructions

ThumbGate

Pre-action gates that stop AI coding agents from repeating known mistakes.

Quick Start

npx thumbgate init

This installs the MCP server and wires it into your agent's tool configuration. No API keys required for the free tier.

Or install globally:

npm install -g thumbgate
thumbgate init

MCP Configuration

Add to your agent's MCP config (e.g., claude_desktop_config.json or .cursor/​mcp.json):

{
  "mcpServers": {
    "thumbgate": {
      "command": "npx",
      "args": ["-y", "thumbgate"]
    }
  }
}

How It Works

Feedback Capture

When an agent action succeeds or fails, capture structured feedback:

  • Thumbs up: Records what worked, tags it, and stores it as a reusable pattern.
  • Thumbs down: Records the failure context, what went wrong, and what to change. Repeated failures auto-promote into prevention rules.

Prevention Rules

After a failure pattern repeats (default: 2 occurrences), ThumbGate auto-generates a prevention rule. These rules are injected into agent context before every tool call, blocking the known-bad pattern before it executes.

Pre-Action Gates

Gates intercept tool calls via the MCP PreToolUse hook. Each gate checks the proposed action against:

  1. Prevention rules generated from past failures
  2. Thompson Sampling confidence scores (adaptive sensitivity)
  3. LanceDB vector similarity to known-bad patterns

If a match is found, the gate blocks execution and surfaces the prior failure context.

Context Packs

Bounded retrieval of relevant feedback history for the current task. The agent gets exactly the lessons that matter, not the entire history.

MCP Tools Provided

ToolDescription
capture_feedbackRecord thumbs-up/​down with structured context
search_lessonsQuery the lesson DB by keyword or semantic similarity
get_prevention_rulesRetrieve active prevention rules for the current context
session_primerGet session handoff context (last task, next step, blockers)
export_dpoExport feedback pairs in DPO training format

Tiers

FreeProTeam
Feedback capture3/​dayUnlimitedUnlimited
Lesson search5/​dayUnlimitedUnlimited
Active gates5UnlimitedUnlimited
Dashboard-YesYes
DPO export-YesYes
Seats11Per-seat
Price$0$19/​mo$49/​seat/​mo

Start a 7-day free trial of Pro: https://thumbgate-production.up.railway.app/go/pro?utm_source=skill

Compatibility

ThumbGate works with any MCP-compatible agent:

  • Cursor
  • Codex
  • Gemini CLI
  • Amp
  • OpenCode
  • Any agent supporting the Model Context Protocol

Links

More skills from IgorGanapolsky

solve-architecture-autonomy logo
IgorGanapolsky/mcp-memory-gateway

solve-architecture-autonomy

Course-correct from over-planning to execution — when the agent has produced a plan, research, or options instead of doing work the user already approved, drop the analysis and execute the smallest end-to-end action now (branch, run, deploy, verify). Use when the user says "stop planning, just do...

27 0
View
capture-feedback logo
IgorGanapolsky/mcp-memory-gateway

capture-feedback

Capture structured thumbs up/down feedback with context, history-aware lesson distillation, tags, and optional rubric scores after completing a task.

27 0
View
thumbgate-feedback logo
IgorGanapolsky/mcp-memory-gateway

thumbgate-feedback

Capture thumbs up/down feedback into structured memories and prevention rules. Use when user gives explicit quality signals about agent work (e.g. "that worked", "that failed", "thumbs up/down"). Do NOT use for general questions, code generation, file operations, or any task that is not explicit ...

27 0
View
thumbgate-feedback logo
IgorGanapolsky/mcp-memory-gateway

thumbgate-feedback

Dual-write feedback to Amp MCP memory AND thumbgate for DPO export, analytics, and cross-platform portability

27 0
View
review logo
IgorGanapolsky/mcp-memory-gateway

review

Run a Codex review from Claude Code against the current uncommitted work, a base branch diff, or a specific commit. Use when the user explicitly asks for a Codex review or second reviewer.

27 0
View
Agent Memory logo
IgorGanapolsky/mcp-memory-gateway

Agent Memory

Give your agent persistent cross-session memory — recall what went wrong on similar tasks before starting, then capture whether the work succeeded or failed so repeated mistakes auto-promote into prevention rules. Runs locally via the ThumbGate MCP server (recall, capture_feedback, prevention_rul...

27 0
View
recall-context logo
IgorGanapolsky/mcp-memory-gateway

recall-context

Recall relevant past failures, prevention rules, and context packs before starting a coding task.

27 0
View
status logo
IgorGanapolsky/mcp-memory-gateway

status

Show the latest Codex bridge artifact metadata from Claude Code. Use when the user asks whether the bridge already ran, what mode it used, or where the result was saved.

27 0
View
search-lessons logo
IgorGanapolsky/mcp-memory-gateway

search-lessons

Search promoted lessons for corrective actions, lifecycle state, linked rules, and linked gates.

27 0
View
second-pass logo
IgorGanapolsky/mcp-memory-gateway

second-pass

Hand the current task or repo state to Codex for an independent second pass from inside Claude Code. Use when the user explicitly wants another agent to take a shot after Claude's first pass.

27 0
View
result logo
IgorGanapolsky/mcp-memory-gateway

result

Print the latest saved Codex bridge result from Claude Code without rerunning Codex. Use when the user asks for the last Codex output or wants to inspect the raw bridge result.

27 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View