# anc

Audit CLI tools against the agent-native standard

**Score:** 100% pass rate
**Principles:** 8/8 met

## Embed the badge

This score (100%) clears the [badge floor](https://anc.dev/badge) (70%). Copy this into your README:

```markdown
[![agent-native](https://anc.dev/badge/anc.svg)](https://anc.dev/score/anc)
```

| Status | Audit | Principle | Evidence |
|--------|-------|-----------|----------|
| PASS | Help flag produces useful output | [P3](https://anc.dev/p3) |  |
| PASS | Version flag works (`--version` plus short alias) | [P3](https://anc.dev/p3) |  |
| PASS | Version flag works (`--version` plus short alias) | [P3](https://anc.dev/p3) |  |
| PASS | Structured output support | [P2](https://anc.dev/p2) |  |
| PASS | Rejects invalid arguments | [P4](https://anc.dev/p4) |  |
| PASS | Quiet mode available | [P7](https://anc.dev/p7) |  |
| PASS | Handles SIGPIPE gracefully | [P6](https://anc.dev/p6) |  |
| PASS | Non-interactive by default | [P1](https://anc.dev/p1) |  |
| SKIP | Non-interactive gate flag advertised in --help | [P1](https://anc.dev/p1) | target satisfies P1 via alternative gate (help-on-bare or stdin-primary) |
| PASS | Flags advertise env-var bindings in --help | [P1](https://anc.dev/p1) |  |
| SKIP | Pager-using CLI ships --no-pager escape hatch | [P6](https://anc.dev/p6) | no pager signal (less/more/$PAGER/--pager) in --help |
| PASS | Respects NO_COLOR | [P6](https://anc.dev/p6) |  |
| PASS | Secret-bearing flags expose stdin or *-file companion | [P1](https://anc.dev/p1) |  |
| PASS | Structured-output CLI exposes its schema at runtime | [P2](https://anc.dev/p2) |  |
| PASS | --json / --jsonl short aliases for --output | [P2](https://anc.dev/p2) |  |
| PASS | Subcommand verbs follow community-standard names | [P6](https://anc.dev/p6) |  |
| PASS | Skill bundle has install path (`tool skill install [<host>]`) | [P8](https://anc.dev/p8) |  |
| PASS | `skill install --all` for multi-runtime install | [P8](https://anc.dev/p8) |  |
| PASS | `skill update` / `skill upgrade` for bundle refresh | [P8](https://anc.dev/p8) |  |
| PASS | `--raw` flag for pipe-safe unformatted output | [P2](https://anc.dev/p2) |  |
| SKIP | `--output` advertises additional formats beyond text/json | [P2](https://anc.dev/p2) | no `--output` or `--format` flag advertised; vacuous skip for MAY-tier extra formats. |
| PASS | `examples` subcommand or `--examples` flag for curated usage patterns | [P3](https://anc.dev/p3) |  |
| PASS | `--color` flag for explicit color control | [P6](https://anc.dev/p6) |  |
| PASS | `--verbose` flag for diagnostic escalation | [P7](https://anc.dev/p7) |  |
| SKIP | `--limit` / `--max-results` flag for list operations | [P7](https://anc.dev/p7) | no list-style subcommand detected (list/ls/search/query/find/show/get); vacuous skip for the list-only SHOULD. |
| SKIP | Cursor-based pagination flags for list traversal | [P7](https://anc.dev/p7) | no list-style subcommand detected; vacuous skip for the list-only MAY. |
| PASS | `--help` advertises default values for flags | [P1](https://anc.dev/p1) |  |
| PASS | Rich-TUI affordance for TTY contexts | [P1](https://anc.dev/p1) |  |
| PASS | Short `-h` summary differs from `--help` long form | [P3](https://anc.dev/p3) |  |
| PASS | Input-accepting commands read from stdin when no file is given | [P6](https://anc.dev/p6) |  |
| PASS | Subcommand naming follows a consistent verb/noun convention | [P6](https://anc.dev/p6) |  |
| SKIP | `--timeout` flag for long-running operations | [P7](https://anc.dev/p7) | no long-running subcommand detected (serve/daemon/watch/tail/monitor/follow/run/start/stream); vacuous skip for the conditional SHOULD. |
| PASS | Bad invocation exits with structured usage-error code (2) | [P2](https://anc.dev/p2) |  |
| PASS | Error messages include a hint or remediation phrase | [P4](https://anc.dev/p4) |  |
| PASS | Errors emit JSON envelope with `error`/`kind`/`message` under `--output json` | [P2](https://anc.dev/p2) |  |
| PASS | `--output json` produces JSON-formatted errors | [P4](https://anc.dev/p4) |  |
| PASS | JSON success and error envelopes share their non-payload key set | [P2](https://anc.dev/p2) |  |
| PASS | Each subcommand's `--help` ships at least one invocation example | [P3](https://anc.dev/p3) |  |
| PASS | Help text pairs human and `--output json` example invocations | [P3](https://anc.dev/p3) |  |
| PASS | Operations are subcommands, not verb-shaped flags | [P6](https://anc.dev/p6) |  |
| SKIP | Destructive subcommands require `--force` or `--yes` | [P5](https://anc.dev/p5) | no destructive subcommands detected; MUST applies conditionally to CLIs with destructive operations. |
| SKIP | Read and write surfaces are both visible in subcommand list | [P5](https://anc.dev/p5) | no recognizable read or write subcommand verbs; the read/write distinction is unobservable from the help surface alone. |
| PASS | Help text advertises TTY-aware verbosity behavior | [P7](https://anc.dev/p7) |  |

**Repo:** [brettdavies/agentnative-cli](https://github.com/brettdavies/agentnative-cli)
**Language:** Rust
**Version scored:** 0.5.0
**Audit date:** 2026-06-01 17:36:41 UTC
**Duration:** 124ms
**Platform:** `linux/x86_64`
**Mode:** command
**Anc build:** 0.5.0
**Install:** `brew install brettdavies/tap/agentnative`

## Reproduce locally

```bash
anc audit --command anc --output json
```
