自动更新 AI 编码工具技能(Claude Code, OpenCode, Copilot CLI)。检查官方文档、GitHub releases、博客更新,使用 Claude Code 提炼技能,同步到 ai_collection 项目。
自动更新 AI 编码工具技能,包括 Claude Code、OpenCode、Copilot CLI。定期检查官方文档、GitHub releases、博客更新,使用 Claude Code 进行技能提炼和开发,同步到 ai_collection GitHub 项目。
| 技能 | GitHub 仓库 | 官方文档 | 博客 |
|---|---|---|---|
| claude-code | anthropics/claude-code | platform.claude.com/docs | claude.com/blog |
| opencode | anomalyco/opencode | opencode.ai/docs | - |
| copilot-cli | github/copilot-cli | docs.github.com/copilot | github.blog |
数据源:
检查频率: 每日 02:00
触发条件:
提炼流程:
目标项目: /Users/hiyenwong/projects/ai_projects/ai_collection
同步步骤:
# 每日 02:00 检查技能更新
0 2 * * * ~/.openclaw/cron/skill-updater-check.sh >> ~/.openclaw/logs/skill-updater.log 2>&1
# 每周日 03:00 完整同步
0 3 * * 0 ~/.openclaw/cron/skill-updater-sync.sh >> ~/.openclaw/logs/skill-updater.log 2>&1
SKILL_UPDATE_DIR="$HOME/.openclaw/workspace/skill-updates"
AI_COLLECTION_DIR="$HOME/projects/ai_projects/ai_collection"
CLAUDE_CODE_CMD="claude-code"
# 检查单个技能
python3 ~/.openclaw/scripts/skill-updater.py check claude-code
# 检查所有技能
python3 ~/.openclaw/scripts/skill-updater.py check --all
# 使用 Claude Code 提炼并同步
python3 ~/.openclaw/scripts/skill-updater.py sync claude-code --use-claude-code
# 同步所有技能到 ai_collection
python3 ~/.openclaw/scripts/skill-updater.py sync --all --push
python3 ~/.openclaw/scripts/skill-updater.py log --days 7
~/.openclaw/workspace/skill-updates/
├── check-results.json # 检查结果
├── claude-code/
│ ├── changes.md # 变更摘要
│ ├── new-version.txt # 新版本号
│ └── skill-update.md # 技能更新内容
├── opencode/
│ └── ...
└── copilot-cli/
└── ...
~/.openclaw/logs/skill-updater.log
read - Read documentation and referencesweb_search - Search for related informationweb_fetch - Fetch paper or documentationFollow these steps when applying this skill:
User: I need to apply Skill Updater to my analysis.
Agent: I'll help you apply skill-updater. First, let me understand your specific use case...
Context: Apply the methodology
User: Complex analysis scenario
Agent: Based on the methodology, I'll guide you through the advanced application...
User: What are the key considerations for skill-updater?
Agent: Let me search for the latest research and best practices...