agentleFS
vikas8520-codervikas8520-coder/nerve/skills/cli-policy-audit/SKILL.md

cli-policy-audit

Skill0 starsChanged 3 months agoMITView on GitHub

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.

  • Installs packages

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md
<!-- 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 nerve   # or: npx nerve
nerve --version

Subcommands

audit

Example:

nerve audit

audit tail

Flags:

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

Example:

nerve audit tail

audit search <query>

Flags:

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

Example:

nerve audit search <query>

audit export <file>

Flags:

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

Example:

nerve audit export <file>

audit stats

Flags:

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

Example:

nerve audit stats

audit get <id>

Flags:

  • --source <s>

Example:

nerve 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:

nerve logs

policy

Example:

nerve policy

policy list

Flags:

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

Example:

nerve policy list

policy get <id>

Example:

nerve policy get <id>

policy create

Example:

nerve policy create

policy update <id>

Example:

nerve policy update <id>

policy delete <id>

Flags:

  • --yes

Example:

nerve policy delete <id>

policy evaluate

Flags:

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

Example:

nerve policy evaluate

policy export <file>

Example:

nerve policy export <file>

policy import <file>

Flags:

  • --overwrite

Example:

nerve policy import <file>

telemetry

Example:

nerve telemetry

telemetry summary

Flags:

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

Example:

nerve telemetry summary

telemetry export

Flags:

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

Example:

nerve telemetry export

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.