ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

openclaw-health-audit

OpenClaw 系统健康审计与自动修复 — 监控 prompt 体积、Cron 合规、Session 清理、Token 消耗

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/halfmoon82/openclaw-health-audit
Or

openclaw-health-audit

OpenClaw 系统健康审计与自动修复工具。发现并修复 prompt 体积漂移、Cron Job 违规、孤儿 Session 积累、Token 消耗异常等隐性成本问题。

首次安装

python3 {skill_dir}/scripts/audit_wizard.py

向导将自动:

  1. 测量当前 prompt 文件大小并生成个性化阈值
  2. 检测已安装的子代理
  3. 检测 semantic-router(决定是否启用 Category E)
  4. 生成 config/config.json
  5. 可选注册 48h 定期 Cron Job

触发词

以下关键词会触发本 skill:

  • 健康检查system healthhealth check
  • 健康报告health reportaudit
  • 运行监控检查 crontoken 消耗

生成健康报告

python3 {skill_dir}/scripts/health_monitor.py --report

将报告发送给用户(Telegram/Discord),等待用户回复修复指令。

修复指令解析

用户回复以下内容时,执行对应命令:

用户回复执行命令
health fix allhealth_monitor.py --fix all
health fix 1,3health_monitor.py --fix "1,3"
health fix 2health_monitor.py --fix "2"
health skip跳过,等待下次检查

报告格式说明

🔍 OpenClaw 健康报告 (2026-03-05 02:00)

🔴 告警: 1 | 🟡 警告: 2 | ✅ 正常类别: 2/5

问题清单:

🔴 [1] [B] Cron Job 违规: 3 个
   - [abc12345...] weekly-report: sessionKey 非 null(污染主会话)
   💊 修复: 修复 3 个违规 Job

🟡 [2] [A] SOUL.md 体积漂移: 9KB (9215B)
   阈值: warn=6KB, alert=8KB
   💊 修复: 手动审查 SOUL.md,将非核心内容移至 memory/LESSONS/lessons.md

────────────────────────────────────────
• "health fix all" — 执行全部 (2 项)
• "health skip" — 本次忽略

监控类别说明

类别检查内容可自动修复
ASystem Prompt 体积漂移❌ 手动
BCron Job 合规性✅ 自动
C孤儿 Session(>N 天无活动)✅ 自动
DToken 消耗趋势❌ 手动
E缓存配置完整性(可选,需 semantic-router M1/M3)❌ 手动

更新配置

# 重新运行向导更新阈值
python3 {skill_dir}/scripts/audit_wizard.py

# 手动编辑配置
# config/config.json

调试命令

# 预览报告(不修改任何文件)
python3 {skill_dir}/scripts/health_monitor.py --dry-run

# 列出所有可执行的修复命令
python3 {skill_dir}/scripts/health_monitor.py --list-fixes

# 执行全部修复
python3 {skill_dir}/scripts/health_monitor.py --fix all

Metadata

Stars2387
Views5
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-halfmoon82-openclaw-health-audit": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#health#audit#monitoring#cron#token-cost#maintenance#cost-optimization
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

brand-butler-local-authority-engine

Brand Butler: Local Authority Engine — the white-glove SEO and AEO system for local service businesses. Use this skill immediately when the user asks about SEO rankings, backlinks, citations, site audits, Google Search Console indexing problems, competitor backlink analysis, directory submissions, schema markup, content placement articles, local map pack visibility, or AI answer engine optimization (Perplexity, ChatGPT, Google AI Overviews). Also triggers for any local business growth, online visibility, or 'why isn't my site ranking?' conversation. Works for agencies managing clients and business owners doing their own SEO. Covers HVAC, plumbing, electrical, law, dental, roofing, and any local service business. Built by Adrian Boysel.

adrianboysel 4473

feishu-cron-announce

创建定时任务并通过 OpenClaw cron announce 直接推送结果到飞书。当需要设置定时监控任务(如版本发布、天气、股票等)并让结果自动推送到飞书时使用。关键词:飞书定时推送、cron 定时任务、飞书 announce、定时监控、飞书监控通知。

bbj375767338-arch 4473

healthy-meal-reminder

健康饮食提醒技能。每日三餐+下午茶定时提醒,每次3个方案ABC供选择,饭后30分钟自动跟进记录饮食+计算热量。按季节推荐应季低卡食谱,支持减肥/维持/增肌三模式,含运动搭配、周末放纵餐、互动问答和周报打卡。当用户提到饮食提醒、三餐提醒、吃什么、减肥食谱、健康饮食、meal reminder、吃了什么、体重打卡时激活。

azerwang 4473

skill-readme-rebuilder

从 SKILL.md、脚本与资源反推 README、FAQ 与示例,保持说明一致。;use for skills, readme, docs workflows;do not use for 伪造脚本能力, 跳过真实依赖声明.

52yuanchangxing 4473

securityvitals

Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.

bk-cm 4473