Back to skills
SKILL.md
Cli Policy Audit
ASecurityInspect 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.
- 34 stars
- 0 votes
- 0 copies
- 2 views
- Added September 8, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add jaccen/AIRoute --skill cli-policy-audit --agent claude-codeAre you the author of Cli Policy Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jaccen-cli-policy-audit)---
name: cli-policy-audit
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.
---
<!-- 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 AIRoute # or: npx AIRoute
AIRoute --version
```
## Subcommands
### `audit`
**Example:**
```bash
AIRoute audit
```
### `audit tail`
**Flags:**
- `--source <s>`
- `--follow`
- `--limit <n>`
**Example:**
```bash
AIRoute audit tail
```
### `audit search <query>`
**Flags:**
- `--source <s>`
- `--since <ts>`
- `--until <ts>`
- `--limit <n>`
- `--actor <id>`
- `--action <a>`
**Example:**
```bash
AIRoute audit search <query>
```
### `audit export <file>`
**Flags:**
- `--source <s>`
- `--format <f>`
- `--since <ts>`
- `--until <ts>`
**Example:**
```bash
AIRoute audit export <file>
```
### `audit stats`
**Flags:**
- `--source <s>`
- `--period <p>`
**Example:**
```bash
AIRoute audit stats
```
### `audit get <id>`
**Flags:**
- `--source <s>`
**Example:**
```bash
AIRoute 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
AIRoute logs
```
### `policy`
**Example:**
```bash
AIRoute policy
```
### `policy list`
**Flags:**
- `--kind <k>`
- `--scope <s>`
**Example:**
```bash
AIRoute policy list
```
### `policy get <id>`
**Example:**
```bash
AIRoute policy get <id>
```
### `policy create`
**Example:**
```bash
AIRoute policy create
```
### `policy update <id>`
**Example:**
```bash
AIRoute policy update <id>
```
### `policy delete <id>`
**Flags:**
- `--yes`
**Example:**
```bash
AIRoute policy delete <id>
```
### `policy evaluate`
**Flags:**
- `--resource <r>`
- `--context <json>`
**Example:**
```bash
AIRoute policy evaluate
```
### `policy export <file>`
**Example:**
```bash
AIRoute policy export <file>
```
### `policy import <file>`
**Flags:**
- `--overwrite`
**Example:**
```bash
AIRoute policy import <file>
```
### `telemetry`
**Example:**
```bash
AIRoute telemetry
```
### `telemetry summary`
**Flags:**
- `--period <p>`
- `--compare-to <p>`
**Example:**
```bash
AIRoute telemetry summary
```
### `telemetry export`
**Flags:**
- `--out <path>`
- `--period <p>`
**Example:**
```bash
AIRoute telemetry export
```
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.