cli-policy-audit

SkillDev tools

AI gateway with enhanced compliance for China domestic regulations

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the cli-policy-audit skill

What this skill tells your AI

The instructions your AI receives, as published by jaccen/airoute in skills/cli-policy-audit/SKILL.md and read by ahel’s review.

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 AIRoute   # or: npx AIRoute
AIRoute --version

Subcommands

audit

Example:

AIRoute audit

audit tail

Flags:

  • --source <s>
  • --follow
  • --limit <n>

Example:

AIRoute audit tail

audit search <query>

Flags:

  • --source <s>
  • --since <ts>
  • --until <ts>
  • --limit <n>
  • --actor <id>
  • --action <a>

Example:

AIRoute audit search <query>

audit export <file>

Flags:

  • --source <s>
  • --format <f>
  • --since <ts>
  • --until <ts>

Example:

AIRoute audit export <file>

audit stats

Flags:

  • --source <s>
  • --period <p>

Example:

AIRoute audit stats

audit get <id>

Flags:

  • --source <s>

Example:

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:

AIRoute logs

policy

Example:

AIRoute policy

policy list

Flags:

  • --kind <k>
  • --scope <s>

Example:

AIRoute policy list

policy get <id>

Example:

AIRoute policy get <id>

policy create

Example:

AIRoute policy create

policy update <id>

Example:

AIRoute policy update <id>

policy delete <id>

Flags:

  • --yes

Example:

AIRoute policy delete <id>

policy evaluate

Flags:

  • --resource <r>
  • --context <json>

Example:

AIRoute policy evaluate

policy export <file>

Example:

AIRoute policy export <file>

policy import <file>

Flags:

  • --overwrite

Example:

AIRoute policy import <file>

telemetry

Example:

AIRoute telemetry

telemetry summary

Flags:

  • --period <p>
  • --compare-to <p>

Example:

AIRoute telemetry summary

telemetry export

Flags:

  • --out <path>
  • --period <p>

Example:

AIRoute telemetry export

Signals

GitHub stars
32
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cli-policy-audit-jaccen
Source
github.com/jaccen/airoute