# SKILL.md 格式

Canonical URL: https://developers.iagenify.com/zh/sdk/agent/skills-and-subagents/skill-format/
Language: zh

手语,然后指示。 克劳德代码使用同样的形状, 故意使用—— 复制的文件, 原样的作品。

Status: frontmatter + body · names are lowercase-dashed · 100 000 characters

## 技能A {#skill}

```bash
~/.iagenify/skills/release-notes/SKILL.md
~/.iagenify/skills/release-notes/template.md     ← optional extra files
```

```javascript
---
name: release-notes
description: Write release notes from a range of commits, in our house format.
---

Group changes under Added, Changed, Fixed.
Write one line per change, in the past tense, naming the user-visible effect.
Use template.md as the shape of the final document.
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string |  | 小写字母、数字和折线、最多64个字符。当前置事项没有时,使用文件夹的名称 。 |
| `description` | string |  | **系统唯一能迅速的** 由它决定该代理人是否达到这一技能。 |
| `body` | markdown |  | 指示,最多10万个字符 |

> **描述是触发器,不是标签**
>
> 要求符合描述时,代理商被告知使用技能。 “发布说明”几乎完全不匹配; “以我们家格式编写一系列承诺的发布说明,符合需要的要求。 ”

## A技能的附加文件 {#files}

当该技能被装入时,文件夹中的其他任何其它信息都会列出, 当该工具可以打开 `skill { name, file }`。这就是模板、核对表或参考表所属的地方——从身体之外,因此在需要之前,它不花费任何费用。

## 一个子试剂 {#subagent}

```bash
~/.iagenify/agents/explore.md
```

```javascript
---
name: explore
description: Dig through files and data to answer a question, and report the facts.
tools: read, list, glob, grep, search, fetch, query_storage, account
model: gemini-3.5-flash
---

Find what was asked. Quote exactly, with paths.
Do not change anything. End with the facts, not with advice.
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `tools` | list |  | 列表, 或逗号分隔行。 缺席是指父母的选择 。 |
| `model` | string |  | 其自己的模型。 `inherit` - 意思是父母的 |

## 克洛德代码名称被翻译 {#claude}

| 书面 | 理解为 |
| --- | --- |
| `ls` | `list` |
| `websearch` | `search` |
| `webfetch` | `fetch` |
| `multiedit` | `multi_edit` |
| `todowrite` | `todo_write` |

该家族的示范姓名—— `sonnet`, `opus`, `haiku`, `inherit` - 不再在这里服务 回到特工自己的模式 而不是失败

## 仅读集 {#readonly}

对于调查子剂来说,有用的选择是 `read`, `list`, `glob`, `grep`, `search`, `fetch`, `query_storage` 和 `account` - 一切看起来,没有什么改变。 `convert` 里面没有(它写一个文件),机器里也没有留下的东西。

## 前事项接受什么 {#parsing}

一小部分 YAML:字符串,以及书面列表 `[a, b]` 或作为虚线行。一个完全没有前缀的文件被作为纯指令阅读,其名称取自文件夹或文件。

- [账户与计算机](/zh/sdk/agent/skills-and-subagents/account-vs-computer): 哪个名字能决定
- [子智能体库](/zh/sdk/ref/agents/subagents): 管理它们从代码。

```python
api.agents.skills.save(
    name="release-notes",
    description="Write release notes from a range of commits, in our house format.",
    content="""Group changes under Added, Changed, Fixed.
Write one line per change, in the past tense, naming the user-visible effect.
Use template.md as the shape of the final document.""",
)
```

```python
api.agents.subagents.save(
    name="explore",
    description="Dig through files and data to answer a question, and report the facts.",
    tools=["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
    model="gemini-3.5-flash",
    content="""Find what was asked. Quote exactly, with paths.
Do not change anything. End with the facts, not with advice.""",
)
```
