openclaw-debugger
Skill4k starsChanged 9 months agoMITView on GitHub
Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not working", "/openclaw-debugger". Walks through the standard OpenClaw 2026.4 diagnosis checklist and prints a report.
- Reads credentials
Trending
Quiet since October.about the whole repository
Who's talking about mergisi/awesome-openclaw-agents
- openclaw/openclaw“docs(showcase): add CrewClaw deployment platform”GitHub · Mar 16, 2026 · 2 reactions
- @tom-doerr.bsky.social“https://github.com/mergisi/awesome-openclaw-agents”Bluesky · Jun 13, 2026 · 1 likes
- ashishpatel26/500-AI-Agents-Projects“Add OpenClaw agent templates (177 agents across 24 categories)”GitHub · Mar 21, 2026 · 1 reactions
- @tom-doerr.bsky.social“https://github.com/mergisi/awesome-openclaw-agents”Bluesky · Mar 15, 2026 · 1 likes
- openclaw/openclaw“docs: add awesome-openclaw-agents to Community section”GitHub · Feb 18, 2026 · 1 reactions
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub and Bluesky (18 times).
On GitHub · 16
- Mar 16, 2026docs(showcase): add CrewClaw deployment platform — openclaw/openclaw2 reactions · 3 comments
- Mar 21, 2026Add OpenClaw agent templates (177 agents across 24 categories) — ashishpatel26/500-AI-Agents-Projects1 reaction · 2 comments
- Feb 18, 2026docs: add awesome-openclaw-agents to Community section — openclaw/openclaw1 reaction · 4 comments
- Feb 11, 2026docs(showcase): add CrewClaw deployment platform — openclaw/openclaw1 reaction · 5 comments
- Oct 3, 2026agent-skills.github.mergisi.awesome-openclaw-agents: 2.0-unstable-2026-05-25 → 2.0 — sudosubin/agents.nix0 reactions
11 more on GitHub
- Sep 29, 2026agent-skills.github.mergisi.awesome-openclaw-agents: init at 2.0-unstable-2026-05-25 — sudosubin/agents.nix0 reactions
- Apr 27, 2026docs(showcase): add CrewClaw deployment platform — BingqingLyu/openclaw0 reactions
- Apr 24, 2026Add CrewClaw to Frameworks (no-code generator for OpenClaw) — kyrolabs/awesome-agents0 reactions
- Apr 13, 2026update pleaxe — ogerly/awesom-claw0 reactions
- Mar 21, 2026Add OpenClaw agent templates collection (177 agents) — Shubhamsaboo/awesome-llm-apps0 reactions
- Mar 17, 2026Integration: 177 ready-to-deploy agent templates from CrewClaw — NVIDIA/NemoClaw0 reactions
- Mar 9, 2026Add Awesome OpenClaw Agents to related resources — msitarzewski/agency-agents0 reactions
- Mar 9, 2026Add Awesome OpenClaw Agents — slavakurilyak/awesome-ai-agents0 reactions · 1 comment
- Mar 9, 2026Add Awesome OpenClaw Agents — e2b-dev/awesome-ai-agents0 reactions
- Mar 9, 2026Add Awesome OpenClaw Agents template collection — kyrolabs/awesome-agents0 reactions
- Feb 8, 2026Add CrewClaw — no-code AI agent generator (closed-source) — e2b-dev/awesome-ai-agents0 reactions
On Bluesky · 2
- Jun 13, 2026https://github.com/mergisi/awesome-openclaw-agents — @tom-doerr.bsky.social1 likes and repost
- Mar 15, 2026https://github.com/mergisi/awesome-openclaw-agents — @tom-doerr.bsky.social1 likes and repost
In this repository15 other files it gives its agents.
- cost-optimizerSkill
- excalidraw-architectureSkill
- git-commit-writerSkill
- model-cost-compareSkill
- code-explainerSkill
- commit-messageSkill
- cover-letterSkill
- growth-ideasSkill
- haiku-cardSkill
- meeting-notesSkill
- pricing-advisorSkill
- regex-builderSkill
- sql-explainerSkill
- standup-summarySkill
- tone-shifterSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If the gateway is down, tell the user to run openclaw gateway restart.
- Very specific: line 31
If it reports "port 18789 in use by another process", find and kill the stale process (lsof -i :18789).
- Very specific: line 48
Check last_seen timestamp.
- Very specific: line 49
If status is starting for more than 60s, the agent is stuck in init (usually a bad SOUL.md or missing env var).
- Distinctive: line 57
If the file is >5 MB, sessions may be corrupt.
- Very specific: line 61
If the JSON is invalid (python3 -m json.tool < sessions.json), same fix.
- Very specific: line 65
Read ~/.openclaw/agents/<name>/SOUL.md frontmatter to find the configured model and provider.
- Very specific: line 68
GLM-5.1 / Minimax M2.7: check ~/.openclaw/providers.json for the base URL and hit /v1/models with curl.
- Very specific: line 75
Read the agent's SOUL.md and check:
- Distinctive: line 78
No lingering Turkish prompts if the agent is supposed to respond in English (per repo rules)
- Distinctive: line 103
Keep it terse. The user wants a fix, not an essay.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenClaw Debugger
Diagnose a broken OpenClaw agent (Orion, Echo, Radar, or any custom agent from awesome-openclaw-agents). Produces a structured diagnosis report identifying the most likely root cause.
Compatible with OpenClaw 2026.4.11 and later. For deeper reference see TROUBLESHOOTING.md in this repo.
When to use
- Agent returns empty output or times out
openclaw agent --agent <name> --message "..."hangs- Heartbeat dashboard shows the agent as stale
- Model provider errors (429, 401, connection refused)
- User says "openclaw is broken" / "agent is down" / "why is Orion not replying"
Instructions
Work through the checklist in order. Stop at the first failing step and report it — no need to run later steps until that's fixed.
1. Gateway health
openclaw agent --status- If the gateway is down, tell the user to run
openclaw gateway restart. - If it reports "port 18789 in use by another process", find and kill the stale process (
lsof -i :18789).
2. Tail recent logs
tail -n 200 ~/.openclaw/logs/gateway.log
tail -n 200 ~/.openclaw/agents/<name>/logs/agent.logGrep for ERROR, PANIC, 401, 429, timeout. The first error in the tail is usually the real cause — everything after is fallout.
3. Heartbeat status
cat ~/.openclaw/agents/<name>/heartbeat.json- Check
last_seentimestamp. More than 5 minutes old = worker crashed. - If
statusisstartingfor more than 60s, the agent is stuck in init (usually a badSOUL.mdor missing env var).
4. Session file integrity
ls -la ~/.openclaw/agents/<name>/sessions/sessions.json- If the file is >5 MB, sessions may be corrupt. Back it up and delete:
mv ~/.openclaw/agents/<name>/sessions/sessions.json{,.bak} - If the JSON is invalid (
python3 -m json.tool < sessions.json), same fix.
5. Model provider reachability
Read ~/.openclaw/agents/<name>/SOUL.md frontmatter to find the configured model and provider. Then:
- Anthropic (Opus 4.6, Sonnet 4.6):
echo $ANTHROPIC_API_KEY | head -c 10— confirm key exists. - GLM-5.1 / Minimax M2.7: check
~/.openclaw/providers.jsonfor the base URL and hit/v1/modelswith curl. - Gemma 4 local: confirm Ollama or the local runtime is up (
curl localhost:11434/api/tags).
A 401 means bad key. A 429 means you're rate limited — retry with exponential backoff or switch model. Connection refused on localhost means the local runtime crashed.
6. SOUL.md validity
Read the agent's SOUL.md and check:
- YAML frontmatter parses (must have
name,model,system_promptfields) modelstring matches one in~/.openclaw/providers.json- No lingering Turkish prompts if the agent is supposed to respond in English (per repo rules)
Output format
Print a diagnosis report like this:
OpenClaw Debugger — <agent-name>
[OK] Gateway up (port 18789)
[OK] Logs clean
[FAIL] Heartbeat stale (last_seen 14 min ago)
[SKIP] Session file
[SKIP] Model provider
[SKIP] SOUL.md
Root cause: worker process crashed ~14 min ago. Last log line:
ERROR 2026-04-13T08:41:02 panic: model provider returned 401
Fix:
1. Export a fresh ANTHROPIC_API_KEY
2. openclaw gateway restart
3. openclaw agent --agent <name> --message "ping"Keep it terse. The user wants a fix, not an essay.
Example invocations
/openclaw-debugger orion- "My Echo agent is stuck — debug it"
- "Why is
openclaw agent --agent radartiming out?"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

