CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
igorganapolsky avatar

ThumbGate

igorganapolsky/thumbgate
2368 toolsSTDIOregistry active
Summary

Turns thumbs-down feedback into executable prevention rules that block AI agents from repeating mistakes before the tool call executes. The PreToolUse hook intercepts risky actions like force-pushes, destructive file operations, or API calls that match patterns learned from prior sessions. One thumbs-down creates a rule, next session the agent gets blocked with zero tokens spent. Ships with a context brain generator that consolidates lessons, guardrails, and gates into a single agent-readable markdown file your repo can version in git. Free tier gives you unlimited feedback capture and five active rules. Works with Claude Code, Cursor, Gemini CLI, Cline, and any MCP-compatible agent. Designed for workflows where one repeated mistake is a liability event or a token bill you don't want to pay twice.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →

Tools

Public tool metadata for what this MCP can expose to an agent.

68 tools
capture_feedbackCapture an up/down signal plus one line of why. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion.13 params

Capture an up/down signal plus one line of why. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion.

Parameters* required
chatHistoryarray
Optional caller-supplied recent conversation window used for history-aware lesson distillation. The current Claude auto-capture path sends up to 8 prior recorded entries for vague negative inline s...
contextstring
One-sentence reason describing what worked or failed
conversationWindowarray
Recent conversation turns before the feedback signal. Raw messages, not summaries.
failureTypestring
Dual-signal: "decision" = wrong tool/action chosen, "execution" = right tool but bad parameters/output. Improves Thompson Sampling precision.one of decision · execution
guardrailsobject
relatedFeedbackIdstring
Optional prior feedback event to merge with later follow-up context.
rubricScoresarray
signalstring
one of up · down
skillstring
tagsarray
whatToChangestring
whatWentWrongstring
whatWorkedstring
feedback_summaryGet summary of recent feedback1 params

Get summary of recent feedback

Parameters* required
recentnumber
search_lessonsSearch promoted lessons and show the corrective actions, lifecycle state, prevention rules, gates, and next harness fixes linked to each result.4 params

Search promoted lessons and show the corrective actions, lifecycle state, prevention rules, gates, and next harness fixes linked to each result.

Parameters* required
categorystring
one of error · learning · preference
limitnumber
Maximum results to return (default 10)
querystring
Search query. Leave empty to list the most recent lessons.
tagsarray
Require all tags to be present on a lesson
retrieve_lessonsRetrieve the most relevant lessons for a given tool/action context. Use in PreToolUse hooks for per-action guidance.3 params

Retrieve the most relevant lessons for a given tool/action context. Use in PreToolUse hooks for per-action guidance.

Parameters* required
actionContextstring
Description of what the tool call is doing
maxResultsnumber
Max lessons to return (default 5)
toolNamestring
The tool being called (e.g., Bash, Edit, Read)
search_thumbgateSearch raw ThumbGate state across feedback logs, ContextFS memory, prevention rules, and imported policy documents.4 params

Search raw ThumbGate state across feedback logs, ContextFS memory, prevention rules, and imported policy documents.

Parameters* required
limitnumber
Maximum results to return (default 10)
querystring
Search query for ThumbGate state.
signalstring
Optional feedback-signal filter when searching feedback data.one of up · down · positive · negative
sourcestring
Restrict search to a single ThumbGate source.one of all · feedback · context · rules · documents
import_documentImport a local policy or runbook document into ThumbGate, normalize it for search, and propose provenance-backed gate candidates.7 params

Import a local policy or runbook document into ThumbGate, normalize it for search, and propose provenance-backed gate candidates.

Parameters* required
contentstring
Inline document content for hosted or generated imports.
filePathstring
Local file path inside the active workspace or ThumbGate runtime.
proposeGatesboolean
When true (default), derive reviewable gate proposals from the document.
sourceFormatstring
Optional source format override when importing inline content.one of markdown · text · yaml · json · html
sourceUrlstring
Optional external URL or provenance label for the imported document.
tagsarray
Optional tags such as policy, runbook, or team.
titlestring
Optional display title override.
list_imported_documentsList imported policy and runbook documents stored in local ThumbGate state.3 params

List imported policy and runbook documents stored in local ThumbGate state.

Parameters* required
limitnumber
Maximum documents to return (default 20).
querystring
Optional title or excerpt filter.
tagstring
Optional tag or matched template id filter.
get_imported_documentRead a previously imported document with its proposed gate candidates and provenance.1 params

Read a previously imported document with its proposed gate candidates and provenance.

Parameters* required
documentIdstring
Imported document id.
feedback_statsGet feedback stats and recommendations

Get feedback stats and recommendations

No parameter schema in public metadata yet.

diagnose_failureDiagnose a failed or suspect workflow step using MCP schema, workflow, gate, and approval constraints.13 params

Diagnose a failed or suspect workflow step using MCP schema, workflow, gate, and approval constraints.

Parameters* required
approvedboolean
contextstring
errorstring
exitCodenumber
guardrailsobject
intentIdstring
mcpProfilestring
outputstring
rubricScoresarray
stepstring
toolArgsobject
toolNamestring
verificationobject
infer_lesson_from_historyPerform autonomous inference on chat history to identify why a failure occurred and what rule should be recorded.2 params

Perform autonomous inference on chat history to identify why a failure occurred and what rule should be recorded.

Parameters* required
chatHistoryarray
lastActionobject
list_intentsList available intent plans and whether each requires human approval in the active profile3 params

List available intent plans and whether each requires human approval in the active profile

Parameters* required
bundleIdstring
mcpProfilestring
partnerProfilestring
plan_intentGenerate an intent execution plan with policy checkpoints8 params

Generate an intent execution plan with policy checkpoints

Parameters* required
approvedboolean
bundleIdstring
contextstring
delegationModestring
one of off · auto · sequential
intentIdstring
mcpProfilestring
partnerProfilestring
repoPathstring
start_handoffStart a sequential delegation handoff from a delegation-eligible intent plan9 params

Start a sequential delegation handoff from a delegation-eligible intent plan

Parameters* required
approvedboolean
bundleIdstring
contextstring
delegateProfilestring
intentIdstring
mcpProfilestring
partnerProfilestring
plannedChecksarray
repoPathstring
complete_handoffComplete a sequential delegation handoff and record verification outcomes8 params

Complete a sequential delegation handoff and record verification outcomes

Parameters* required
attemptsnumber
handoffIdstring
latencyMsnumber
outcomestring
one of accepted · rejected · aborted
resultContextstring
summarystring
tokenEstimatenumber
violationCountnumber
describe_reliability_entityGet the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.1 params

Get the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.

Parameters* required
typestring
one of Customer · Revenue · Funnel
get_reliability_rulesRetrieve active prevention rules and success patterns. Aliased to prevention_rules.

Retrieve active prevention rules and success patterns. Aliased to prevention_rules.

No parameter schema in public metadata yet.

enforcement_matrixShow the full Enforcement Matrix: feedback pipeline stats, active pre-action gates, and rejection ledger with revival conditions.

Show the full Enforcement Matrix: feedback pipeline stats, active pre-action gates, and rejection ledger with revival conditions.

No parameter schema in public metadata yet.

security_scanScan code for OWASP vulnerabilities (injection, XSS, path traversal, SSRF, prototype pollution) and supply chain risks (typosquatting, install script abuse, wildcard versions). Returns findings with severity, category, and line numbers.3 params

Scan code for OWASP vulnerabilities (injection, XSS, path traversal, SSRF, prototype pollution) and supply chain risks (typosquatting, install script abuse, wildcard versions). Returns findings with severity, category, and line numbers.

Parameters* required
contentstring
Code content to scan
diffModeboolean
When true, treats content as git diff output
filePathstring
File path for language-aware scanning
capture_memory_feedbackCapture success/failure feedback to harden future workflows. Aliased to capture_feedback.3 params

Capture success/failure feedback to harden future workflows. Aliased to capture_feedback.

Parameters* required
contextstring
signalstring
one of up · down
tagsarray
bootstrap_internal_agentNormalize a GitHub/Slack/Linear trigger into startup context, construct a recall pack, prepare a git worktree sandbox, and emit an execution plus reviewer-lane plan.15 params

Normalize a GitHub/Slack/Linear trigger into startup context, construct a recall pack, prepare a git worktree sandbox, and emit an execution plus reviewer-lane plan.

Parameters* required
approvedboolean
commentsarray
contextstring
delegationModestring
one of off · auto · sequential
intentIdstring
mcpProfilestring
messagesarray
partnerProfilestring
prepareSandboxboolean
repoPathstring
sandboxRootstring
sourcestring
one of github · slack · linear · api · cli
taskobject
threadobject
triggerobject
prevention_rulesGenerate prevention rules from repeated mistake patterns2 params

Generate prevention rules from repeated mistake patterns

Parameters* required
minOccurrencesnumber
outputPathstring
export_dpo_pairsExport DPO preference pairs from local memory log1 params

Export DPO preference pairs from local memory log

Parameters* required
memoryLogPathstring
export_hf_datasetExport ThumbGate agent traces and DPO preference pairs as a HuggingFace-compatible dataset. Produces traces.jsonl, preferences.jsonl, and dataset_info.json with PII-redacted paths. Ready for huggingface-cli upload.2 params

Export ThumbGate agent traces and DPO preference pairs as a HuggingFace-compatible dataset. Produces traces.jsonl, preferences.jsonl, and dataset_info.json with PII-redacted paths. Ready for huggingface-cli upload.

Parameters* required
includeProvenanceboolean
Include provenance events in traces (default: true)
outputDirstring
Output directory (default: feedback-dir/hf-dataset)
export_databricks_bundleExport ThumbGate logs and proof artifacts as a Databricks-ready analytics bundle1 params

Export ThumbGate logs and proof artifacts as a Databricks-ready analytics bundle

Parameters* required
outputPathstring
construct_context_packConstruct a bounded context pack from contextfs4 params

Construct a bounded context pack from contextfs

Parameters* required
maxCharsnumber
maxItemsnumber
namespacesarray
querystring
evaluate_context_packRecord evaluation outcome for a context pack6 params

Record evaluation outcome for a context pack

Parameters* required
guardrailsobject
notesstring
outcomestring
packIdstring
rubricScoresarray
signalstring
context_provenanceGet recent context/provenance events1 params

Get recent context/provenance events

Parameters* required
limitnumber
generate_skillAuto-generate Claude skills from repeated feedback patterns. Clusters failure patterns by tags and produces SKILL.md files with DO/INSTEAD rules.2 params

Auto-generate Claude skills from repeated feedback patterns. Clusters failure patterns by tags and produces SKILL.md files with DO/INSTEAD rules.

Parameters* required
minOccurrencesnumber
Minimum pattern occurrences to trigger skill generation (default 3)
tagsarray
Filter to specific tags
recallRecall relevant past feedback, memories, and prevention rules for the current task. Call this at the start of any task to inject past learnings into the conversation.3 params

Recall relevant past feedback, memories, and prevention rules for the current task. Call this at the start of any task to inject past learnings into the conversation.

Parameters* required
limitnumber
Max memories to return (default 5)
querystring
Describe the current task or context to find relevant past feedback
repoPathstring
Optional repository path for structural impact analysis on coding tasks
unified_contextAssemble a complete, role-aware context object in one call. Combines session state, user profile, relevant lessons, prevention guards, context pack, and code-graph impact — with tiered graceful degradation (full → warm → cold). Replaces multiple recall/retrieve/session_primer...5 params

Assemble a complete, role-aware context object in one call. Combines session state, user profile, relevant lessons, prevention guards, context pack, and code-graph impact — with tiered graceful degradation (full → warm → cold). Replaces multiple recall/retrieve/session_primer...

Parameters* required
agentTypestring
Agent type — shapes context budget and feature inclusionone of claude · cursor · forgecode · codex
querystring
Describe the current task to find relevant context
repoPathstring
Repository path for code-graph impact analysis
toolInputobject
Current tool input (for guard evaluation)
toolNamestring
Current tool being invoked (improves lesson matching)
satisfy_gateSatisfy a gate condition with optional structured reasoning. Evidence is stored with a 5-minute TTL. When structuredReasoning is provided, the premise/evidence/conclusion chain is stored in the audit trail.3 params

Satisfy a gate condition with optional structured reasoning. Evidence is stored with a 5-minute TTL. When structuredReasoning is provided, the premise/evidence/conclusion chain is stored in the audit trail.

Parameters* required
evidencestring
Evidence text (e.g., "0 unresolved threads")
gatestring
Gate condition ID to satisfy (e.g., pr_threads_checked)
structuredReasoningobject
Structured pre-gate reasoning: state premises, trace evidence, assess risk, derive conclusion before unlocking.
set_task_scopeDeclare or clear the current task scope so ThumbGate can compare affected files and diffs against the approved path set.7 params

Declare or clear the current task scope so ThumbGate can compare affected files and diffs against the approved path set.

Parameters* required
allowedPathsarray
Glob patterns that define the allowed file scope for this task
clearboolean
Clear the current task scope instead of setting one
localOnlyboolean
When true, also marks the task as local-only
protectedPathsarray
Optional protected-file globs that require explicit approval before editing or publishing
repoPathstring
Optional repo root used when evaluating git diff scope
summarystring
Short summary of the task being worked
taskIdstring
Optional stable task identifier (ticket, issue, or work item id)
get_scope_stateReturn the active task scope and any unexpired protected-file approvals.

Return the active task scope and any unexpired protected-file approvals.

No parameter schema in public metadata yet.

set_branch_governanceDeclare or clear branch and release governance so PR, merge, release, and publish actions can be evaluated against explicit workflow state.11 params

Declare or clear branch and release governance so PR, merge, release, and publish actions can be evaluated against explicit workflow state.

Parameters* required
baseBranchstring
Protected base branch for merge and release operations (defaults to main)
branchNamestring
Optional branch name the governance applies to
clearboolean
Clear the current branch governance state instead of setting it
localOnlyboolean
When true, PR, merge, release, and publish actions are blocked for this lane
prNumberstring
Optional pull request number once a PR exists
prRequiredboolean
Whether this lane must go through a pull request (defaults to true)
prUrlstring
Optional pull request URL once a PR exists
queueRequiredboolean
Whether the target branch requires a merge queue
releaseEvidencestring
Optional evidence or release plan note for the governed version
releaseSensitiveGlobsarray
Optional custom globs that define release-sensitive files for this branch lane
releaseVersionstring
Expected package version for release or publish actions
get_branch_governanceReturn the active branch and release governance state.

Return the active branch and release governance state.

No parameter schema in public metadata yet.

approve_protected_actionGrant a time-limited approval for edits or publish actions that touch protected files.5 params

Grant a time-limited approval for edits or publish actions that touch protected files.

Parameters* required
evidencestring
Optional supporting evidence or approval note
pathGlobsarray
Protected-file globs covered by this approval
reasonstring
Why this protected-file action is approved
taskIdstring
Optional task id this approval is tied to
ttlMsnumber
Optional approval lifetime in milliseconds (defaults to 1 hour, max 24 hours)
track_actionRecord a verification action in the current session (for example figma_verified or tests_passed). Session actions expire after one hour.2 params

Record a verification action in the current session (for example figma_verified or tests_passed). Session actions expire after one hour.

Parameters* required
actionIdstring
Verification action ID to record
metadataobject
Optional structured metadata describing the evidence source
verify_claimCheck whether a claim has enough tracked evidence before the agent asserts it.1 params

Check whether a claim has enough tracked evidence before the agent asserts it.

Parameters* required
claimstring
The claim text to verify
check_operational_integrityEvaluate whether the current repo state is safe for PR, merge, release, and publish operations.5 params

Evaluate whether the current repo state is safe for PR, merge, release, and publish operations.

Parameters* required
baseBranchstring
Protected base branch to compare against (defaults to main)
commandstring
Optional git, PR, or publish command to evaluate against the current governance state
repoPathstring
Optional repository path to inspect
requirePrForReleaseSensitiveboolean
When true, release-sensitive changes on non-base branches require an open PR
requireVersionNotBehindBaseboolean
When true, release-sensitive changes cannot lag behind the base branch package version
workflow_sentinelPredict pre-action workflow risk, blast radius, and remediations before a tool call executes.8 params

Predict pre-action workflow risk, blast radius, and remediations before a tool call executes.

Parameters* required
baseBranchstring
Optional protected base branch override (defaults to main)
changedFilesarray
Optional affected-file list used to estimate blast radius
commandstring
Optional shell command when toolName is Bash
filePathstring
Optional primary file path for edit-like tools
repoPathstring
Optional repository path used for git-aware integrity checks
requirePrForReleaseSensitiveboolean
When true, release-sensitive changes on non-base branches require an open PR
requireVersionNotBehindBaseboolean
When true, release-sensitive changes cannot lag behind the base branch package version
toolNamestring
Tool being assessed, such as Bash, Edit, or Write
register_claim_gateRegister a custom claim verification rule in local runtime state without editing tracked repo config.3 params

Register a custom claim verification rule in local runtime state without editing tracked repo config.

Parameters* required
claimPatternstring
Regex pattern that should trigger claim verification
messagestring
Custom message returned when evidence is missing
requiredActionsarray
Tracked actions that must be present before the claim is verified
gate_statsGet gate enforcement statistics -- blocked count, warned count, top gates

Get gate enforcement statistics -- blocked count, warned count, top gates

No parameter schema in public metadata yet.

dashboardGet full ThumbGate dashboard -- Harness Score, gate stats, prevention impact, proof, and system health

Get full ThumbGate dashboard -- Harness Score, gate stats, prevention impact, proof, and system health

No parameter schema in public metadata yet.

org_dashboardOrg-wide multi-agent dashboard — shows all active agents, gate decisions, adherence rates, risk agents, and top blocked gates across the organization. Team rollout: full visibility. Free preview: limited to 3 agents.1 params

Org-wide multi-agent dashboard — shows all active agents, gate decisions, adherence rates, risk agents, and top blocked gates across the organization. Team rollout: full visibility. Free preview: limited to 3 agents.

Parameters* required
windowHoursnumber
Lookback window in hours (default 24)
settings_statusResolve managed, user, project, and local ThumbGate settings with per-field origin metadata for policy visibility.

Resolve managed, user, project, and local ThumbGate settings with per-field origin metadata for policy visibility.

No parameter schema in public metadata yet.

commerce_recallRecall past feedback filtered by commerce categories (product_recommendation, brand_compliance, sizing, pricing, regulatory). Returns quality scores alongside memories for agentic commerce agents.3 params

Recall past feedback filtered by commerce categories (product_recommendation, brand_compliance, sizing, pricing, regulatory). Returns quality scores alongside memories for agentic commerce agents.

Parameters* required
categoriesarray
Commerce categories to filter (default: all commerce categories)
limitnumber
Max memories to return (default 5)
querystring
Product or brand context to find relevant past feedback
get_business_metricsRetrieve high-level business metrics (Revenue, Conversion, Customers) from the Semantic Layer.1 params

Retrieve high-level business metrics (Revenue, Conversion, Customers) from the Semantic Layer.

Parameters* required
windowstring
Analytics window (today, 7d, 30d, all)
describe_semantic_entityGet the canonical definition and state of a business entity (Customer, Revenue, Funnel).1 params

Get the canonical definition and state of a business entity (Customer, Revenue, Funnel).

Parameters* required
typestring
one of Customer · Revenue · Funnel
estimate_uncertaintyEstimate Bayesian uncertainty for a set of tags based on past feedback.1 params

Estimate Bayesian uncertainty for a set of tags based on past feedback.

Parameters* required
tagsarray
Tags to analyze for uncertainty
session_handoffWrite a session handoff primer that auto-captures git state (branch, last 5 commits, modified files), last completed task, next step, and blockers. The next session reads this automatically for seamless context continuity.6 params

Write a session handoff primer that auto-captures git state (branch, last 5 commits, modified files), last completed task, next step, and blockers. The next session reads this automatically for seamless context continuity.

Parameters* required
blockersarray
Open blockers or unresolved issues
customContextstring
Any additional context for the next session
lastTaskstring
What was completed this session
nextStepstring
Exact next action for the next session
openFilesarray
Key files being worked on
projectstring
Project name (auto-detected from cwd if omitted)
session_primerRead the most recent session handoff primer to restore context from the previous session. Call at session start.

Read the most recent session handoff primer to restore context from the previous session. Call at session start.

No parameter schema in public metadata yet.

list_harnessesList natural-language harness specs for portable workflow control, proof-backed verification, and GTM execution.1 params

List natural-language harness specs for portable workflow control, proof-backed verification, and GTM execution.

Parameters* required
tagstring
Optional tag filter such as verification, acquisition, or workflow.
run_harnessExecute a natural-language harness through the async job runner with checkpoints, verification, and proof-backed outcomes.3 params

Execute a natural-language harness through the async job runner with checkpoints, verification, and proof-backed outcomes.

Parameters* required
harnessstring
Harness id or file basename to execute.
inputsobject
Optional input overrides for template variables.
jobIdstring
Optional stable job id for the resulting runtime.
scheduleCreate, list, or delete scheduled tasks. Supports natural language scheduling like "daily 9:00", "weekly monday 8:30", "hourly". Installs as macOS LaunchAgent or Linux crontab.6 params

Create, list, or delete scheduled tasks. Supports natural language scheduling like "daily 9:00", "weekly monday 8:30", "hourly". Installs as macOS LaunchAgent or Linux crontab.

Parameters* required
actionstring
Schedule actionone of create · list · delete
commandstring
Node.js code to execute on schedule
descriptionstring
What this schedule does
namestring
Schedule name/ID
schedulestring
Schedule spec: "daily 9:00", "weekly monday 8:30", "hourly"
workingDirectorystring
Working directory for the command
user_profileManage persistent user profile — preferences, style, domain knowledge that persists across sessions. Actions: add, remove, replace, view.3 params

Manage persistent user profile — preferences, style, domain knowledge that persists across sessions. Actions: add, remove, replace, view.

Parameters* required
actionstring
Profile actionone of add · remove · replace · view
contentstring
Content to add or new content for replace
old_textstring
Substring to match for remove/replace
session_searchSearch past session notes and conversations using full-text search. Returns relevant sessions from the SQLite FTS5 index for cross-session recall.2 params

Search past session notes and conversations using full-text search. Returns relevant sessions from the SQLite FTS5 index for cross-session recall.

Parameters* required
limitnumber
Max results to return (default 10)
querystring
Search query to find relevant past sessions
open_feedback_sessionOpen a feedback session after thumbs up/down. Follow-up messages will be captured for 60s.3 params

Open a feedback session after thumbs up/down. Follow-up messages will be captured for 60s.

Parameters* required
feedbackEventIdstring
The feedback event ID from capture_feedback
initialContextstring
signalstring
one of up · down
append_feedback_contextAppend a follow-up message to an open feedback session. Call this when the user types additional context after giving thumbs up/down.3 params

Append a follow-up message to an open feedback session. Call this when the user types additional context after giving thumbs up/down.

Parameters* required
messagestring
The follow-up message from the user
rolestring
one of user · assistantdefault: user
sessionIdstring
finalize_feedback_sessionFinalize a feedback session and re-infer the lesson with all follow-up context.1 params

Finalize a feedback session and re-infer the lesson with all follow-up context.

Parameters* required
sessionIdstring
webhook_deliverSend a message to Teams, Slack, or Discord via webhook. Use for status reports, alerts, and notifications.4 params

Send a message to Teams, Slack, or Discord via webhook. Use for status reports, alerts, and notifications.

Parameters* required
messagestring
Message body (markdown supported)
platformstring
Target platformone of teams · slack · discord
titlestring
Message title
webhook_urlstring
Webhook URL for the target channel
reflect_on_feedbackRun a post-mortem analysis on negative feedback. Returns a proposed rule and recurrence info.4 params

Run a post-mortem analysis on negative feedback. Returns a proposed rule and recurrence info.

Parameters* required
contextstring
One-line context from the caller
conversationWindowarray
Last 5-10 conversation turns before the feedback signal.
feedbackEventIdstring
ID of a previously captured feedback event
whatWentWrongstring
What the caller said went wrong
report_product_issueReport a bug, suggestion, or complaint about ThumbGate itself (not project feedback). Auto-files a GitHub issue with system context. Use when the user expresses frustration or requests a feature for the thumbgate tool.3 params

Report a bug, suggestion, or complaint about ThumbGate itself (not project feedback). Auto-files a GitHub issue with system context. Use when the user expresses frustration or requests a feature for the thumbgate tool.

Parameters* required
bodystring
Description of the problem or suggestion, in the user own words
categorystring
Issue categoryone of bug · feature · question
titlestring
Short issue title (e.g. "Gate blocks valid migration")
run_managed_lesson_agentRun the LLM-powered lesson inference and rule generation agent over accumulated feedback. Requires ANTHROPIC_API_KEY for LLM mode; falls back to heuristics if unavailable.3 params

Run the LLM-powered lesson inference and rule generation agent over accumulated feedback. Requires ANTHROPIC_API_KEY for LLM mode; falls back to heuristics if unavailable.

Parameters* required
dryRunboolean
Preview what would be written without persisting
limitnumber
Max feedback entries to process (default: 20)
modelstring
Override the Claude model (default: claude-haiku-4-5)
managed_agent_statusShow status of the last managed lesson agent run: entries processed, lessons created, gates promoted, and total runs.

Show status of the last managed lesson agent run: entries processed, lessons created, gates promoted, and total runs.

No parameter schema in public metadata yet.

run_self_distillRun the self-distillation agent to auto-evaluate recent agent sessions and generate improvement lessons without human feedback. Reads conversation logs, detects success/failure signals, and persists lessons.3 params

Run the self-distillation agent to auto-evaluate recent agent sessions and generate improvement lessons without human feedback. Reads conversation logs, detects success/failure signals, and persists lessons.

Parameters* required
dryRunboolean
If true, analyzes but does not persist lessons
limitnumber
Max conversation logs to process (default 20)
modelstring
LLM model to use for analysis (requires ANTHROPIC_API_KEY)
self_distill_statusShow status of the last self-distillation run: sessions analyzed, lessons generated, signals detected.

Show status of the last self-distillation run: sessions analyzed, lessons generated, signals detected.

No parameter schema in public metadata yet.

context_stuff_lessonsDump ALL prevention lessons into a single text block for context-window injection. Bypasses RAG/search — returns every lesson sorted by confidence. For most projects (20-200 lessons), fits in 1K-10K tokens.3 params

Dump ALL prevention lessons into a single text block for context-window injection. Bypasses RAG/search — returns every lesson sorted by confidence. For most projects (20-200 lessons), fits in 1K-10K tokens.

Parameters* required
formatstring
Output format (default: compact)one of compact · full
maxTokenBudgetnumber
Approximate token budget (default: 10000)
signalstring
Filter by signal typeone of positive · negative

ThumbGate 👍 👎

ThumbGate Infrastructure Firewall with Thumbs Up and Thumbs Down

Self-improving pre-action firewall for AI coding agents
AI coding agents repeat mistakes — and one wrong tool call can wipe a directory, leak a key, or push broken code.

MCP Toplist CI npm License: MIT

Quick Start Watch Demo Try GPT Pro Tier


What it does

ThumbGate is the local-first Pre-Action Checks engine for AI coding agents. It runs in the PreToolUse hook to evaluate the proposed tool call before execution — so costly mistakes can be caught before they happen.

Tech memes (shareable)

Lightweight visuals for how agents fail without a pre-action gate:

MemeMeaning
Agent destroys prod without a gateUnchecked tool calls ship destructive commands.
Prompt vs PreToolUse hookA prompt is advice; a PreToolUse hook is enforcement.

It hard-blocks detected secret leaks and two direct self-disable command classes by default — commands that terminate the ThumbGate gate process or enable its bypass environment override. Other high-risk classes (rm -rf, force-push, fetch-and-run, direct guardrail edits) warn and log by default. Set THUMBGATE_STRICT_ENFORCEMENT=1 for strict enforcement (warnings become hard denies).

VerdictDefault behavior
⛔ Hard-blockDetected secret leaks; process-kill/environment-override self-disable
👎 Warn + logrm -rf, git push --force, fetch-and-run, direct guardrail edits — warn by default
👍 AllowEverything else

Accepted feedback is stored as local lessons. Repeated concrete failures can become prevention rules that promote from warnings to blocking gates. The firewall improves from operations without retraining the model. Prompt evaluation (npx thumbgate eval) turns accepted feedback into reusable eval cases and local proof reports.

Honest disclaimer: ThumbGate does not update model weights. It intercepts tool calls at runtime. Local-first — no cloud required for the enforcement path.

Works with Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, OpenCode, and other MCP agents.

AI Agent without ThumbGate vs Agent guarded by ThumbGate

  Agent tries:   rm -rf tests/
  ThumbGate:     👎 WARN + LOG — "Never delete test directories"
                 Pattern matched: rm.*-rf.*tests
                 Source: your thumbs-down from last Tuesday
                 Strict mode: ⛔ DENY before tool execution

Agentic development cycle fit

Agentic development is becoming a loop: Guide → Generate → Verify → Solve. ThumbGate is the pre-action gate / pre-action boundary between generated intent and executed action.


Quick Start

Want a phased walkthrough with a verify step at every stage? Follow the Progressive Setup Guide.

Progressive wiring — prove the pipe before you turn matching on. Empty dashboard is success.

npx thumbgate init          # Phase 1: hooks only
npx thumbgate doctor        # verify: exits 0 only when PreToolUse hook is wired (hidden metric = hook install, not gate count)
npx thumbgate dashboard --open  # Phase 2: open local HTML; empty stats are OK
npx thumbgate capture --feedback=down --context="Never run DROP on production tables" --what-went-wrong="agent proposed DROP" --what-to-change="require review for DROP"

Later DROP attempts in the same scope surface the check:

⚠️ Check fired: "Never run DROP on production tables"
   Pattern: DROP.*production
   Verdict: 👎 WARN + LOG   (⛔ BLOCK when THUMBGATE_STRICT_ENFORCEMENT=1)

Numbered configs: config/progressive/. Guide: progressive wiring.

MCP / Glama / registry install (stdio)

Directories and clients that install ThumbGate as an MCP server must start stdio MCP, not the HTTP API:

npx -y thumbgate serve
  • Equivalent: npx -y thumbgate mcp
  • Do not use npm start for MCP — that launches the hosted HTTP API (src/api/server.js), not the agent-facing stdio server.

▶ 90-second demo · GIF walkthrough


Install for your agent

AgentCommandEnforcement
Claude Codenpx thumbgate init --agent claude-code🛡️ Hard — PreToolUse
Codexnpx thumbgate init --agent codex🛡️ Hard — pre_tool_use
Gemini CLInpx thumbgate init --agent gemini🛡️ Hard — PreToolUse
ForgeCodenpx thumbgate init --agent forge🛡️ Hard — pre_tool_use
Cursornpx thumbgate init --agent cursor💬 Advisory — MCP gate_check
Clinenpx thumbgate init --agent cline💬 Advisory — MCP + .clinerules
OpenCodenpx thumbgate init --agent opencode💬 Advisory — MCP gate_check
Any MCP agentnpx thumbgate serve💬 Advisory — MCP gate_check
Ampnpx thumbgate init --agent amp📝 Feedback capture

Per-agent guides: Claude/Codex bridge · Codex profile · Cursor · MCP setup

Install scope: machine-wide vs per-project

ScopeCommandSettingsLessonsBest for
Machine-wide (default)npx thumbgate init~/.claude/settings.json~/.claude/memory/feedback/Solo operators — same machine-local feedback store across repos
Per-projectnpx thumbgate init --project<repo>/.claude/settings.json<repo>/.claude/memory/feedback/Client / compliance — separate dashboard / isolated lessons per repo

Both scopes write mcpServers.thumbgate plus PreToolUse / UserPromptSubmit / PostToolUse / SessionStart hooks. Machine-wide is the right default for most developers. Cross-repo blocking is not automatic: a lesson learned in one project only applies elsewhere when you share the store (machine-wide) or export/import lessons.

MCP tools (surface): gate_check (read/evaluate proposed tool call), feedback capture + session tools (write), dashboard/stats (read). Destructive agent actions stay blocked/warned by PreToolUse — ThumbGate does not execute user shell commands for you.


Discoverable slash-commands — the guardrail layer for spec-driven agents

Spec-driven agent frameworks like GSD (get-shit-done) and GitHub Spec Kit plan and generate work. ThumbGate is the guardrail layer for spec-driven agents: it sits after the plan, on the boundary between a generated tool call and its execution — alongside GSD / Spec-Kit, not instead of them.

npx thumbgate init installs these into your agent palette:

CommandWhat it does
/thumbgate-dashboardOpen local project dashboard
/thumbgate-guardTurn last mistake into a hard prevention rule
/thumbgate-rulesList active rules & lessons
/thumbgate-blockedGate stats + enforcement matrix
/thumbgate-protectBranch governance + scoped approval
/thumbgate-doctorHealth-check hooks, MCP, readiness

Pricing & buyer paths

Free tier: 2 feedback captures/day (10 total) and up to 3 active auto-promoted prevention rules. Pro ($19/mo or $149/yr) is the individual tier for unlimited rules, history-aware lessons, linked feedback session flow, personal dashboard, and DPO export. Enterprise is custom and scoped after intake; hosted team lesson sync and a hosted org dashboard are not general availability.

FreePro ($19/mo or $149/yr)Enterprise
Local CLI + PreToolUse✅✅Scoped after intake
Feedback captures2 feedback captures/day (10 total)UnlimitedScoped after intake
Active auto-promoted rulesup to 3 active auto-promoted prevention rulesUnlimitedScoped after intake
Personal dashboard + DPO export—✅Reviewed during intake
Hosted team lesson sync——Not general availability
Hosted org dashboard——Not general availability

Enterprise intake path: the Workflow Hardening Sprint scopes one repeated failure before any broader rollout commitment. Start intake →

Local technical path: install the CLI and use init plus the documented setup so Pre-Action Checks evaluate tool calls where the agent actually runs.

First-dollar activation path: open the ThumbGate GPT, paste the risky action, capture typed feedback (thumbs down: / thumbs up:). Native ChatGPT rating buttons are not the ThumbGate capture path. Ask: what repeated AI mistake would be worth catching before the tool executes?

Paid path for individual operators: ThumbGate Pro is the self-serve side lane for a personal dashboard and export-ready evidence.

Start free · Pro $19/mo · Live Dashboard · Team Sprint intake · Workflow Hardening Sprint · First Dollar Playbook

Popular buyer questions: AI search topical presence · Relational knowledge and AI recommendations · AI Mode ads for agent governance · MCP tool governance · AI agent pre-action approval gates · Background agent governance · GPT-5.5 model evaluation · Stop repeated AI agent mistakes · Browser automation safety · Native messaging host security · Autoresearch agent safety · Cursor guardrails · Codex CLI guardrails · Gemini CLI memory + enforcement · Google Cloud MCP guardrails · Roo Code alternative: migrate to Cline


How it works (short)

  1. Capture 👍/👎 feedback (CLI, MCP, linked feedback session flow / open_feedback_session, or ThumbGate GPT)
  2. Promote concrete lessons via history-aware lesson distillation into prevention rules
  3. Evaluate the next proposed tool call against active rules (literal/AST + local vectors)
  4. Allow / warn / deny before the tool runs
npx thumbgate brain --write   # → .thumbgate/BRAIN.md (lessons + gates in one artifact)

Pro operators can invoke search_lessons through MCP and use npx thumbgate lessons from the CLI. History-aware feedback sessions and lesson search are Pro capabilities; Free does not include recall or search.

Architecture diagram & stack

ThumbGate Architecture

flowchart LR
    A["Agent tool call"] --> B{"Rule match?"}
    B -- exact --> D["On-device gate"]
    B -- semantic --> C["Local LanceDB"]
    C --> D
    D -- secret/kill --> E["⛔ Hard-block"]
    D -- known-bad --> G["👎 Warn + log"]
    D -- safe --> F["👍 Allow"]
Built-in checks
⛔ secret-exfiltration → hard-block (default)
⛔ self-protect-kill   → hard-block (default)
⛔ self-protect-env    → hard-block (default)
⚠️ force-push          → warn; hard-block under strict
⚠️ protected-branch    → warn; hard-block under strict
⚠️ unresolved-threads  → warn; hard-block under strict
⚠️ package-lock-reset  → warn; hard-block under strict
CLI cheatsheet
npx thumbgate init
npx thumbgate doctor
npx thumbgate capture up|down "<text>"
npx thumbgate lessons
npx thumbgate brain --write
npx thumbgate dashboard --open
npx thumbgate break-glass --reason="ThumbGate over-fired"   # 5-min recovery
Pro: lesson + DPO export
# Portable lessons
curl -X POST http://localhost:3456/v1/lessons/export \
  -H "Authorization: Bearer $THUMBGATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"outputPath": "./lessons-export.json"}'

# DPO pairs for fine-tuning
curl -X POST http://localhost:3456/v1/dpo/export \
  -H "Authorization: Bearer $THUMBGATE_API_KEY" \
  -o dpo-pairs.jsonl

Tech Stack

LayerTech
RuntimeNode.js ≥18
InterfacesMCP stdio, HTTP API, CLI
StorageSQLite + FTS5, LanceDB vectors, JSONL logs
IntelligenceMemAlign dual recall, Thompson Sampling, local embeddings
Billing / hostStripe, Railway
ExecutionRailway, Cloudflare Workers, Docker Sandboxes
GovernanceWorkflow Sentinel, control plane, Docker Sandboxes

Every Changeset is tied to the exact main merge commit and generates Verification Evidence for Release Confidence.


Integrations (compact)

SurfaceStart here
Open ThumbGate GPTthumbgate.ai/go/gpt — ThumbGate GPT: start here. Paste agent actions, get advice + checkpointing. No, users do not have to keep chatting inside the ThumbGate GPT to use ThumbGate — the hard enforcement layer still runs where the work happens.
Install Codex PluginOpen the Codex plugin install page: thumbgate.ai/codex-plugin · zip: thumbgate-codex-plugin.zip · plugins/codex-profile/INSTALL.md
Claude Desktop .mcpblatest release
VS Code / Open VSXplugins/vscode-extension/README.md
Antigravity-compatibleplugins/antigravity-extension/INSTALL.md
JetBrainsplugins/jetbrains-plugin/README.md · JetBrains Marketplace path for the same runtime
ChatGPT App / GPT Actionthumbgate.ai/chatgpt-app
ThumbGate-Core (staging)https://github.com/IgorGanapolsky/ThumbGate-Core — pre-release staging + a few internal cache scripts; not the product moat

Docs

Full index: docs/INDEX.md

NeedLink
Agent workflow contractWORKFLOW.md
Ready-for-agent intake.github/ISSUE_TEMPLATE/ready-for-agent.yml
Verification Evidencedocs/VERIFICATION_EVIDENCE.md
Release Confidencedocs/RELEASE_CONFIDENCE.md
Changeset strategydocs/CHANGESET_STRATEGY.md
First Dollar Playbookdocs/FIRST_DOLLAR_PLAYBOOK.md
Security policySECURITY.md
Threat modelTHREAT_MODEL.md
Federal / regulateddocs/FEDERAL.md
Commercial Truthdocs/COMMERCIAL_TRUTH.md
Issues / PRsGitHub Issues · PR template

FAQ (one-liners): Not a fine-tuner (runtime intercept only). Different from CLAUDE.md / .cursorrules (those are context; ThumbGate is an external allow/warn/deny before tools run).


Who builds this

Igor Ganapolsky — payments (Stripe/Connect), AI agent guardrails/MCP, Android + backends. Small number of contract slots: $120–150/hr, 1099, remote US. LinkedIn · thumbgate.ai

License

MIT — see LICENSE. Project policy: SECURITY.md · THREAT_MODEL.md.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Registryactive
Packagethumbgate
TransportSTDIO
UpdatedMay 29, 2026
View on GitHub

More from igorganapolsky

  • Rlhf Feedback Loop23
  • MCP Memory Gateway23