Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add djblack1209-coder/OpenClaw-Bot --skill clawbot-self-healgit clone --depth 1 https://github.com/djblack1209-coder/OpenClaw-BotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/clawbot-self-heal)<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/clawbot-self-heal"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/clawbot-self-heal/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/djblack1209-coder/openclaw-bot/clawbot-self-heal"><img src="https://agentmods.dev/badge/skills/djblack1209-coder/openclaw-bot/clawbot-self-heal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.00299 |
| Opus 5.5 | $0.00011 | $0.00120 |
| Sonnet 5.5 | $0.00005 | $0.00060 |
| Haiku 4.5 | $0.00003 | $0.00030 |
Grade A, and why
clawbot-self-heal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
ClawBot Self Heal
Use when service health degrades, endpoints fail, or message routing stalls.
Targets
- OpenClaw gateway:
127.0.0.1:18789 - ClawBot g4f:
127.0.0.1:18891 - ClawBot kiro gateway:
127.0.0.1:18793
Recovery sequence
- Detect failing endpoint and impacted workflows.
- Auto-recovery first: Immediately restart affected service (map endpoint to LaunchAgent label).
- Recheck endpoint health after 10s.
- If still failing, escalate to dependency service restart order.
- Recheck again after 10s.
- Track failure state in
apps/openclaw/memory/heartbeat-state.jsonunderhealFailures: {endpoint: consecutiveCount}.
Notification rules
- All healthy → Silent (no message to 严总)
- Auto-recovery succeeded → Silent
- Auto-recovery failed (consecutiveCount >= 2) → Notify 严总 with concise incident note + root cause hypothesis
Stability rule
- Prefer targeted restarts over full stack restarts.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 35 lines · 27 tokens per session scan A a6f3c1f0955e
clawbot-self-heal is a skill published in the GitHub repository djblack1209-coder/OpenClaw-Bot (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 299 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
clawbot-self-heal compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clawbot-self-healdjblack1209-coder/OpenClaw-Bot | Skill | 5 | 1mo ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| reskinCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 154 | Claude Code |
| copilotkit-channelsCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 112 | Claude Code |
| setup-slack-channelCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 206 | Claude Code |
| a2ui-catalogCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 190 | Claude Code |
| a2ui-coreCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 18 | Claude Code |
| channels-setupCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 141 | Claude Code |