Install
openclaw skills install httpeep-cliUse HTTPeep from the terminal with httpeep-cli for proxy lifecycle control, HTTP/HTTPS traffic capture, session inspection, rule injection, request replay, recording flows, certificate troubleshooting, CI scripting, and agent-driven network debugging. Use when a task mentions HTTPeep, httpeep-cli, proxy debugging, captured HTTP sessions, traffic rules, request replay, HTTPS interception certificates, or terminal-based traffic monitoring.
openclaw skills install httpeep-cliUse 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.
httpeep-cli --version
httpeep-cli --format json proxy status
httpeep-cli proxy logs --lines 50
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 <pid> so the agent does not block inside an interactive shell.
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
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
httpeep-cli --format json request --method GET --url "https://api.example.com/v2/users"
httpeep-cli replay --id <session_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
Check failures in this order:
httpeep-cli --versionhttpeep-cli --format json proxy statushttpeep-cli proxy logs --lines 100HTTP_PROXY, HTTPS_PROXY, or httpeep-cli proxy system statushttpeep-cli cert status, then httpeep-cli cert install if neededhttpeep-cli shell / hp shell creates ~/.httpeep/automatic-setup/ and exposes httpeep_intercept_off inside the child shell--format json; remember sessions watch --format json emits NDJSONIf 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.
For complex debugging or multi-step capture/replay work, record a concise trace log in the final answer or task notes:
sessions list, request, rules run, or replayhttpeep-cli proxy logs --lines <n> when proxy behavior is involvedAvoid logging secrets from headers, cookies, Authorization values, or request bodies. Redact sensitive values before reporting.
rules run, request, or replay --id before persistent rule edits.--format json for machine parsing and CI logs.httpeep-cli shell from an unattended automation path unless the user explicitly wants an interactive shell; it intentionally takes over the terminal until the shell exits.rules replace or rules reset.cert install, cert uninstall, proxy system on, and proxy system off only when the user explicitly asks for certificate trust or system-wide proxy changes.rules replace, rules reset, or sessions clear --all --yes only when the user explicitly asks for persistent replacement, reset, or full cleanup. Show or run the backup/dry-run command first when possible.import curl, import har, and import http as version-dependent because some CLI builds may report that these commands are not yet implemented.