agent-bom-enforce

agent-bom-enforce is a skill for Claude Code, Codex from msaad00/agent-bom. It costs 50 tokens per session (973 once invoked), scanned A, a copy of agent-bom-enforce, Apache-2.0.

A runtime security proxy for MCP tool calls. MCP is a protocol that lets an agent use external tools, while a proxy can inspect those calls before passing them on.

In plain words
What is it for?
Use it to enforce policy rules that block shell execution, restrict file paths, or otherwise allow or deny MCP calls based on their tool names and arguments.
Why use it?
It can stop dangerous operations at the moment they are requested instead of relying only on an agent or tool to behave safely.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to enforce policy rules that block shell execution, restrict file paths, or otherwise allow or deny MCP calls based on their tool names and arguments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/msaad00/agent-bom/enforce
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add msaad00/agent-bom --skill enforce
Clone the repo
git clone --depth 1 https://github.com/msaad00/agent-bom

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-bom-enforce

README.md
[![agentmods](https://agentmods.dev/badge/skills/msaad00/agent-bom/enforce/github.svg)](https://agentmods.dev/skills/msaad00/agent-bom/enforce)
Your own site
<a href="https://agentmods.dev/skills/msaad00/agent-bom/enforce"><img src="https://agentmods.dev/badge/skills/msaad00/agent-bom/enforce/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-bom-enforce

Your own site · 80×15
<a href="https://agentmods.dev/skills/msaad00/agent-bom/enforce"><img src="https://agentmods.dev/badge/skills/msaad00/agent-bom/enforce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00973
Opus 5.5 $0.00020 $0.00389
Sonnet 5.5 $0.00010 $0.00195
Haiku 4.5 $0.00005 $0.00097

Measured 1mo ago against content hash 43b9341ce72e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-bom-enforce scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to agent-bom-enforce — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

integrations/openclaw/enforce/SKILL.md · 115 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 43b9341ce72e
  2. 1mo ago Changed a67a173b9da5
  3. 1mo ago Changed 9ada3b8ea214
  4. 1mo ago Changed 31fcc9c4617f
  5. 1mo ago Changed 1d65f7cfce04
  6. 2mo ago Changed 033fdbde2dce
  7. 2mo ago Changed 64b245f27a3b
  8. 2mo ago Changed b966b2daff65
  9. 2mo ago Changed 21d642b006e2
  10. 2mo ago First seen · 115 lines · 50 tokens per session scan A 95bead2c68f4

Subscribe to this mod's changes

agent-bom-enforce is a skill published in the GitHub repository msaad00/agent-bom (31 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 973 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to agent-bom-enforce, differing in 21 lines, and is treated as a copy.

Related

agent-bom-enforce compared with skills from other repositories

agent-bom-enforce next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-bom-enforcemsaad00/agent-bomSkill311mo agoApache-2.0A50Claude Code, Codex
implementing-aqua-security-for-container-scanningxalgorix/xalgorixSkill1.5k2d agoApache-2.0A41Claude Code, Codex
performing-container-security-scanning-with-trivyxalgorix/xalgorixSkill1.5k2d agoApache-2.0A48Claude Code, Codex
scanning-container-images-with-grypexalgorix/xalgorixSkill1.5k2d agoApache-2.0C29Claude Code, Codex
scanning-containers-with-trivy-in-cicdxalgorix/xalgorixSkill1.5k2d agoApache-2.0A74Claude Code, Codex
scanning-docker-images-with-trivyxalgorix/xalgorixSkill1.5k2d agoApache-2.0A42Claude Code, Codex
performing-vulnerability-scanning-with-nessusxalgorix/xalgorixSkill1.5k2d agoApache-2.0B89Claude Code, Codex