/SKILL.md
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, capture structured feedback on agent output, generate prevention rules from failure patterns, gate high-risk actions before execution, or export DPO training pairs from production feedback. Works with any MCP-compatible agent including Cursor, Codex, Gemini CLI, Amp, and OpenCode.
npx skillsauth add igorganapolsky/rlhf-feedback-loop thumbgateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
Security scan pending...
This skill is queued for security scanning. Results will appear when the scan completes.
Pre-action gates that stop AI coding agents from repeating known mistakes.
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
Add to your agent's MCP config (e.g., claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"thumbgate": {
"command": "npx",
"args": ["-y", "thumbgate"]
}
}
}
When an agent action succeeds or fails, capture structured feedback:
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.
Gates intercept tool calls via the MCP PreToolUse hook. Each gate checks the proposed action against:
If a match is found, the gate blocks execution and surfaces the prior failure context.
Bounded retrieval of relevant feedback history for the current task. The agent gets exactly the lessons that matter, not the entire history.
| Tool | Description |
|------|-------------|
| capture_feedback | Record thumbs-up/down with structured context |
| search_lessons | Query the lesson DB by keyword or semantic similarity |
| get_prevention_rules | Retrieve active prevention rules for the current context |
| session_primer | Get session handoff context (last task, next step, blockers) |
| export_dpo | Export feedback pairs in DPO training format |
| | Free | Pro | Team | |---|---|---|---| | Feedback capture | 3/day | Unlimited | Unlimited | | Lesson search | 5/day | Unlimited | Unlimited | | Active gates | 5 | Unlimited | Unlimited | | Dashboard | - | Yes | Yes | | DPO export | - | Yes | Yes | | Seats | 1 | 1 | Per-seat | | Price | $0 | $19/mo or $149/yr | $49/seat/mo |
Start a 7-day free trial of Pro: https://thumbgate-production.up.railway.app/pro?utm_source=skill&utm_medium=agent_context&utm_campaign=pro_page
ThumbGate works with any MCP-compatible agent:
testing
Make any ThumbGate-facing copy (landing pages, README, Reddit/LinkedIn/Bluesky posts, comparison pages, docs, outreach drafts) sound like ThumbGate — direct, technical, honest, anti-hype. Use BEFORE writing or editing any customer-facing or marketing text for ThumbGate.
testing
# Skill: Verify Pricing Surfaces Repeatable skill for verifying all revenue-generating pages are live, have analytics, and have working Stripe links. Covers both ThumbGate and ApplyOps. ## When to use - Session startup (quick health check) - After any deploy to ThumbGate or ApplyOps - CEO asks "why aren't we making money?" or "is everything working?" - Before any pricing/checkout changes ## Steps ### 1. ThumbGate pricing surfaces ```bash # Homepage — all 3 analytics curl -sL https://thumbg
development
# Skill: Pull Funnel Data Repeatable skill for pulling checkout funnel analytics data from all sources into a readable local report. ## When to use - CEO asks "why aren't we making money?" or "what does the funnel look like?" - Before any pricing/checkout changes - Weekly revenue check-in ## Steps ### 1. Run the live Plausible poller ```bash cd /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo npm run social:poll:plausible ``` This pulls live Plausible visitors, source attribution,
tools
# Skill: Configure Analytics Repeatable skill for setting up Plausible, PostHog, and GA4 analytics keys in both local `.env` and Railway production environment variables. ## When to use - New session notices analytics env vars are missing - After rotating any analytics API key - After creating a new GA4 property ## Prerequisites - Chrome logged into: plausible.io, us.posthog.com, analytics.google.com - Railway MCP authenticated OR Chrome logged into railway.com ## Steps ### 1. Gather keys