Skip to content

camjac251/tool-gates

v1.22.0MIT

Intelligent permission gate for Claude Code shell, file, search, Skill, and MCP tool surfaces. AST-parses Bash commands, guards file reads/writes, and blocks configured tool invocations. Defers benign asks to CC's resolver so the prompt UI shows the 'Yes, and don't ask again for X' button, while keeping a deny floor for dangerous patterns. Tracks one-time approvals so they can be batch-promoted to permanent rules later.

allowed-tools

  • Bash(echo:*)1 skill
  • Bash(tool-gates approve:*)1 skill
  • Bash(tool-gates pending list:*)1 skill
  • Bash(tool-gates rules list:*)1 skill
  • Bash(tool-gates:*)1 skill
plugin.json
name
tool-gates
version
1.22.0
description
Intelligent permission gate for Claude Code shell, file, search, Skill, and MCP tool surfaces. AST-parses Bash commands, guards file reads/writes, and blocks configured tool invocations. Defers benign asks to CC's resolver so the prompt UI shows the 'Yes, and don't ask again for X' button, while keeping a deny floor for dangerous patterns. Tracks one-time approvals so they can be batch-promoted to permanent rules later.
author
camjac251
license
MIT

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • com.anthropic.claude-codeships a directory of files