</>MCP Agents Market
Skill

httpstat

by reorx6.2kPythonUpdated 2026-04-08

curl statistics made simple

Claude CodeCursor

httpstat is an agent skill that enables AI coding assistants to diagnose HTTP performance issues by visualizing curl statistics with detailed timing breakdowns. The skill teaches agents like Claude Code and Cursor to automatically install and use httpstat for bottleneck identification, presenting DNS, TCP, TLS, server processing, and content transfer metrics in a clear format. When installed into a project, agents can respond to natural language queries about API slowness or endpoint latency by running httpstat diagnostics and suggesting actionable fixes. Built as a zero-dependency Python script that wraps curl, it offers both beautiful terminal output for humans and structured JSON for machine consumption.

Key Features

Agent skill integration for AI coding assistants (Claude Code, Cursor) with automatic installation and diagnostic capabilities
Detailed timing breakdown showing DNS lookup, TCP connection, TLS handshake, server processing, and content transfer phases
Structured JSON/JSONL output with stable v1 schema for machine-readable consumption and log pipelines
SLO threshold checking with configurable limits for total time, connect, TTFB, DNS, and TLS (exits code 4 on violation)
Zero external dependencies as a single-file Python 3 script
Save results to file for multi-step workflows and analysis
NO_COLOR convention support for accessibility and automation
Full curl option pass-through for headers, methods, POST data, and verbose output

Use Cases

  • 01Debugging slow API endpoints by asking an AI agent "why is this API slow?" and getting automatic httpstat diagnostics
  • 02Identifying network bottlenecks in microservices by analyzing where time is spent in the request lifecycle
  • 03Monitoring SLO compliance for production endpoints with threshold-based exit codes in CI/CD pipelines
  • 04Comparing HTTP/2 versus HTTP/1.1 performance with structured timing data
  • 05Generating performance reports from log pipelines using JSONL format output
  • 06Troubleshooting TLS handshake delays or DNS resolution issues with phase-specific metrics

Related Skills

View more

httpstat — FAQ

What is httpstat agent skill?+

httpstat is an agent skill that teaches AI coding assistants like Claude Code and Cursor how to diagnose HTTP performance issues by running httpstat diagnostics. When you ask your agent about slow APIs or endpoint latency, it automatically uses httpstat to identify bottlenecks and suggest fixes.

How do I install the httpstat agent skill?+

Run 'npx skills add reorx/httpstat' in your project directory to install the skill. Once installed, your AI agent will automatically use httpstat when you ask performance-related questions about HTTP endpoints.

Which AI clients work with httpstat skill?+

The httpstat skill works with AI coding assistants including Claude Code, Cursor, and similar tools that support the skills framework.

Does httpstat require API keys or prerequisites?+

No API keys are needed. The only prerequisite is having curl installed on your system, which is typically available by default on Unix-like systems. The Python script itself has zero external dependencies.

Is httpstat free to use?+

Yes, httpstat is open source and completely free to use. You can download it directly, install via pip, or use homebrew on macOS at no cost.

How do I get structured JSON output from httpstat?+

Use the '--format json' flag to get machine-readable output with a stable v1 schema, or '--format jsonl' for compact single-line JSON suitable for log pipelines. You can also save results to a file with '--save path.json'.

How do I install httpstat?+

Open the source repository on GitHub and follow its README. httpstat is a skill — MCP Agents Market links you directly to the official repo.

Is httpstat free?+

httpstat is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches