/install httpeep-cli
HTTPeep CLI
Overview
Use httpeep-cli to operate HTTPeep from the terminal for local debugging, automation, CI checks, and agent workflows. Prefer --format json for commands that Codex must parse or summarize.
For detailed flags, examples, and command-specific notes, read references/cli-reference.md.
Operating Workflow
- Verify the CLI and proxy state before deeper debugging:
httpeep-cli --version
httpeep-cli --format json proxy status
httpeep-cli proxy logs --lines 50
- Start or repair capture depending on the task:
httpeep-cli proxy start --port 8800
httpeep-cli proxy system status
httpeep-cli cert status
Use proxy system on only when the user wants system-wide proxying. For scoped interactive terminal capture, suggest httpeep-cli shell or hp shell; it starts or reuses the proxy and enters a child shell with HTTPeep proxy variables and runtime hooks loaded. For non-interactive agent execution, prefer explicit app proxy environment variables or proxy start --capture-pid \x3Cpid> so the agent does not block inside an interactive shell.
- Capture and inspect traffic:
httpeep-cli --format json sessions list --keyword login
httpeep-cli --format json sessions watch --domain api.example.com
Use filters before destructive cleanup. Always dry-run deletes when possible:
httpeep-cli sessions delete --keyword login --dry-run
httpeep-cli sessions clear --all --yes --dry-run
- Apply temporary rules for reproducible tests before changing the global ruleset:
httpeep-cli rules run \
--map-remote "api.example.com=http://127.0.0.1:3000" \
-- httpeep-cli request --method GET --url "https://api.example.com/users"
Use rules upsert, rules import, rules replace, or rules reset only when persistent rules are required. Export existing rules first before destructive changes:
httpeep-cli rules export --output rules-backup.json
- Send, replay, or record requests:
httpeep-cli --format json request --method GET --url "https://api.example.com/v2/users"
httpeep-cli replay --id \x3Csession_id> --retry-times 3 --retry-interval-ms 800
httpeep-cli record start
httpeep-cli record stop --output baseline.httpeep
httpeep-cli replay file baseline.httpeep
Troubleshooting Priority
Check failures in this order:
- CLI availability:
httpeep-cli --version - Proxy engine reachability:
httpeep-cli --format json proxy status - Recent proxy logs:
httpeep-cli proxy logs --lines 100 - App routing:
HTTP_PROXY,HTTPS_PROXY, orhttpeep-cli proxy system status - HTTPS trust:
httpeep-cli cert status, thenhttpeep-cli cert installif needed - Terminal capture shell:
httpeep-cli shell/hp shellcreates~/.httpeep/automatic-setup/and exposeshttpeep_intercept_offinside the child shell - Output parsing: rerun relevant commands with
--format json; remembersessions watch --format jsonemits NDJSON
If httpeep-cli is not on PATH, instruct the user to open HTTPeep desktop settings and use Settings -> MCP -> Repair CLI / PATH Installation, or call the MCP repair tool when available.
Trace Evidence
For complex debugging or multi-step capture/replay work, record a concise trace log in the final answer or task notes:
- Commands executed, with important flags
- Timestamp or sequence order for each major step
- Session IDs used or produced
- Relevant JSON fields from
sessions list,request,rules run, orreplay - Summary from
httpeep-cli proxy logs --lines \x3Cn>when proxy behavior is involved - Rule IDs or temporary rule shortcuts applied
Avoid logging secrets from headers, cookies, Authorization values, or request bodies. Redact sensitive values before reporting.
Safety Defaults
- Prefer temporary rules with
rules run,request, orreplay --idbefore persistent rule edits. - Use
--format jsonfor machine parsing and CI logs. - Do not run
httpeep-cli shellfrom an unattended automation path unless the user explicitly wants an interactive shell; it intentionally takes over the terminal until the shell exits. - Dry-run destructive session cleanup first.
- Export rules before
rules replaceorrules reset. - Run
cert install,cert uninstall,proxy system on, andproxy system offonly when the user explicitly asks for certificate trust or system-wide proxy changes. - Run
rules replace,rules reset, orsessions clear --all --yesonly when the user explicitly asks for persistent replacement, reset, or full cleanup. Show or run the backup/dry-run command first when possible. - Treat
import curl,import har, andimport httpas version-dependent because some CLI builds may report that these commands are not yet implemented.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install httpeep-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/httpeep-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network. 是什么?
Use HTTPeep from the terminal with httpeep-cli for proxy lifecycle control, HTTP/HTTPS traffic capture, session inspection, rule injection, request replay, r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。
如何安装 HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network.?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install httpeep-cli」即可一键安装,无需额外配置。
HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network. 是免费的吗?
是的,HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network. 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network. 支持哪些平台?
HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network. 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HTTPeep CLI SKILLS. HTTP API Deubgger | Give the agent the ability to see the network.?
由 ImChris(@imchrischen)开发并维护,当前版本 v1.0.0。