cli-policy-audit
What it does
This skill shows how to search audit logs and request history from the command line. It is for administrators handling security reviews or compliance checks.
When to use it
- ✓When a user needs to review audit logs for a security or compliance check.
- ✓When a user wants to find who changed something and when.
- ✓When a user needs to export audit records for a chosen time range.
Skill link
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-policy-audit/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me all audit events from last week for one user and export them to a file.”
5 new skills a week. 1 minute to read.
How it works
The skill lists commands to tail, search, export and get statistics from audit logs, filtering by source, actor, action and dates. It also covers request logs, with filters such as request ID, combo, status code and duration.
Technical content (original SKILL.md)
Original text by the author, straight from 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
Flags:
--file <path>
Example:
omniroute policy create
policy update <id>
Flags:
--file <path>
Example:
omniroute policy update <id>
policy delete <id>
Flags:
--yes
Example:
omniroute policy delete <id>
policy evaluate
Flags:
--api-key <k>--action <a>--resource <r>--context <json>
Example:
omniroute policy evaluate
policy export <file>
Example:
omniroute policy export <file>
policy import <file>
Flags:
--overwrite
Example:
omniroute policy import <file>
telemetry
Example:
omniroute telemetry
telemetry summary
Flags:
--period <p>--compare-to <p>
Example:
omniroute telemetry summary
telemetry export
Flags:
--out <path>--period <p>
Example:
omniroute telemetry export
FAQ
Can I export audit logs?
Yes. The export command writes records to a file in a chosen format and date range.
Can I follow new events live?
Yes. The tail command has a follow option.
Can I filter request logs?
Yes. The logs command can filter by request ID, combo name, status code and duration.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 84k
- Ranking position
- #1409
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cli-a2a
84kRuns the OmniRoute command line for agent-to-agent tasks, letting you send work, check task history and test skills.
cli-backup-sync
84kRuns OmniRoute data backups from the command line, including snapshots, cloud sync, schedules and restores from archives.
cli-batches
84kSubmits batch AI jobs from the command line, tracks their progress and saves results or errors, including for CI pipelines.
cli-chat
84kSends chat requests to AI models from the command line, with streaming replies, system prompts and an interactive session.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.