# is-cli-agentic: curl

- **slug:** `builtin/curl`
- **ecosystem:** builtin · **package:** `curl`
- **rubric:** 1.0.0
- **agentTested:** false
- **grade (deterministic only):** D (60/100)
- **status:** done

## Deterministic checks

### D1 Legibility — 0% (0/15)
- [FAIL] machine-readable schema (`schema` / `--describe` returns JSON) — no capability document; agent must parse help prose
  - **Fix:** Add a `schema` or `--describe` command that prints the complete command, option, input, and output schema as JSON.
- [FAIL] exposes an MCP surface — no
  - **Fix:** Expose the same command surface as MCP tools over stdio and make `tools/list` work without credentials.
- [FAIL] help contains usage examples — no
  - **Fix:** Add copy-pasteable examples to top-level and subcommand help, including one successful machine-readable invocation.

### D2 Structured I/O — 50% (10/20)
- [FAIL] documents a JSON output mode — no machine-parseable output documented
  - **Fix:** Add and document `--json` or `--output json`, then keep its keys and types stable for scripts and agents.
- [PASS] no ANSI escapes when the stream is piped — clean
- [PASS] has a quiet mode — yes

### D3 Non-blocking — 80% (16/20)
- [PASS] does not hang when stdin is a non-delivering pipe — ok
- [PASS] --help does not hang — ok
- [FAIL] documents a non-interactive escape hatch — no
  - **Fix:** Document a non-interactive mode that supplies defaults or exits with an actionable error whenever input is missing.
- [PASS] cold invocation under 3s — 0.13s

### D4 Context economy — 100% (15/15)
- [PASS] help fits an agent context budget — 908 bytes (~227 tokens)
- [PASS] does not reprint full help on every mistake — 286 bytes

### D6 Safety rails — 50% (5/10)
- [FAIL] offers a dry-run — no
  - **Fix:** Add `--dry-run` to mutating commands; validate locally and print the exact planned changes without making network calls.
- [PASS] offers an explicit confirmation bypass — yes

### D7 Error recovery — 100% (20/20)
- [PASS] unknown subcommand exits non-zero — exit 6
- [PASS] unknown flag exits non-zero — exit 2
- [PASS] error message is terse — 286 bytes

### D9 Cold credentials — 30% (6/20)
- [FAIL] names its credential env var in its own help surface — agent must already know the variable name; undiscoverable from --help
  - **Fix:** Name the supported credential environment variable in `--help`, including its precedence over config files.
- [FAIL] offers a no-account or temporary-account path — no; the agent stops at the signup wall
  - **Fix:** Offer a documented temporary, guest, or claim-later path so a cold agent can complete one useful task without signup.
- [PASS] does not launch a browser auth flow in a headless context — ok

---
Every score links to the trajectory that produced it. The rubric is published and frozen before the first public score.