姚特工

运维部署 社区

技能解读

当前原文的自动摘译,尚未人工审校。

代理列表

列出可用的代理。返回每个代理的 ID、名称、描述和功能。参数 · 类型 · 必需 · 描述 namespace · 字符串 · 否 · 按命名空间过滤(例如 yao、smith)。全部省略。

代理下载

将 smith-namespace 代理下载到开发目录中进行编辑。仅限于smith命名空间——对于其他代理,请使用agent_reference。参数 · 类型 · 必需 · 描述 id · 字符串 · 是 · 点表示法的代理 ID。一定是smith.*。下载的代码位于agent-smith-dev/assistants/smith/<name>/。

代理参考

将代理源代码从主机下载到.references/中进行只读学习。可以引用所有名称空间中的任何代理。参数 · 类型 · 必需 · 描述 id · 字符串 · 是 · 点表示法的代理 ID(例如 yao.slides) 引用的代码位于 agent-smith-dev/.references/<namespace>/<name>/。

代理部署

将代理源代码从沙箱开发目录部署到主机。仅限于smith命名空间——尝试部署到其他命名空间将被拒绝。参数 · 类型 · 必需 · 描述 id · 字符串 · 是 · 点表示法的代理 ID。必须使用smith命名空间。 message · 字符串 · 否 · 用于日志记录的可选部署消息。

代理连接器

获取当前用户的 LLM 连接器矩阵。返回每个角色的元数据(默认、重、轻、视觉等),无需 API 密钥。使用它来了解哪些模型可用及其功能。无需参数。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
运维部署
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@YaoApp · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# 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.

```bash
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`.

```bash
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.

```bash
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.

```bash
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.

```bash
tai tool agent_connectors '{}'
```

No parameters required.

## Guidelines

- Use `agent_list` to discover agents before downloading or referencing
- `agent_download` is for editing smith agents — code lands in `agent-smith-dev/assistants/smith/<name>/`
- `agent_reference` is for studying any agent — code lands in `agent-smith-dev/.references/<namespace>/<name>/`
- Deploy is restricted to the `smith` namespace for safety
- Connector data never includes API keys, secrets, or tokens
- All output is JSON

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。