Skip to content
Skillpedia
Security84k · #1409

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

Copy 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

Use this skill to help me: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-policy-audit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

<!-- 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

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.

repo: cheaper-inference/OmniRoute

Popularity

GitHub stars
84k
Ranking position
#1409
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills