SkillAgentSearch skills...

ThumbGate

Pre-action gates and workflow governance for AI coding agents. ๐Ÿ‘Ž Thumbs down โ†’ prevention rule โ†’ mistake permanently blocked. ๐Ÿ‘ Thumbs up โ†’ pattern reinforced. History-aware lessons from your corrections. Risky local runs can route into Docker Sandboxes. Team adds shared lessons and org visibility, plus isolated execution guidance.

Install / Use

/learn @IgorGanapolsky/ThumbGate

README

ThumbGate

Make your AI coding agent self-improving. ThumbGate turns thumbs-up and thumbs-down into a control plane for autonomous development: pre-action gates, workflow governance, and isolated execution guidance for high-risk runs.

CI npm License: MIT Try Free

Pro Page ยท Live Dashboard ยท Pricing ยท Setup Guide

Popular buyer questions: How to stop repeated AI agent mistakes ยท Cursor guardrails ยท Codex CLI guardrails ยท Gemini CLI memory + enforcement

Get Started

ThumbGate Pro (Recommended) โ€” zero config, team analytics, shared lesson DB:

Sign up for ThumbGate Pro

Free for individual developers. Pro adds team dashboards, DPO export, and unlimited lesson search. See pricing โ†’

Paid path for individual operators: ThumbGate Pro is the buyer-ready page for the personal local dashboard, DPO export, and review-ready evidence. It makes the paid upgrade legible before checkout while the self-hosted path below stays optimized for open source evaluation.

Open Source (Self-Hosted):

npx thumbgate init

Enterprise Story

ThumbGate is the control plane for AI coding agents:

  • Feedback becomes enforcement, so repeated failures stop at the gate instead of reappearing in review.
  • Workflow Sentinel scores blast radius before execution, so risky PR, release, and publish flows are visible early.
  • High-risk local actions can be routed into Docker Sandboxes, while hosted team automations use a signed isolated sandbox lane.
  • Team rollout stays tied to Verification Evidence instead of trust-me operator claims.

Release Confidence

Enterprise buyers do not just need a safer runtime. They need legible publishes.

  • Release-relevant PRs must carry a .changeset/*.md entry, so every shipped package version has a customer-readable explanation before publish.
  • SemVer Policy and version-sync checks keep package.json, CHANGELOG.md, plugin manifests, and installer metadata aligned.
  • CI enforces changeset coverage, version sync, tests, coverage, proof lanes, and operational integrity before merge.
  • Final close-out requires verifying the exact main merge commit, with proof anchored in Verification Evidence.

See Release Confidence for the full trust chain.

Before / After

WITHOUT THUMBGATE                    WITH THUMBGATE

Session 1:                           Session 1:
  Agent force-pushes to main.          Agent force-pushes to main.
  You correct it.                      You ๐Ÿ‘Ž it.

Session 2:                           Session 2:
  Agent force-pushes again.            โ›” Gate blocks force-push.
  It learned nothing.                  Agent uses safe push instead.

Session 3:                           Session 3+:
  Same mistake. Again.                 Permanently fixed.

How It Works

  YOU                    THUMBGATE                   YOUR AGENT
   โ”‚                        โ”‚                            โ”‚
   โ”‚  ๐Ÿ‘Ž "broke prod"       โ”‚                            โ”‚
   โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚                            โ”‚
   โ”‚                        โ”‚  distill + validate        โ”‚
   โ”‚                        โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”‚
   โ”‚                        โ”‚  โ”‚ lesson + rule    โ”‚       โ”‚
   โ”‚                        โ”‚  โ”‚ created          โ”‚       โ”‚
   โ”‚                        โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ”‚
   โ”‚                        โ”‚                            โ”‚
   โ”‚                        โ”‚  PreToolUse hook fires     โ”‚
   โ”‚                        โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค tries same mistake
   โ”‚                        โ”‚  โ›” BLOCKED                โ”‚
   โ”‚                        โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚ forced to try safe path
   โ”‚                        โ”‚                            โ”‚
   โ”‚  ๐Ÿ‘ "good fix"         โ”‚                            โ”‚
   โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚                            โ”‚
   โ”‚                        โ”‚  reinforced โœ…             โ”‚
   โ”‚                        โ”‚                            โ”‚

The Loop

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Capture  โ”‚โ”€โ”€โ”€โ”€โ–บโ”‚ Distill  โ”‚โ”€โ”€โ”€โ”€โ–บโ”‚ Remember โ”‚โ”€โ”€โ”€โ”€โ–บโ”‚   Rule   โ”‚โ”€โ”€โ”€โ”€โ–บโ”‚   Gate   โ”‚
โ”‚ ๐Ÿ‘ / ๐Ÿ‘Ž  โ”‚     โ”‚ history- โ”‚     โ”‚ SQLite + โ”‚     โ”‚ auto-gen โ”‚     โ”‚ PreTool  โ”‚
โ”‚          โ”‚     โ”‚ aware    โ”‚     โ”‚ FTS5 DB  โ”‚     โ”‚ from     โ”‚     โ”‚ Use hook โ”‚
โ”‚          โ”‚     โ”‚          โ”‚     โ”‚          โ”‚     โ”‚ failures โ”‚     โ”‚ enforces โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Quick Start (Self-Hosted)

npx thumbgate init                                    # auto-detect agent + wire hooks
npx thumbgate doctor                                  # health check
npx thumbgate lessons                                 # inspect learned lessons
npx thumbgate dashboard                               # local dashboard

Or wire MCP directly: claude mcp add thumbgate -- npx -y thumbgate serve

Works with Claude Code, Cursor, Codex, Gemini, Amp, OpenCode, and any MCP-compatible agent.

Want team analytics and shared lessons? Start with ThumbGate Pro โ†’ Free for individual devs. No credit card required.

Built-in Gates

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   ENFORCEMENT LAYER                      โ”‚
โ”‚                                                          โ”‚
โ”‚  โ›” force-push          โ†’ blocks git push --force        โ”‚
โ”‚  โ›” protected-branch    โ†’ blocks direct push to main     โ”‚
โ”‚  โ›” unresolved-threads  โ†’ blocks push with open reviews  โ”‚
โ”‚  โ›” package-lock-reset  โ†’ blocks destructive lock edits  โ”‚
โ”‚  โ›” env-file-edit       โ†’ blocks .env secret exposure    โ”‚
โ”‚                                                          โ”‚
โ”‚  + custom gates in config/gates/custom.json              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Feedback Sessions

๐Ÿ‘Ž thumbs down
  โ””โ”€โ–บ open_feedback_session
        โ””โ”€โ–บ "you lied about deployment" (append_feedback_context)
        โ””โ”€โ–บ "tests were actually failing" (append_feedback_context)
        โ””โ”€โ–บ finalize_feedback_session
              โ””โ”€โ–บ lesson inferred from full conversation

History-aware distillation turns vague signals into concrete lessons using the last ~10 messages and the failed tool call.

Free and self-hosted users can invoke search_lessons directly through MCP, and via the CLI with npx thumbgate lessons.

Pricing

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚    FREE      โ”‚ PRO $19/mo or $149/yrโ”‚   TEAM $12/seat/mo (min 3)   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Unlimited    โ”‚ Unlimited feedback โ”‚ Shared hosted lesson DB      โ”‚
โ”‚ feedback     โ”‚ captures + search  โ”‚ Org dashboard                โ”‚
โ”‚ captures     โ”‚ DPO export         โ”‚ Gate template library         โ”‚
โ”‚ 3 captures   โ”‚ Personal dashboard โ”‚ Isolated execution guidance   โ”‚
โ”‚ 5 lesson     โ”‚                    โ”‚                              โ”‚
โ”‚ searches/day โ”‚                    โ”‚                              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Free includes 3 daily feedback captures, 5 daily lesson searches, unlimited recall, and gating. History-aware distillation turns vague feedback into concrete lessons. Feedback sessions (open_feedback_session โ†’ append_feedback_context โ†’ finalize_feedback_session) link follow-up context to one record.

It does not update model weights. It's context engineering plus execution control: enforcement that gets smarter every session, with Docker Sandboxes guidance for the riskiest local actions and a hosted isolated lane for team workflows.

**[Get Pro](https://thumbgate-production.up.railway.app/checkout/pro?utm_source=github&utm_mediu

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated7m ago
Forks3

Languages

JavaScript

Security Score

95/100

Audited on Apr 9, 2026

No findings