Skill Review (ClawHub Security Scan scraper)
Use this when you want to review ClawHub Security Scan results for your skills.
What it does
- - Enumerates local skills under
~/Developer/Skills (folders that contain SKILL.md). - For each skill, opens the ClawHub page
https://clawhub.ai/<owner>/<slug>. - Extracts:
- Security Scan (VirusTotal status + report link, OpenClaw status/confidence/reason)
- Runtime requirements block
- Comments block
- - Writes a single markdown report under
/tmp/.
Key config behavior (no surprises)
- - Each local skill’s
SKILL.md frontmatter name: is treated as the ClawHub slug. - Supports non-standard cases via
--slug-map path/to/map.json.
Run
CODEBLOCK0
Optional: slug map
If a local folder name doesn’t match the ClawHub slug, pass a mapping file:
CODEBLOCK1
CODEBLOCK2
Requirements
- - Installs/uses Playwright internally (Python package + Chromium).
If it’s missing, follow the error message; typical setup:
CODEBLOCK3
技能审查(ClawHub 安全扫描抓取器)
当你需要审查技能的 ClawHub 安全扫描结果时使用此功能。
功能说明
- - 枚举 ~/Developer/Skills 下的本地技能(包含 SKILL.md 的文件夹)。
- 对每个技能,打开 ClawHub 页面 https://clawhub.ai/<所有者>/<别名>。
- 提取:
- 安全扫描(VirusTotal 状态 + 报告链接,OpenClaw 状态/置信度/原因)
- 运行时需求模块
- 评论模块
- - 在 /tmp/ 下生成单个 Markdown 报告。
关键配置行为(无意外)
- - 每个本地技能的 SKILL.md 前置元数据中的 name: 被视为 ClawHub 别名。
- 通过 --slug-map path/to/map.json 支持非标准情况。
运行
bash
python3 scripts/skill_review.py \
--owner odrobnik \
--skills-dir ~/Developer/Skills \
--out /tmp/clawhub-skill-review.md
可选:别名映射
如果本地文件夹名称与 ClawHub 别名不匹配,传入映射文件:
json
{
snapmaker: snapmaker-2
}
bash
python3 scripts/skill_review.py --slug-map ./slug-map.json
要求
- - 内部安装/使用 Playwright(Python 包 + Chromium)。
如果缺失,请按照错误提示操作;典型设置:
bash
python3 -m pip install playwright
python3 -m playwright install chromium