mirror of
https://github.com/wanikua/danghuangshang.git
synced 2026-09-03 07:03:37 +08:00
问题:
- self-improving-agent 依赖 undici 包
- 缺少 package.json 声明依赖
- 导致用户安装后报错:ERR_MODULE_NOT_FOUND
修复:
✅ skills/self-improving-agent/package.json
依赖:
- undici: ^5.28.0
- @openclaw/core: >=1.0.0 (peer)
📦 预装 Skill
本项目预装了以下 Skill,放在工作区的 skills/ 目录下即可被 Agent 自动识别和使用。
Skill 列表
| Skill | 说明 | 需要 API Key | 文档 |
|---|---|---|---|
| weather | 天气查询(wttr.in / Open-Meteo) | ❌ | SKILL.md |
| github | GitHub Issue/PR/CI 操作(gh CLI) | ❌* | SKILL.md |
| notion | Notion 页面/数据库管理 | ✅ | SKILL.md |
| hacker-news | Hacker News 浏览和搜索 | ❌ | SKILL.md |
| browser-use | 浏览器自动化、社媒管理 | ❌ | SKILL.md |
| quadrants | 四象限任务管理(quadrants.ch) | ✅ | SKILL.md |
| openviking | 向量知识库(火山引擎开源) | ✅ | SKILL.md |
| self-improving-agent | 自我改进:记录错误、学习和纠正 | ❌ | SKILL.md |
* GitHub Skill 需要先运行
gh auth login登录 GitHub 账号。
安装更多 Skill
通过 OpenClaw Skill 生态安装:
# 搜索
openclaw skill search "关键词"
# 安装
openclaw skill install skill-name
# 查看已安装
openclaw skill list
自定义 Skill
每个 Skill 是一个目录,至少包含 SKILL.md(指令文件):
skills/
└── my-skill/
├── SKILL.md # 必须:Agent 的使用说明
├── scripts/ # 可选:Shell/Python 脚本
└── references/ # 可选:参考文档
SKILL.md 的 frontmatter 格式:
---
name: my-skill
description: 这个 Skill 做什么的简短描述
---
# My Skill
Agent 看到的使用说明...
放到 skills/ 目录后,Agent 会自动检测并在需要时加载。