thumbgate weekly downloads statistics
By IgorGanapolsky · npm · Claude Code
ThumbGate Pre-Action Checks turn thumbs-downs on agent commands into checks before the next run, and deny catastrophic commands and secret leaks by default.
thumbgate has 10,460 recorded weekly downloads on npm, an increase of 2204% over the past 30 days, ranking #1238 of 3,247 tracked listings.
About thumbgate
ThumbGate 👍 👎
<p align="center"> <a href="https://thumbgate.ai"> <img src="docs/media/thumbgate-hero-banner.svg" alt="ThumbGate Infrastructure Firewall with Thumbs Up and Thumbs Down" width="100%" /> </a> </p> <p align="center"> <b>ThumbGate checks AI coding actions before they run: allow, warn or deny</b><br> It checks every tool call your agent is about to make and stops the dangerous ones before they run. </p> <p align="center"> <a href="https://github.com/IgorGanapolsky/ThumbGate/actions/workflows/ci.yml"><img src="https://github.com/IgorGanapolsky/ThumbGate/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/thumbgate"><img src="https://img.shields.io/npm/v/thumbgate" alt="npm version" /></a> <a href="https://www.npmjs.com/package/thumbgate"><img src="https://img.shields.io/npm/dw/thumbgate" alt="npm weekly downloads" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT" /></a> </p>What it does
ThumbGate checks an AI coding agent's actions before they run. Catastrophic commands and secret leaks are denied; your thumbs-downs become checks on the next matching command. One wrong tool call can wipe a directory, leak a key, or push broken code.
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.
- Blocks the worst commands out of the box: secret leaks, force-push,
git reset --hard,rm -rfon home or root,DROP TABLE. - Holds after your 👎: the command your agent just ran is held until you say go ahead.
- Checks some claims: in Claude Code, a reply that says "deployed" with no proof, or states that something is open or running with no check, is sent back to the agent.
- Runs on your machine: no account and no cloud needed for the checks.
Works with Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, OpenCode, and other MCP agents. ▶ 90-second demo · GIF walkthrough
Quick Start
You need Node.js 18 or newer. Run these two commands in the project where your agent works:
npx thumbgate init # finds your agent (Claude Code, Cursor, Codex, ...) and installs the hooks
npx thumbgate doctor # checks that the hooks are really wired
What success looks like: doctor prints Overall: READY and exits with code 0. If it says something is missing, it lists what to fix; run init again or pick your agent from the table below.
That's it. The built-in checks are now active. Your agent can keep working as usual; ThumbGate only speaks up when a tool call matches a check.
See a block without risking anything. This hands ThumbGate the same input your agent's hook would, without running the command:
echo '{"tool_name":"Bash","tool_input":{"command":"git push --force"}}' | npx thumbgate gate-check
You get "permissionDecision":"deny" and [GATE:force-push] Force push blocked. In a real session, the agent gets that answer and the push never runs.
Your first gate, start to finish (Claude Code)
Run in an empty git project with an empty HOME from the published package on 27 Nov 2026. … marks lines cut for length. The two echo lines send the hooks what Claude Code sends them, so nothing is deployed.
1. Install
$ npx thumbgate init --agent claude-code
…
Claude Code: wired PreToolUse hook
…
2. The agent is about to run a command. {} means ThumbGate has no objection.
$ echo '{"tool_name":"Bash","tool_input":{"command":"npm run deploy:staging"},"session_id":"demo"}' | npx thumbgate gate-check
{}
3. Create the gate. In Claude Code you just type thumbs down: that deployed to the wrong environment. From a terminal:
$ echo '{"prompt":"thumbs down: that deployed to the wrong environment","session_id":"demo"}' | npx thumbgate hook-auto-capture
ThumbGate hold: thumbs-down received. `npm run deploy:staging …` is refused until the person says "go ahead". Ask what to change. …
✅ Feedback captured …
4. Trigger it: the block
$ echo '{"tool_name":"Bash","tool_input":{"command":"npm run deploy:staging"},"session_id":"demo"}' | npx thumbgate gate-check
{"hookSpecificOutput":{"hookEventName":"PreToolUse","permissionDecision":"deny","permissionDecisionReason":"[GATE:thumbs-down-hold] The person gave a thumbs-down right after `npm run deploy:staging …`. That action is held until the person says to go on (a thumbs-up or \"go ahead\"). …"}}
5. Check the wiring
$ npx thumbgate doctor
…
Overall: READY
…
ThumbGate MCP wiring doctor: OK
…
held: `npm run deploy:staging …` clear it: npx thumbgate holds release
…
This gate is a hold: npx thumbgate holds release clears it.
Teach it your first rule (optional)
When your agent does something you never want repeated, give it a thumbs-down:
In Claude Code you can also install it as a plugin:
/plugin marketplace add IgorGanapolsky/ThumbGate
/plugin install thumbgate@thumbgate-marketplace
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"
From then on the agent sees that lesson before a matching action. After three matching thumbs-downs it becomes a check that warns, or blocks with THUMBGATE_STRICT_ENFORCEMENT=1. (DROP TABLE itself is already denied by default.)
To see your rules and what was caught, run npx thumbgate dashboard --open. An empty dashboard on day one is normal; it means nothing has fired yet.…
Description from the npm listing.
- mcp
- mcp-server
- ai-agents
- agent-skills
- skill
- context-engineering
- pre-action-checks
- ai-agent-safety
- guardrails
- feedback-memory
- thumbgate
- llmops
- dpo
- agentic-commerce
- agent-quality
- commerce
- prevention-rules
- thompson-sampling
- memalign
- dual-memory
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm Claude Code plugins
All 20 thumbgate alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/thumbgate. First seen Dec 4, 2026; last successful collection Dec 6, 2026. See the methodology.