Diagnose OpenClaw issues by choosing logs, probes, and proof paths first.
The material indicates a prompt/documentation-style debugging skill with no required secrets and no declared remote endpoints. It comes from a highly trusted open-source GitHub repository, so overall risk is low; the referenced logging and debug commands appear instructional rather than capabilities of the skill itself.
No keys or environment variables are required per the material. Although the README mentions live-key/debug scenarios, this skill does not appear to collect, store, or manage credentials directly.
No remote endpoints are declared, and the system flags it as prompt-only. References to providers, SSE, and gateway behavior describe the target being debugged, not network egress performed by the skill itself.
Based on the material, this is a debugging workflow/documentation skill rather than an executable tool. Example commands such as `openclaw gateway`, `openclaw logs`, and `pnpm build` are instructional and do not show that the skill itself can spawn processes or execute code.
The documentation discusses logs, tests, and configuration boundaries, but it does not indicate that the skill can directly read or write local files, repositories, or other data resources. No excessive access is requested.
The source is an open-source GitHub repository with extremely high community adoption (~377k stars), which materially lowers supply-chain risk. License and maintenance status are unspecified, but there are no clear red flags such as closed source, abandoned distribution, or suspicious packaging in the provided material.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "openclaw-debugging" skill from askskill: 1. Download https://raw.githubusercontent.com/openclaw/openclaw/main/.agents/skills/openclaw-debugging/SKILL.md 2. Save it as ~/.claude/skills/openclaw-debugging/SKILL.md 3. Reload skills and tell me it's ready
Help me debug an OpenClaw streaming issue: responses stop midway. Do not change code first. Give me a troubleshooting order, specify which logs to inspect, what probes to add, how to distinguish model-side, provider-side, tool-surface, or code-mode issues, and provide a minimal reproduction and evidence collection checklist.
A step-by-step debugging plan with log checkpoints, probe suggestions, attribution paths, and a repro checklist.
OpenClaw often fails when invoking tools. Build a debugging framework across the model, provider, and tool-surface layers: what to verify at each layer, what evidence to inspect, how to decide whether to drill deeper, and end with a decision tree.
A layered debugging framework and decision tree to quickly narrow the root cause of tool invocation failures.
I’m seeing abnormal OpenClaw behavior in live/Crabbox mode. Do not jump to fixing it; first create a validation plan including observation metrics, recommended logs to collect, key control experiments, and how to prove whether the issue comes from the environment, session state, or code path.
A validation and attribution plan to prove the source of abnormal behavior and guide later fixes.
Use this skill when OpenClaw behavior differs between local tests, live models, providers, code mode, Tool Search, Crabbox, or CI, and the next move should be a debug signal rather than a guess.
docs/logging.md for log files, openclaw logs, and targeted debug flags.docs/reference/test.md for local test commands.docs/reference/code-mode.md for code-mode exec/wait and tool catalog rules.$openclaw-testing for choosing test lanes.$crabbox for broad, Docker, package, Linux, live-key, or CI-parity proof.Use targeted env flags instead of global debug when the model request shape or stream timing matters:
OPENCLAW_DEBUG_MODEL_TRANSPORT=1 openclaw gateway
OPENCLAW_DEBUG_MODEL_PAYLOAD=tools OPENCLAW_DEBUG_SSE=events openclaw gateway
OPENCLAW_DEBUG_MODEL_PAYLOAD=full-redacted OPENCLAW_DEBUG_SSE=peek openclaw gateway
Useful flags:
OPENCLAW_DEBUG_MODEL_TRANSPORT=1: request start, fetch response, SDK
headers, first SSE event, stream done, and transport errors at info.OPENCLAW_DEBUG_MODEL_PAYLOAD=summary: bounded payload summary.OPENCLAW_DEBUG_MODEL_PAYLOAD=tools: all model-facing tool names.OPENCLAW_DEBUG_MODEL_PAYLOAD=full-redacted: capped, redacted JSON payload.
Use only while debugging; prompts/message text may still appear.OPENCLAW_DEBUG_SSE=events: first-event and stream-completion timing.OPENCLAW_DEBUG_SSE=peek: first five redacted SSE events.OPENCLAW_DEBUG_CODE_MODE=1: code-mode tool-surface diagnostics.Watch logs with:
openclaw logs --follow
exec and wait only after it
actually activates.pnpm build when touching workers, dynamic imports,
package exports, lazy runtime boundaries, or published paths.src/agents/openai-transport-stream.tssrc/agents/provider-transport-fetch.tssrc/agents/pi-embedded-runner/openai-stream-wrappers.tssrc/agents/pi-embedded-runner/run/attempt.tssrc/agents/code-mode.ts
src/agents/code-mode.worker.tssrc/agents/tool-search.tspnpm check:docs and git diff --check.pnpm build.…
Automate OpenClaw nightly releases, branch maintenance, and forward-porting to main.
Debug Node.js apps with inspect, breakpoints, heap, and CPU profiling.
Audit and harden OpenClaw hosts for security and operational health.
List chats, review message history, and send iMessage or SMS from CLI.
Summarize or transcribe URLs, videos, PDFs, and local files quickly.
Generate shareable code or text diffs for review and collaboration.
Run, inspect, debug, and extend OpenClaw QA scenarios and artifacts.
Choose and run the safest, cheapest OpenClaw test and validation path.
Analyze and optimize OpenClaw test performance, memory use, and coverage slowdowns.
Refactor OpenClaw docs pages with source-checked preservation, clearer structure, and verification.
Connect OpenClaw to Claude Desktop for cross-assistant AI interaction.
Create OpenClaw Docker end-to-end tests and live provider lanes.