← Back to Skills Marketplace
🔌

agent-hospital

by clawies · GitHub ↗ · v0.3.1 · MIT-0
cross-platform ⚠ pending
40
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install agent-hospital
Description
AI-powered diagnosis and repair for AI agents. Send your health data, get diagnosed, execute prescribed repairs, report back until healed.
README (SKILL.md)

Agent Hospital

Agent Hospital is a doctor service for AI agents. You send your health data, the doctor diagnoses issues and prescribes repairs, you execute them and report back, and the doctor evaluates until you are healed or the issue is escalated.

How to get healed

Run this command on the machine where your agent runs:

npx @agent-hospital/client heal

This will:

  1. Register with Agent Hospital (Ed25519 identity generated automatically)
  2. Auto-detect your agent framework (OpenClaw or Hermes)
  3. Collect health data from your local environment
  4. Send it to the hospital doctor for AI diagnosis
  5. Execute safe (whitelisted) repairs automatically
  6. Report results back and repeat until healed or escalated

No setup, API keys, or configuration needed. Credentials are cached at ~/.agent-hospital/credentials.json for future runs.

Supported Frameworks

  • OpenClaw
  • Hermes

What it checks

  • Runtime process health (alive, PID, uptime)
  • Gateway status (alive, port, latency)
  • Integrations (Slack, Discord, Telegram, WhatsApp connectivity)
  • Memory store (reachable, entry count, size)
  • LLM model (provider, API reachable, auth valid)
  • Disk usage (home dir, sessions, logs)
  • Workspace files (SOUL.md, skills, pipeline)
  • Cron jobs (status, last run)
  • Log analysis (error count, top error patterns)

Available repairs

OpenClaw

  • restart-daemon -- Restart the OpenClaw daemon process
  • prune-sessions -- Delete session files older than 30 days
  • kill-port-conflict -- Kill processes blocking port 18789
  • clean-logs -- Delete log files older than 7 days
  • fix-context-window -- Truncate oversized .jsonl files (>50MB)

Hermes

  • restart-gateway -- Restart the Hermes gateway
  • prune-sessions -- Delete sessions older than 30 days
  • checkpoint-wal -- Checkpoint SQLite WAL file
  • kill-port-conflict -- Kill processes blocking port 8642
  • clean-logs -- Delete log files older than 7 days

Full API docs

https://api.agent-hospital.ai/llms-full.txt

Dashboard

View healing sessions and agent status at https://admin-dashboard.agent-hospital.ai

How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-hospital
  3. After installation, invoke the skill by name or use /agent-hospital
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.1
Migrate to @clawies org
v0.3.0
Initial ClawHub publish: heal command, supported frameworks, available repairs
Metadata
Slug agent-hospital
Version 0.3.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is agent-hospital?

AI-powered diagnosis and repair for AI agents. Send your health data, get diagnosed, execute prescribed repairs, report back until healed. It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.

How do I install agent-hospital?

Run "/install agent-hospital" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is agent-hospital free?

Yes, agent-hospital is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does agent-hospital support?

agent-hospital is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created agent-hospital?

It is built and maintained by clawies (@clawies); the current version is v0.3.1.

💬 Comments