http-toolkit-intercept
БесплатноБез исполняемых скриптовНе проверенIntercept and debug HTTP traffic from any CLI, service, or script using HTTP Toolkit. Use when you need to inspect LLM API calls, backend requests, auth…
от Factory-AI★ 133 звезды на GitHubОб этом скилле
HTTP Toolkit Intercept
Use this skill when you need authoritative evidence of what your program sent to a remote API and what it received back while verifying a code change. Works across any runtime — Node.js, Bun, Deno, Python, Go, Ruby, Java/JVM, .NET, PHP, Rust, shell scripts, etc. — as long as the process respects a proxy.
The reliable pattern is:
- Start HTTP Toolkit correctly.
- Run the program through the proxy in a mode that produces a machine-readable log (e.g.
--output-format json, debug logging, or structured stdout). - Export outbound HTTP requests from HTTP Toolkit.
- Pair the outbound HTTP export with the inbound program session log.
Do not rely on TUI screenshots alone when the question is about request payloads, auth headers, or wire-level behavior.
Prerequisites / Known-Good Launch
Start HTTP Toolkit
On Linux/headless environments, plain httptoolkit often fails due to sandbox/X11 issues. Prefer:
xvfb-run --auto-servernum httptoolkit --no-sandbox
If a stale server is already running on ports 45456/45457, stop it first:
pkill -f "HTTP Toolkit Server|httptoolkit|xvfb-run --auto-servernum httptoolkit" || true
Verify the proxy is reachable
# HTTP Toolkit's admin API lives on port 45456/45457 by default.
# Treat 200/401/403 as "reachable"; only connection failure means the server is dead.
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:45456/config
Quick Start
1. Launch your program with the proxy env vars set
The canonical env vars most runtimes honor:
HTTP_PROXY="http://127.0.0.1:8000" \
HTTPS_PROXY="http://127.0.0.1:8000" \
ALL_PROXY="http://127.0.0.1:8000" \
NO_PROXY="" \
<your-program> <args>
Some runtimes require an extra env var or flag — see the "Runtime proxy matrix" below.
If the HTTP Toolkit CA is not trusted by your runtime, TLS verification will fail. See "TLS Safety" below. Disabling TLS verification is appropriate only for controlled local debugging.
2. Capture the inbound session log
If your program supports a machine-readable output mode (e.g. --output-format stream-json, --json, --log-level debug, structured stdout, or writing to a file), pipe it to a file:
<your-program> exec --output-format stream-json "your input" \
> /tmp/session-stdout.log 2> /tmp/session-stderr.log
3. Export outbound HTTP from HTTP Toolkit
Either:
- Use the HTTP Toolkit GUI export (File → Export → JSON / HAR), or
- Hit the admin API directly. The exact endpoint depends on your HTTP Toolkit version; inspect DevTools in the HTTP Toolkit UI to see the requests it makes.
4. Cross-reference the two streams
- Outbound HTTP (from HTTP Toolkit): authoritative for request bodies, headers, auth tokens, retry timing.
- Inbound session log (from the program): authoritative for how your code reacted to the responses.
Together they answer: "what did we send?" and "what did we do with the response?"
What finally worked for payload verification
The critical correct pathways that proved reliable were:
Use a non-interactive / exec mode, not the TUI, when verifying payloads
- Interactive TUIs are slower and much harder to analyze.
- Use whatever your program has for scripting (
--output-format,--json,--headless,--batch).
Treat outbound and inbound as separate evidence sources
- HTTP Toolkit gives outbound HTTP requests.
- The program's session log gives inbound assistant/tool/application behavior.
- You need both to answer: "what did the remote return?" and "what did the program actually do with it?"
Set the proxy env vars your specific runtime honors
HTTP_PROXY/HTTPS_PROXYcover most runtimes, but some (e.g. Bun, Java) require extra vars or flags.- See the "Runtime proxy matrix" below.
Disable TLS verification only for controlled local debugging when needed
- If the HTTP Toolkit CA is not trusted locally, use the runtime-specific escape hatch to skip verification.
- Prefer trusting the CA in your OS / language trust store instead.
- Never disable TLS in production repros.
Keep runs bounded
- Long network-heavy sessions can take time.
- If you only need to prove request shape, export after the relevant request is observed — you do not always need to wait for full completion.
Key Facts
- Proxy env vars are runtime-specific — know which ones your runtime honors
- HTTP Toolkit admin API is request-oriented — outbound HTTP comes from HTTP Toolkit, inbound behavior comes from the program log
- TLS is verified by default — runtime-specific skip flags are local-dev escape hatches only
Runtime proxy matrix
| Runtime | Proxy env vars / flags | TLS bypass (local dev only) |
|---|---|---|
| Node.js | HTTP_PROXY, HTTPS_PROXY, NO_PROXY (most libraries); some HTTP clients need --proxy flags or explicit |
Установить http-toolkit-intercept в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл http-toolkit-intercept?
Intercept and debug HTTP traffic from any CLI, service, or script using HTTP Toolkit. Use when you need to inspect LLM API calls, backend requests, auth flows, or debug network-level issues across any language or runtime.
Как установить скилл http-toolkit-intercept?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл http-toolkit-intercept запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic