关于小龙虾技能 OpenClaw Skills
前言
-
内置位置(openclaw skills list)
.../lib/node_modules/openclaw/skills/技能名/SKILL.md(使用 locate 模糊定位) -
外置位置(openclaw skills install 技能名(from clawhub.ai), clawhub install 技能名(from clawhub.ai),openclaw skills list,clawhub list)
~/.openclaw/workspace/skills/
~/.openclaw/workspace/.agents/skills/
~/.openclaw/skills/
~/.openclaw/.agents/skills/ -
自定义外置位置(openclaw skills list)
~/.openclaw/openclaw.json 配置文件中的 skills.load.extraDirs
下载、安装技能
-
从哪里下载
官方社区
github 开源社区
https://github.com/anthropics/skills
https://github.com/openai/skills
https://github.com/vercel-labs/skills
https://github.com/mattpocock/skills
https://github.com/OthmanAdi/planning-with-files
https://github.com/obra/superpowers
https://github.com/playwright-skill(专注于浏览器自动化,利用Playwright让Agent能够可靠地操控浏览器进行测试或爬取)
魔搭社区
中文社区
中国社区
模力方舟 -
安装方法
官方社区的技能尽可能使用 “openclaw skills install“ 或 ”clawhub install” 安装
上述站点均可直接上去搜索、下载技能,然后放到 ~/.openclaw/workspace 目录等非内置目录即可
自定义技能
- 在 Chat, 语义自动创建
- 在文本编辑器,手动创建(技能文件格式见备注)
- 如果不想创建技能,则可通过语义名称直接调用可执行脚本或程序
备注
- 技能文件(SKILL.md)是一个文本文件, Markdown 文件
- 技能文件格式(基于 Markdown):
name: (名称,唯一标识,必选项)
description: (功能描述,语义调用锚点,必选项)
homepage: (主页,可选项)
metadata: (元数据,主要用于说明技能封装的外部程序的安装信息,可选项)
使用说明,示例等
执行脚本(bash 脚本,python 脚本,javascript 脚本,typescript 脚本)
其它 ... - 简单技能可直接包含脚本来完成(
bash 脚本,python 脚本,javascript 脚本,typescript 脚本等) - 复杂技能通常需要调用外部独立脚本放在 SKILL.md 文件同一目录下的 scripts 文件夹里(主要有 .sh,.py,.js/.ts)
- 可执行文件可直接通过 SKILL.md 的 metadata 封装为技能
- 可执行文件如需脚本辅助处理则在 SKILL.md
bash 脚本中调用

浙公网安备 33010602011771号