cli-policy-audit

cli-policy-audit is a skill for Claude Code, Codex from diegosouzapw/OmniRoute. It costs 39 tokens per session (873 once invoked), scanned A, original, MIT.

A command-line tool for reviewing records of system activity, access decisions, and requests. Audit logs are records used to trace who did what and when.

In plain words
What is it for?
Use it to follow live audit events, search by event, user, action, or time, inspect individual records, export logs, view statistics, and filter regular logs.
Why use it?
It makes investigations and compliance checks easier by letting you search, filter, inspect, and export activity records from one interface.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/diegosouzapw/omniroute/cli-policy-audit
Any agent
npx skills add diegosouzapw/OmniRoute --skill cli-policy-audit
Clone the repo
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute

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 cli-policy-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/diegosouzapw/omniroute/cli-policy-audit.svg)](https://agentmods.dev/skills/diegosouzapw/omniroute/cli-policy-audit)
Your own site
<a href="https://agentmods.dev/skills/diegosouzapw/omniroute/cli-policy-audit"><img src="https://agentmods.dev/badge/skills/diegosouzapw/omniroute/cli-policy-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.00873
Opus 5 $0.00019 $0.00436
Sonnet 5 $0.00008 $0.00175
Haiku 4.5 $0.00004 $0.00087

Measured 4d ago against content hash a22159b51e0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli-policy-audit 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 4d 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/cli-policy-audit/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

Inspect audit logs, manage access policies, view telemetry data, and review request history from the CLI. Filter by event type, user, or time range for compliance workflows.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

audit

Example:

omniroute audit

audit tail

Flags:

  • --source <s>
  • --follow
  • --limit <n>

Example:

omniroute audit tail

audit search <query>

Flags:

  • --source <s>
  • --since <ts>
  • --until <ts>
  • --limit <n>
  • --actor <id>
  • --action <a>

Example:

omniroute audit search <query>

audit export <file>

Flags:

  • --source <s>
  • --format <f>
  • --since <ts>
  • --until <ts>

Example:

omniroute audit export <file>

audit stats

Flags:

  • --source <s>
  • --period <p>

Example:

omniroute audit stats

audit get <id>

Flags:

  • --source <s>

Example:

omniroute audit get <id>

logs

Flags:

  • --follow
  • --filter <level>
  • --lines <n>
  • --timeout <ms>
  • --base-url <url>
  • --request-id <id>
  • --api-key <key>
  • --combo <name>
  • --status <code>
  • --duration-min <ms>
  • --duration-max <ms>
  • --export <path>

Example:

omniroute logs

policy

Example:

omniroute policy

policy list

Flags:

  • --kind <k>
  • --scope <s>

Example:

omniroute policy list

policy get <id>

Example:

omniroute policy get <id>

policy create

Example:

omniroute policy create

policy update <id>

Example:

omniroute policy update <id>

policy delete <id>

Flags:

  • --yes

Example:

omniroute policy delete <id>

policy evaluate

Flags:

Read the full file on GitHub · 245 lines

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. 4d ago First seen · 245 lines · 39 tokens per session scan A a22159b51e0a

Subscribe to this mod's changes

cli-policy-audit is a skill published in the GitHub repository diegosouzapw/OmniRoute (59,841 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 873 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

workflow-ai-coding

Edit, validate, debug, publish, and inspect ReachAI Workflow drafts through the Workflow AI Coding REST API. Use when asked to create or modify a workflow graph, add/update/delete nodes or edges, validate GraphSpec, dry-run or debug-run a workflow, inspect trace/run output, check release readiness, publish a validated…

w8123/EnterpriseAgentFramework · 85 tokens

reachai-onboarding

Integrate Java business systems with ReachAI SDK registration, SDK instance heartbeat, gateway/embed access, and optional API Management handoff. Use when asked to connect a Spring Boot service to ReachAI, add reachai-capability-sdk or reachai-spring-boot2-starter, configure…

w8123/EnterpriseAgentFramework · 96 tokens

advogado-criminal-v2

ADVOGADO CRIMINALISTA SENIOR — ESPECIALISTA EM DIREITO PENAL E MARIA DA PENHA workflow skill. Use this skill when the user needs Advogado criminalista especializado em Maria da Penha, violencia domestica, feminicidio, direito penal brasileiro, medidas protetivas, inquerito policial e acao penal and the operator should…

diegosouzapw/awesome-omni-skills · 98 tokens

test-compliance-proxy

End-to-end smoke test for the Compliance Proxy. Use when the user wants to verify that the running compliance-proxy correctly MITM-intercepts HTTPS provider traffic on :3128, applies the compliance pipeline, and writes matching trafficevent rows (source = 'compliance-proxy') plus Prometheus counters. Trigger keywords…

AlphaBitCore/nexus-gateway · 135 tokens

project-review

Run a full-system multi-role audit of the gateway using review prompts for 9 specialist roles — admin dashboard, client, API, architecture, security, compliance, and more. Findings from every role are remediated through the standard workflow. Trigger keywords: project review, multi-role review, full system audit…

AlphaBitCore/nexus-gateway · 72 tokens

aegisops-ai-v2

/aegisops-ai — Autonomous Governance Orchestrator workflow skill. Use this skill when the user needs Autonomous DevSecOps & FinOps Guardrails. Orchestrates Gemini 3 Flash to audit Linux Kernel patches, Terraform cost drifts, and K8s compliance and the operator should preserve the upstream workflow, copied support…

diegosouzapw/awesome-omni-skills · 83 tokens