Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By fprochazkav0.2.0MITIn 1 marketplace
Auto-approves safe Bash commands and blocks risky or wasteful ones before they run, using a Vertex AI model. Needs a GCP project with Vertex AI access, and every Bash command is sent to that model.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
AI-powered tool use validation for Claude Code using LLM backends (Vertex AI, etc.) to evaluate command safety and correctness.
Uses a PermissionRequest hook to intercept Bash commands before they execute and evaluates them with an LLM backend:
/tmp are auto-approvedOther tools (Write, Edit, Read, etc.) are not validated and pass through to the user directly. This is intentional to avoid interfering with Claude's built-in permission modes.
claude plugin marketplace add fprochazka/claude-code-plugins --scope user
claude plugin install ai-tool-use-validator@fprochazka-claude-code-plugins --scope user
The plugin requires a Python CLI tool. Clone the repo and install with pipx:
git clone https://github.com/fprochazka/claude-code-plugins.git
pipx install ./claude-code-plugins/plugins/ai-tool-use-validator
gcloud auth application-default login
mkdir -p ~/.config/claude-code-tool-use-validator
cat > ~/.config/claude-code-tool-use-validator/config.toml << 'EOF'
project_id = "your-gcp-project-id"
region = "europe-west1"
model = "claude-opus-4-5@20251101"
EOF
claude-code-tool-use-validator --verify
This will test the API connection and display the response.
Once installed, the validator evaluates tool calls automatically:
● Bash(npm test 2>&1 | tail -n 50)
⎿ Error: Don't truncate test output with `| tail` - if you need to see
more context later, you'd have to re-run the entire test suite.
⎿ Denied by PermissionRequest hook
● Bash(rm -rf node_modules)
⎿ (No content)
⎿ Allowed by PermissionRequest hook
The config file is located at ~/.config/claude-code-tool-use-validator/config.toml.
| Option | Required | Default | Description |
|---|---|---|---|
project_id | Yes | - | Your GCP project ID with Vertex AI access |
region | No | global | Vertex AI region (global, us-east5, europe-west1, etc.) |
model | No | claude-opus-4-5@20251101 | Model to use for validation |
Check Google Cloud documentation for available models in your project.
| Model | Example Model ID |
|---|---|
| Claude Opus 4.5 | claude-opus-4-5@20251101 |
| Claude Sonnet 4.5 | claude-sonnet-4-5@20250929 |
| Claude Haiku 3 | claude-3-haiku@20240307 |
If you get a 404 error:
region = "us-east5" instead of "global"gcloud auth application-default set-quota-project YOUR_PROJECT_IDThe plugin uses a PermissionRequest hook that invokes the claude-code-tool-use-validator binary for Bash tool calls. Other tools (Read, Write, Edit, etc.) are passed through to the user immediately - the validator intentionally does not auto-approve these to avoid interfering with Claude's built-in permission modes.
When a tool call triggers the hook:
This means you'll briefly see permission dialogs even for safe commands, but they'll disappear automatically once the validator approves them.
The validator:
allow - Auto-approve the tool usedeny with message - Block and provide feedback to Claudeask or no output - Show the normal permission dialog to the userAll decisions are logged to syslog. Monitor with:
tail -f /var/log/syslog | grep claude-code-tool-validator
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub fprochazka/claude-code-plugins --plugin ai-tool-use-validatorPlugins from other owners that cover similar ground