Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

curlie

$ curlie Community Med Risk
Olivier Poitrey (rs) · Browser & Web · MIT · macos / linux / windows

curlie translates HTTPie-style Header:Value and key=value inputs into native curl arguments, then executes your system curl binary. Agents can pass --curl to print the generated curl command without executing it.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install curlie
CLI vs MCP Decision CLI Only

Ideal lightweight shell wrapper when an agent wants HTTPie-like ergonomics while still relying on curl flags like --resolve or --cacert.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Inherits all curl non-interactive flags (-fsS, --max-time), disables pretty formatting off-TTY, and offers --curl dry-run output.

  • Supports --curl translation and full curl flag passthrough
Trust & Safety 21 / 25

--curl enables safe command inspection before execution; runtime risk matches curl.

  • --curl prints exact command without sending HTTP traffic
Setup & Portability 14 / 15

Single Go binary via brew or go install, though it depends on system curl being present.

  • Static Go binary wrapping ubiquitous system curl
Utility & Efficiency 13 / 15

Bridges HTTPie syntax sugar with advanced curl options (--resolve, --unix-socket, mTLS).

  • Passes through every native curl flag alongside JSON shorthand
Maintenance & Lineage 9 / 10

Maintained by Olivier Poitrey (rs/curlie) under MIT license.

  • Hosted at rs/curlie under MIT license
Docs & Verifiability 8 / 10

Concise README and --help, relying on curl documentation for transport flags.

  • README documents shorthand syntax and curl delegation

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Delegates all transport and .netrc auth handling directly to the underlying curl binary.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, MIT open-source Go binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# curlie Agent Rules
- Remember `curlie` requires the `curl` binary on `PATH` and forwards `curl` flags like `-fsS` and `--max-time`.
- Use `curlie --curl` to inspect generated `curl` arguments before executing mutating calls.

Agent-Ready Command Recipes

Safe Read-Only Queries

Fetch an endpoint using curl flags and clean output
curlie -fsS GET https://api.github.com/zen

Forwards -fsS to curl and disables pretty-printing automatically when piped.

Preview the generated curl command
curlie --curl POST https://httpbin.org/post name=demo count:=1

Prints the exact underlying curl invocation without making a network request.

Controlled Writes & Previews

Post JSON with curl fail-on-error and timeout
curlie -fsS --max-time 15 POST https://httpbin.org/post status=ok retries:=2

Combines curl error handling with concise JSON body shorthand.

Strengths for Agents

  • + Full curl flag compatibility (--unix-socket, --resolve, --cacert) with HTTPie JSON ergonomics.
  • + --curl lets agents inspect or export the exact curl command offline.

Caveats & Pitfalls

  • ! Requires curl installed on PATH at runtime.
  • ! Smaller ecosystem than xh or curl directly.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI