os-control-policy-reviewer

os-control-policy-reviewer is an agent for Claude Code from donaldfilimon/abi. It costs 56 tokens per session (407 once invoked), scanned A, original, Apache-2.0.

A read-only security reviewer for ABI's operating-system command policy. It checks the difference between dry-run plans and real execution, command validation, audit records, and the required confirmation flag.

In plain words
What is it for?
Use it when changing OS-control code or reviewing the abi agent os command paths and their safety tests.
Why use it?
It helps ensure a dry run cannot execute commands and that real execution cannot bypass policy checks. It also verifies that execution requires explicit confirmation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it when changing OS-control code or reviewing the abi agent os command paths and their safety tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/donaldfilimon/abi/os-control-policy-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: Claude Code.

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 os-control-policy-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/donaldfilimon/abi/os-control-policy-reviewer/github.svg)](https://agentmods.dev/agents/donaldfilimon/abi/os-control-policy-reviewer)
Your own site
<a href="https://agentmods.dev/agents/donaldfilimon/abi/os-control-policy-reviewer"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/os-control-policy-reviewer/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 os-control-policy-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/donaldfilimon/abi/os-control-policy-reviewer"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/os-control-policy-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 407 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 original No closer match found 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.00056 $0.00407
Opus 5.5 $0.00022 $0.00163
Sonnet 5.5 $0.00011 $0.00081
Haiku 4.5 $0.00006 $0.00041

Measured 15d ago against content hash 5490c8cc336a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

os-control-policy-reviewer 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 15d 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.

.claude/agents/os-control-policy-reviewer.md · 16 lines

What it actually says

You audit the OS-control policy subsystem and report; never edit source.

Context (per CLAUDE.md and the source):

  • CLI: abi agent os dry-run (plan only) and abi agent os execute --confirm <cmd> [args...] — execution REQUIRES --confirm; without it the handler returns usage (exit 2). Handler: crates/abi-cli/src/agent.rs (agent-os path). Policy: crates/abi-cli/src/os/ (os.rs, os/policy.rs, os/audit.rs). There is no feat-os-control feature — crates/abi-cli/Cargo.toml declares only default, experimental-dghv-bootstrap, and full-fhe. The phrase appears solely as descriptive text in the bundled os-control-plugin demo manifest, which is not a build gate.
  • The dry-run path must NOT execute anything; the execute path must enforce the policy (whitelisting/validation) before running.

Method: read crates/abi-ai or abi-cli os-control path and the agent-os handler; trace the dry-run vs execute split and verify --confirm is mandatory for execution and that policy validation runs on the execute path. Check that command validation can't be bypassed and that failures aren't silently swallowed.

Report: the policy validation + confirm-gate logic (file:line), whether dry-run is truly side-effect-free, any bypass of the --confirm requirement, and any command-injection or unvalidated-arg risk. Treat this as safety-critical — flag anything that could execute an unintended command.

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. 15d ago First seen · 16 lines · 56 tokens per session scan A 5490c8cc336a

Subscribe to this mod's changes

os-control-policy-reviewer is an agent published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 407 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

os-control-policy-reviewer compared with agents from other repositories

os-control-policy-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
os-control-policy-reviewerdonaldfilimon/abiAgent185d agoApache-2.0A56Claude Code
Test Coveragecontinuedev/continueAgent37ktodayApache-2.0A9Claude Code
Error Message Qualitycontinuedev/continueAgent37ktodayApache-2.0A12Claude Code
Input Validationcontinuedev/continueAgent37ktodayApache-2.0A13Claude Code
code-reviewerechoVic/blade-codeAgent18114d agoMITA30Claude Code
architect-reviewerechoVic/blade-codeAgent18114d agoMITA43Claude Code
pr-test-analyzerfuxicodex/FuxiAgent3.2k6d agononeA101Claude Code