创建或更新 Agent 技能。用于设计、构建或打包技能,包括脚本、参考资料和资源文件。
本技能提供创建有效 Agent 技能的指导。
技能是模块化、自包含的包,通过提供专业知识、工作流程和工具来扩展 Agent 的能力。可以把它们看作特定领域或任务的"入门指南"。
上下文窗口是公共资源。技能与 Agent 需要的所有其他内容共享上下文窗口。
默认假设:Agent 已经非常聪明。 只添加 Agent 尚未拥有的上下文。
优先使用简洁的示例而不是冗长的解释。
每个技能由必需的 SKILL.md 文件和可选的打包资源组成:
skill-name/
├── SKILL.md (必需)
│ ├── YAML frontmatter 元数据 (必需)
│ │ ├── name: (必需)
│ │ └── description: (必需)
│ └── Markdown 使用说明 (必需)
└── 打包资源 (可选)
├── scripts/ - 可执行代码 (Python/Bash 等)
├── references/ - 文档,按需加载到上下文
└── assets/ - 输出中使用的文件 (模板、图标、字体等)
每个 SKILL.md 包含:
name 和 description 字段---
name: weather
description: 查询当前天气和天气预报(无需 API 密钥)。
homepage: https://wttr.in/:help
metadata: {"finchbot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
---
skills/{skill-name}/这是一个最小化的 SKILL.md 模板:
---
name: my-skill
description: 简短描述这个技能的功能和使用时机。
metadata: {"finchbot":{"emoji":"✨"}}
---
# 我的技能
关于如何使用这个技能的简要说明。
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer