yao-agent
它能做什么
这项技能是在 Yao 平台上管理 AI 智能体的工具指南。适合在该平台上构建或维护智能体、并希望智能体查找真实的智能体详情而不是靠猜测的人。
适用场景
- ✓当你需要平台上可用智能体的列表时。
- ✓当你想研究另一个智能体的源代码以供参考时。
- ✓当你想把更改部署到你正在构建的智能体上时。
技能链接
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-agent/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请列出我 Yao 主机上的智能体,并给我看天气智能体的源代码以供参考。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体使用几个命令行工具来列出智能体、下载可编辑的副本、保存只读的参考副本,以及部署代码。它查看的是真实的智能体详情,而不是猜测它们的构建方式。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent Tools
Five tools for managing agents on the host, called via bash.
agent_list
List available agents. Returns ID, name, description, and capabilities for each agent.
tai tool agent_list '{}'
tai tool agent_list '{"namespace": "smith"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
namespace |
string | no | Filter by namespace (e.g. yao, smith). Omit for all. |
agent_download
Download a smith-namespace agent into the development directory for editing. Restricted to smith namespace only — for other agents, use agent_reference.
tai tool agent_download '{"id": "smith.weather"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Agent ID in dot notation. Must be smith.*. |
Downloaded code lands in agent-smith-dev/assistants/smith/<name>/.
agent_reference
Download agent source code from the host into .references/ for read-only study. Any agent across all namespaces can be referenced.
tai tool agent_reference '{"id": "yao.slides"}'
tai tool agent_reference '{"id": "yao.keeper"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Agent ID in dot notation (e.g. yao.slides) |
Referenced code lands in agent-smith-dev/.references/<namespace>/<name>/.
agent_deploy
Deploy agent source code from the sandbox development directory to the host. Restricted to the smith namespace only — attempts to deploy to other namespaces will be rejected.
tai tool agent_deploy '{"id": "smith.weather"}'
tai tool agent_deploy '{"id": "smith.weather", "message": "add SUI page"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Agent ID in dot notation. Must use smith namespace. |
message |
string | no | Optional deploy message for logging. |
agent_connectors
Get the current user's LLM connector matrix. Returns metadata for each role (default, heavy, light, vision, etc.) without API keys. Use this to understand which models are available and their capabilities.
tai tool agent_connectors '{}'
No parameters required.
Guidelines
- Use
agent_listto discover agents before downloading or referencing agent_downloadis for editing smith agents — code lands inagent-smith-dev/assistants/smith/<name>/agent_referenceis for studying any agent — code lands inagent-smith-dev/.references/<namespace>/<name>/- Deploy is restricted to the
smithnamespace for safety - Connector data never includes API keys, secrets, or tokens
- All output is JSON
常见问题
它能更改任何智能体吗?
只有 smith 命名空间中的智能体可以下载进行编辑。
参考副本有什么用?
它是只读的,用于研究另一个智能体是如何构建的。
它能检查模型连接器吗?
可以。它可以查询 LLM 连接器的列表。
详情
作者的原始描述
Agent management expert. ALWAYS invoke this skill when you need to list available agents, download or reference agent source code, deploy agent code to the host, or query the LLM connector matrix. Do not guess agent structures — use this skill first.
repo: YaoApp/yao
热度
- GitHub 星标
- 8.3k
- 排名
- #12469
- 许可证
- —
- 更新时间
- 2026/10/19
评论
- …