完成后,你将在一个文件中写好一个技能,并且一位员工已经在一项工作中用过它。
创建文件
- 打开 Nebo 用于存放技能的文件夹:
- macOS:
~/Library/Application Support/Nebo/user/skills/ - Windows:
%APPDATA%\Nebo\user\skills\ - Linux:
~/.local/share/nebo/user/skills/
- macOS:
- 为这个技能新建一个文件夹,例如
quote-follow-up。 - 在该文件夹中,创建一个名为
SKILL.md的文件。
编写技能
- 在文件顶部、两行三个短横线之间,添加
name和description。名称只能使用小写字母、数字和连字符。描述说明这个技能做什么、什么时候使用。员工会阅读描述,判断这个技能是否适合某项工作。 - 在下面用平实的语言写出操作说明。
- 保存文件。
---
name: quote-follow-up
description: Follow up on a quote the customer hasn't answered. Use when a quote is more than three days old.
---
1. Find the quote and the customer's last message.
2. Write a short, friendly note that restates the price and what's included.
3. Offer two times for a call.
4. Show me the draft before anything is sent. Nebo 运行时会自动载入这个技能。它会出现在机器人设置 > 技能中。如果技能需要脚本、参考文档或其他文件,请把它们放在 SKILL.md 旁边的 scripts、references 或 assets 文件夹中。
让它开始工作
- 打开与某位员工的聊天。
- 把工作交给它:“跟进一下我们上周二发给 Sam Rivera 的报价。”
- 你的员工会按照技能执行,并把草稿给你看。
你也可以让员工为你编写技能。当它按你满意的方式完成一项工作后,说:“把你刚才的做法保存为技能。”