一键导入
cmd-skill-health
Audit all installed OpenClaw skills for missing frontmatter fields, stub descriptions, and format compliance. Reports a health dashboard.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit all installed OpenClaw skills for missing frontmatter fields, stub descriptions, and format compliance. Reports a health dashboard.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scan installed skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files.
Audit all installed OpenClaw skills for quality: content overlap, freshness, and uniqueness. Supports Quick Scan (changed only) and Full Stocktake modes.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Export MEMORY.md to a timestamped markdown file for sharing or backup.
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
Show current workspace memory: MEMORY.md contents, pending recalls, and index status.
| name | cmd_skill_health |
| description | Audit all installed OpenClaw skills for missing frontmatter fields, stub descriptions, and format compliance. Reports a health dashboard. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> [--fix] |
The first argument is the project path. Before doing anything else:
Scans all skills installed in ~/.openclaw/skills/ (and optionally in
<project-path>/skills/) and reports a health summary: required frontmatter
fields, stub descriptions, and format compliance.
/skill cmd_skill_health <project-path> # Audit installed skills
/skill cmd_skill_health <project-path> --fix # Audit and suggest fixes
Scan two locations:
~/.openclaw/skills/<project-path>/skills/For each location, find all SKILL.md files:
find ~/.openclaw/skills/ -name "SKILL.md" 2>/dev/null
find <project-path>/skills/ -name "SKILL.md" 2>/dev/null
If both locations are empty, report: "No skills found." Stop.
For each SKILL.md, extract frontmatter fields by reading the YAML block between
the opening and closing --- lines. Check for:
Required fields:
name — must be present and non-emptydescription — must be present, non-empty, and not a stubuser-invocable — must be true or falseorigin — must be presentargument-hint — must be present (may be empty string for no-arg skills)Stub detection — flag description as a stub if it:
"<skill-name> workflow", "<skill-name> command",
"TODO", "...", or is identical to the skill nameAssign one of three statuses:
argument-hint missing (added later, not always present in older skills)name, description, user-invocable, or origin missing, or description is a stub============================================================
SKILL HEALTH DASHBOARD
Scanned: ~/.openclaw/skills/ + <project-path>/skills/
Total skills: <N>
============================================================
PASS (<count>)
──────────────────────────────────────────────────────────
✓ cmd_save_session "Save current session state..."
✓ cmd_evolve "Cluster MEMORY.md entries..."
...
WARN (<count>) — missing argument-hint
──────────────────────────────────────────────────────────
⚠ some_old_skill "Does something useful"
FAIL (<count>) — missing fields or stub description
──────────────────────────────────────────────────────────
✗ broken_skill MISSING: description
✗ stub_skill STUB: "stub_skill workflow"
============================================================
Summary: <PASS> passed · <WARN> warnings · <FAIL> failed
============================================================
Print suggested next steps:
To fix FAIL items:
- Edit the SKILL.md file and add missing fields
- Replace stub descriptions with accurate one-liners
To add missing argument-hint to WARN items:
- Add: argument-hint: "<project-path> [options]"
- Or: argument-hint: "" (for skills with no arguments)
Run with --fix to see per-skill fix suggestions inline.
For each WARN or FAIL skill, print an inline fix suggestion:
FIX NEEDED: ~/.openclaw/skills/some_old_skill/SKILL.md
Add after `origin:` line:
argument-hint: "<project-path>"
FIX NEEDED: <project-path>/skills/broken_skill/SKILL.md
Add to frontmatter:
description: "<accurate one-liner describing what this skill does>"
Do not modify any files automatically — only print suggestions.
user-invocable: false is still checked for all required fieldsargument-hint field may be an empty string "" for skills that take no arguments — this is valid (PASS)