agent-bom-enforce
БесплатноБез исполняемых скриптовНе проверенEnforce security policies on MCP tool calls and block dangerous operations at runtime. Use when: "block risky calls", "apply policy", "proxy", "runtime…
от koda-ai-studio★ 39 звёзд на GitHubОб этом скилле
agent-bom-enforce — Runtime Policy Enforcement
Enforces security policies on MCP tool calls and blocks dangerous operations at runtime. Runs a local proxy that intercepts MCP calls and evaluates them against policy-as-code rules.
Install
pipx install agent-bom
agent-bom gateway init-policy -o policy.json --format proxy --mode enforce
agent-bom proxy --url https://mcp.example.com --policy policy.json
When to Use
- "block risky calls" / "block dangerous MCP calls"
- "apply policy" / "enforce policy"
- "proxy" / "MCP proxy"
- "runtime protection"
- "policy enforcement"
- "intercept MCP calls"
Commands
# Start the enforcement proxy
agent-bom gateway init-policy -o policy.json --format proxy --mode enforce
agent-bom proxy --url https://mcp.example.com --policy policy.json
Example Policy File
# policy.yaml
rules:
- id: block-shell-exec
description: Block shell execution tool calls
match:
tool: "bash|shell|exec|run_command"
action: block
severity: critical
- id: require-path-allowlist
description: Restrict filesystem access to allowed paths
match:
tool: "read_file|write_file|list_directory"
args.path:
not_starts_with: ["/home/", "/tmp/"]
action: block
severity: high
Guardrails
- IMPORTANT: Do not start the proxy or apply policies without explicit user confirmation — enforcement changes how MCP calls are processed.
- Confirm the policy file contents with the user before applying.
- Do not enable proxy mode autonomously — always ask the user first.
- Audit logs are written locally only; no data is transmitted externally.
- This skill has
disable-model-invocation: true— do not auto-run enforcement actions.
Установить agent-bom-enforce в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-bom-enforce?
Enforce security policies on MCP tool calls and block dangerous operations at runtime. Use when: "block risky calls", "apply policy", "proxy", "runtime protection", "policy enforcement", "intercept MCP calls".
Как установить скилл agent-bom-enforce?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-bom-enforce запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic