cli-policy-audit
The cli-policy-audit skill provides command-line tools for auditing, policy management, and telemetry monitoring within the OmniRoute system. Use it to inspect audit logs with filtering by event type, user, or time range; manage access control policies; export compliance data; and review system telemetry and request history for compliance workflows and security oversight.
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-policy-audit && cp -r /tmp/cli-policy-audit/skills/cli-policy-audit ~/.claude/skills/cli-policy-auditSKILL.md
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## 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 ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `audit` **Example:** ```bash omniroute audit ``` ### `audit tail` **Flags:** - `--source <s>` - `--follow` - `--limit <n>` **Example:** ```bash omniroute audit tail ``` ### `audit search <query>` **Flags:** - `--source <s>` - `--since <ts>` - `--until <ts>` - `--limit <n>` - `--actor <id>` - `--action <a>` **Example:** ```bash omniroute audit search <query> ``` ### `audit export <file>` **Flags:** - `--source <s>` - `--format <f>` - `--since <ts>` - `--until <ts>` **Example:** ```bash omniroute audit export <file> ``` ### `audit stats` **Flags:** - `--source <s>` - `--period <p>` **Example:** ```bash omniroute audit stats ``` ### `audit get <id>` **Flags:** - `--source <s>` **Example:** ```bash 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:** ```bash omniroute logs ``` ### `policy` **Example:** ```bash omniroute policy ``` ### `policy list` **Flags:** - `--kind <k>` - `--scope <s>` **Example:** ```bash omniroute policy list ``` ### `policy get <id>` **Example:** ```bash omniroute policy get <id> ``` ### `policy create` **Example:** ```bash omniroute policy create ``` ### `policy update <id>` **Example:** ```bash omniroute policy update <id> ``` ### `policy delete <id>` **Flags:** - `--yes` **Example:** ```bash omniroute policy delete <id> ``` ### `policy evaluate` **Flags:** - `--resource <r>` - `--context <json>` **Example:** ```bash omniroute policy evaluate ``` ### `policy export <file>` **Example:** ```bash omniroute policy export <file> ``` ### `policy import <file>` **Flags:** - `--overwrite` **Example:** ```bash omniroute policy import <file> ``` ### `telemetry` **Example:** ```bash omniroute telemetry ``` ### `telemetry summary` **Flags:** - `--period <p>` - `--compare-to <p>` **Example:** ```bash omniroute telemetry summary ``` ### `telemetry export` **Flags:** - `--out <path>` - `--period <p>` **Example:** ```bash omniroute telemetry export ```
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.