← 返回 Skills 市场
🔌

agent-hospital

作者 clawies · GitHub ↗ · v0.3.1 · MIT-0
cross-platform ⚠ pending
40
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agent-hospital
功能描述
AI-powered diagnosis and repair for AI agents. Send your health data, get diagnosed, execute prescribed repairs, report back until healed.
使用说明 (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

如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-hospital
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-hospital 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.1
Migrate to @clawies org
v0.3.0
Initial ClawHub publish: heal command, supported frameworks, available repairs
元数据
Slug agent-hospital
版本 0.3.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

agent-hospital 是什么?

AI-powered diagnosis and repair for AI agents. Send your health data, get diagnosed, execute prescribed repairs, report back until healed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 agent-hospital?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-hospital」即可一键安装,无需额外配置。

agent-hospital 是免费的吗?

是的,agent-hospital 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

agent-hospital 支持哪些平台?

agent-hospital 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 agent-hospital?

由 clawies(@clawies)开发并维护,当前版本 v0.3.1。

💬 留言讨论