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.
- 30 stars
- 0 votes
- 0 copies
- 1 view
- Added November 8, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add majiayu000/claude-skill-registry-data --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/majiayu000-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 nextroute # or: npx nextroute
nextroute --version
```
## Subcommands
### `audit`
**Example:**
```bash
nextroute audit
```
### `audit tail`
**Flags:**
- `--source <s>`
- `--follow`
- `--limit <n>`
**Example:**
```bash
nextroute audit tail
```
### `audit search <query>`
**Flags:**
- `--source <s>`
- `--since <ts>`
- `--until <ts>`
- `--limit <n>`
- `--actor <id>`
- `--action <a>`
**Example:**
```bash
nextroute audit search <query>
```
### `audit export <file>`
**Flags:**
- `--source <s>`
- `--format <f>`
- `--since <ts>`
- `--until <ts>`
**Example:**
```bash
nextroute audit export <file>
```
### `audit stats`
**Flags:**
- `--source <s>`
- `--period <p>`
**Example:**
```bash
nextroute audit stats
```
### `audit get <id>`
**Flags:**
- `--source <s>`
**Example:**
```bash
nextroute 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
nextroute logs
```
### `policy`
**Example:**
```bash
nextroute policy
```
### `policy list`
**Flags:**
- `--kind <k>`
- `--scope <s>`
**Example:**
```bash
nextroute policy list
```
### `policy get <id>`
**Example:**
```bash
nextroute policy get <id>
```
### `policy create`
**Example:**
```bash
nextroute policy create
```
### `policy update <id>`
**Example:**
```bash
nextroute policy update <id>
```
### `policy delete <id>`
**Flags:**
- `--yes`
**Example:**
```bash
nextroute policy delete <id>
```
### `policy evaluate`
**Flags:**
- `--resource <r>`
- `--context <json>`
**Example:**
```bash
nextroute policy evaluate
```
### `policy export <file>`
**Example:**
```bash
nextroute policy export <file>
```
### `policy import <file>`
**Flags:**
- `--overwrite`
**Example:**
```bash
nextroute policy import <file>
```
### `telemetry`
**Example:**
```bash
nextroute telemetry
```
### `telemetry summary`
**Flags:**
- `--period <p>`
- `--compare-to <p>`
**Example:**
```bash
nextroute telemetry summary
```
### `telemetry export`
**Flags:**
- `--out <path>`
- `--period <p>`
**Example:**
```bash
nextroute telemetry export
```
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.