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 nsheapsv0.2.27In 1 marketplace
Makes Claude assess each tool call for destructive, privilege or exfiltration risk before it runs, then allow, block or ask. It says it runs inline with no external calls; decisions rest on Claude's judgment.
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.
An AI-powered pre-tool-call safety evaluation plugin for Claude Code that uses prompt-style hooks for inline security assessment.
This plugin installs a prompt-style hook that provides Claude with safety evaluation instructions before every tool call. Unlike the script-style variant, this approach:
See Installation Guide for all installation methods.
# Via marketplace (recommended)
# Follow marketplace setup: ../../docs/manual-installation.md
# Or via GitHub
claude plugins install github:nsheaps/ai-mktpl/plugins/safety-evaluation-prompt
# Or locally for testing
cc --plugin-dir /path/to/plugins/safety-evaluation-prompt
The prompt instructs Claude to evaluate tool calls against these security criteria:
The plugin uses this decision framework:
| Operation Type | Decision |
|---|---|
| Normal development (git, npm, file editing) | ALLOW |
| Read-only operations (cat, ls, grep) | ALLOW |
| Obviously dangerous (rm -rf /, credential theft) | BLOCK |
| Ambiguous/risky | ASK USER |
| Aspect | Prompt Style (This Plugin) | Script Style |
|---|---|---|
| Execution | Inline Claude evaluation | External script process |
| Latency | Lower (no external calls) | Higher (separate CLI call) |
| Context | Full conversation context | Limited to tool call only |
| Flexibility | Natural language only | Full programming capabilities |
| Customization | Edit the prompt text | Environment variables, logging |
| Determinism | Context-dependent | More deterministic |
Choose the prompt-style plugin when:
Choose the script-style plugin when:
To customize the safety evaluation criteria, edit the prompt field in the plugin.json file. The prompt uses natural language, so you can:
{
"type": "prompt",
"prompt": "SAFETY EVALUATION: ... [existing prompt] ...\n\nADDITIONAL RULES FOR THIS PROJECT:\n- Never allow commands that access the /production directory\n- Always ask before running database migrations\n- Block any npm publish commands"
}
Edit the prompt to be more permissive for your use case, or add specific exceptions for common operations in your workflow.
Strengthen the prompt with more specific examples of operations that should be blocked in your environment.
7-day copy clicks
npx claudepluginhub nsheaps/ai-mktpl --plugin safety-evaluation-promptPlugins from other owners that cover similar ground
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.