By camjac251
Intelligent permission gate for all Claude Code tools. AST-parses Bash commands, guards file reads/writes, and blocks dangerous tool invocations. Tracks manually approved commands and helps promote them to permanent rules.
Review and approve pending tool-gates permissions. Lists commands you've been manually approving with counts and suggested glob patterns, lets you multi-select which to permanently allow, and writes rules to settings.json.
Test how tool-gates evaluates any tool invocation (Bash, Read, Write, Edit, Glob) and show the permission decision (allow/ask/deny).
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub camjac251/tool-gates --plugin tool-gatesSmart command safety filter for Claude Code — parses shell pipelines and evaluates per-command safety rules to auto-approve safe commands and block dangerous ones
Safety hooks to block or require user approval for dangerous commands (rm, git operations, .env access, file size limits)
Block destructive git and filesystem commands before execution
PreToolUse hook that auto-approves safe Bash commands by parsing them into an AST and matching against configurable patterns
A secure runtime for Claude Code. Intercepts every tool call with policy-based allow/block/ask decisions, evasion detection, path fencing, file snapshots, and audit logging.
Achieve flow state safely with Claude Code. Auto-approves routine work, gates risky actions, hard-blocks dangerous patterns. Dual enforcement (skill + hooks), token cap for cost governance, full audit trail. Zero dependencies.