# Audit Log Review

Reads audit logs, access policies, telemetry and request history for compliance reviews.

- Repository: https://github.com/cheaper-inference/OmniRoute (83611 stars)
- Category: Security
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add cheaper-inference/OmniRoute --skill cli-policy-audit -g -a claude-code -y`
Codex: `npx skills add cheaper-inference/OmniRoute --skill cli-policy-audit -g -a codex -y`
Cursor: `npx skills add cheaper-inference/OmniRoute --skill cli-policy-audit -g -a cursor -y`
Gemini CLI: `npx skills add cheaper-inference/OmniRoute --skill cli-policy-audit -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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

**Flags:**

- `--file <path>`

**Example:**

```bash
omniroute policy create
```

### `policy update <id>`

**Flags:**

- `--file <path>`

**Example:**

```bash
omniroute policy update <id>
```

### `policy delete <id>`

**Flags:**

- `--yes`

**Example:**

The rest: https://github.com/cheaper-inference/OmniRoute/blob/HEAD/skills/cli-policy-audit/SKILL.md
