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.
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.
policy, authorization, claude-code, codex, antigravity, cursor, muse, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Deterministic policy enforcement for AI agent tool calls. Integrated tool calls pass through user-defined rules before execution. No LLM in the authorization path. Advisory nudges are separate from authorization.
# crates.io
cargo install signet-eval
# from source
git clone https://github.com/wandercom/signet-eval
cd signet-eval
cargo install --path .
There is no npm or PyPI package for signet-eval. The public distribution path is
crates.io plus source install from GitHub. The MCP Registry listing points at
the repository metadata; the runtime is the local signet-eval serve stdio
server.
The command-hook adapters below remain supported and independent. For Claude Code's optional early-access function hooks, see the function adapter. It is disabled by default; installing/building this package does not activate it or change user settings.
1. Hook into Claude Code — add to ~/.claude/settings.json:
{
"hooks": {
"PreToolUse": [{
"matcher": "",
"hooks": [{"type": "command", "command": "signet-eval", "timeout": 2000}]
}]
}
}
For Codex, enable hooks in ~/.codex/config.toml or <repo>/.codex/config.toml:
[features]
codex_hooks = true
Then add ~/.codex/hooks.json or <repo>/.codex/hooks.json:
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "signet-eval --adapter codex",
"timeout": 30000,
"statusMessage": "Checking Signet policy"
}]
}],
"PermissionRequest": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "signet-eval --adapter codex-permission",
"timeout": 30000,
"statusMessage": "Checking Signet approval policy"
}]
}]
}
}
For Antigravity, add this block to ~/.gemini/config/hooks.json (merge it with any existing hook groups):
{
"signet": {
"enabled": true,
"PreToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter antigravity'",
"timeout": 30,
"statusMessage": "Checking Signet policy"
}]
}]
}
}
The same configuration is available at hooks/antigravity-hooks.json.
For Cursor, add to ~/.cursor/hooks.json (user) or <repo>/.cursor/hooks.json
(project), merging with any existing events:
{
"version": 1,
"hooks": {
"preToolUse": [{
"command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'",
"matcher": "^(?!Shell$|MCP:)",
"timeout": 30,
"failClosed": true
}],
"beforeShellExecution": [{
"command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'",
"timeout": 30,
"failClosed": true
}],
"beforeMCPExecution": [{
"command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'",
"timeout": 30,
"failClosed": true
}]
}
}
The same configuration is available at hooks/cursor-hooks.json.
The preToolUse matcher skips shell and MCP calls because the two dedicated
events evaluate them; without it, each such call is evaluated and logged twice.
For Muse Code, add a top-level hooks member to ~/.config/muse/settings.json
(user scope; keep schema_version and your other settings), or save the file as
<repo>/.muse/hooks.json (project scope, which Muse enables only for trusted
workspaces):
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{"type": "command", "command": "signet-eval --adapter muse"}]
}]
}
}
The same configuration is available at hooks/muse-hooks.json.
2. Done. Every tool call now passes through policy evaluation. The default policy blocks destructive operations, protects its own configuration, and allows everything else.
3. (Optional) Customize — talk to Claude with the MCP server:
claude mcp add --scope user --transport stdio signet -- signet-eval serve
Then say: "Add a $50 limit for amazon orders" or "Block all rm commands".
Self-protection rules are locked — they cannot be removed, edited, or reordered by the AI agent, even through the MCP management server. This prevents the agent from disabling its own guardrails.
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.
Generated from the plugin's indexed repository (wandercom/signet-eval) — no native marketplace selected
npx claudepluginhub p/wandercom-signet-evalPlugins from other owners that cover similar ground