可扩展
技能目录
使用社区和官方技能扩展 OpenClaw 的能力。
🎯 什么是技能?
技能是 Markdown 文件,用于教会 OpenClaw 新的能力。它们定义触发词、工具和指令来扩展你的助手能做的事情 — 无需编程。
- ✓自然语言 — 用通俗易懂的语言编写指令
- ✓工具访问 — 授予技能访问浏览器、文件、日历等的权限
- ✓触发短语 — 使用自定义关键词激活技能
- ✓可分享 — 导出并与社区分享技能
示例技能
早间简报
生产力获取包含天气、日历和新闻的个性化早间更新
"good morning"
费用追踪
财务从收据记录费用并生成月度报告
"log expense"
会议安排
生产力跨日历查找空闲时间并安排会议
"schedule meeting"
网页监控
自动化监控网站变化并发送提醒
"monitor website"
翻译
通讯具有上下文感知的多语言文本翻译
"translate this"
代码审查
开发审查代码变更并提出改进建议
"review my code"
创建技能
1
创建 Markdown 文件
在你的 OpenClaw 技能目录中创建一个新的 .md 文件。
~/openclaw/skills/my-skill.md2
编写你的技能
添加包含名称、触发词和工具的 frontmatter。然后用自然语言编写指令。
--- name: Daily Standup triggers: - "standup" - "daily update" - "what did I do" tools: - calendar - notes --- # Daily Standup Skill When the user asks for a standup update: 1. Check the calendar for today's meetings 2. Review notes from the past 24 hours 3. Summarize completed tasks 4. List upcoming deadlines Format the response as a brief standup report.
3
测试你的技能
使用触发短语激活你的技能,验证它是否按预期工作。
你:"给我今日站会更新"
OpenClaw 将按照你的技能指令检查日历、查看笔记并生成站会报告。
技能结构解析
--- name: Skill Name # Display name triggers: # Phrases that activate this skill - "trigger phrase 1" - "trigger phrase 2" tools: # Tools the skill can use - browser # Web browsing - filesystem # Read/write files - shell # Run commands - calendar # Calendar access - email # Send emails priority: 10 # Higher = matched first (optional) --- # Instructions Write natural language instructions here. The AI will follow these when the skill is triggered. ## Examples Provide examples of expected behavior. ## Edge Cases Handle special situations.
可用工具
浏览器
网页浏览和自动化
文件系统
读写本地文件
终端
执行终端命令
日历
访问日历事件
邮件
发送和阅读邮件
HTTP
发起 API 请求
笔记
访问 Obsidian/笔记
定时任务
安排周期性任务
社区技能
在 GitHub 上浏览并与 OpenClaw 社区分享技能。