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

httpstat

$ httpstat Community Low Risk
reorx · Browser & Web · MIT · macos / linux / windows

httpstat (reorx/httpstat) wraps curl to visualize HTTP request phase timings (DNS, TCP, TLS, server processing/TTFB, content transfer) cleanly in the terminal. Supports passing standard curl flags directly and HTTPSTAT_METRICS_ONLY=true for JSON timing metrics.

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

httpstat measures real local network socket DNS/TCP/TLS/TTFB latency directly from the execution host using curl.

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 19 / 25

Non-interactive single-shot execution and HTTPSTAT_METRICS_ONLY=true emits clean JSON timings, though default output is ASCII art with ANSI colors.

  • HTTPSTAT_METRICS_ONLY=true outputs pure JSON latency metrics
  • Default output uses ASCII timing diagram and ANSI colors
Trust & Safety 21 / 25

Stateless read-oriented wrapper around curl, though forwarding arbitrary curl flags (-X POST, -d) can still send mutating HTTP requests.

  • No local state or credential storage
  • Forwards raw curl flags directly
Setup & Portability 14 / 15

Zero-dependency single Python script installable via brew install httpstat, pip, or uvx (requires curl).

  • Available on Homebrew and PyPI; requires curl binary
Utility & Efficiency 11 / 15

Focused single-purpose diagnostic tool for isolating DNS vs TLS vs TTFB bottlenecks.

  • Immediate phase latency breakdown without memorizing curl -w format strings
Maintenance & Lineage 6 / 10

Stable, mature MIT utility (reorx/httpstat) with minimal ongoing changes.

  • Single-purpose MIT repo (reorx/httpstat)
Docs & Verifiability 7 / 10

Concise README documenting environment variables (HTTPSTAT_METRICS_ONLY, HTTPSTAT_SHOW_BODY) and curl pass-through.

  • Clear README env var table

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Stateless; accepts optional ad-hoc headers passed through curl flags (e.g. -H).

Side Effects
Read-Only
Cost & Quotas

MIT open-source Python CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# httpstat Agent Rules
- Set `HTTPSTAT_METRICS_ONLY=true` when you want structured JSON timing metrics instead of ASCII diagrams.
- Pass `-X GET` or avoid mutating `-X POST`/`-X DELETE` `curl` flags during diagnostics.
- Avoid passing `-d` with large payloads or unredacted secrets.

Agent-Ready Command Recipes

Safe Read-Only Queries

Emit JSON-only HTTP latency metrics
HTTPSTAT_METRICS_ONLY=true httpstat https://example.com

Outputs pure JSON timing metrics (time_namelookup, time_connect, time_pretransfer, time_starttransfer, time_total) without ASCII art.

Inspect timing breakdown with custom curl headers
httpstat https://example.com -H "Accept: application/json" -L

Forwards -H and -L flags to curl and displays phase-by-phase latency.

Strengths for Agents

  • + HTTPSTAT_METRICS_ONLY=true turns latency diagnostics into clean machine-readable JSON.
  • + Passes standard curl flags directly with zero learning curve.

Caveats & Pitfalls

  • ! Default stdout renders ASCII diagrams and ANSI color sequences unless HTTPSTAT_METRICS_ONLY=true is set.
  • ! Single-purpose latency tool; relies on system curl.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI