用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bubbuild/bub-xiaoai --skill xiaoai命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | xiaoai |
| description | Use this skill when interacting through the XiaoAi channel or controlling XiaoAi-connected devices. |
Use this skill when the active interaction happens through XiaoAi, including spoken replies and XiaoAi-executed commands.
If the assistant is delivering a user-facing reply through XiaoAi, call xiaoai_speak.
If the assistant needs XiaoAi to execute an instruction, call xiaoai_exec.
If the assistant wants to continue the conversation after replying, it must call xiaoai_listen to fetch a new XiaoAi message before continuing. Do not assume a follow-up message exists unless xiaoai_listen returns one.
text argument.xiaoai_speak call per reply unless the task explicitly needs multiple utterances.xiaoai_speak for hidden reasoning, tool chatter, or non-user-facing status messages.Use xiaoai_exec when the task is to send a device command to XiaoAi instead of speaking a reply.
command argument.xiaoai_exec over xiaoai_speak.Example:
xiaoai_exec command=关灯
xiaoai_listen to get the next XiaoAi message.xiaoai_listen returns a new user message.xiaoai_listen does not return a new message, end the turn instead of inventing a continuation.xiaoai_speak(text=<final reply>).xiaoai_listen() and wait for a new message before proceeding.