在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用skill
星标3
分支0
更新时间2026年4月16日 08:55
面向模型与开发者的实用指南:如何在 agent-workbench 中创建、组织、加载与维护 skill
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
面向模型与开发者的实用指南:如何在 agent-workbench 中创建、组织、加载与维护 skill
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Skill 编写手册 |
| description | 面向模型与开发者的实用指南:如何在 agent-workbench 中创建、组织、加载与维护 skill |
这份手册专门回答一个问题:在 agent-workbench 里,怎样把 skill 写对、放对、用对,并长期可维护。
适用对象:
skill 工具按 id 读取知识)写 skill 时,先按下面两个路径示例理解即可:
<workspaceRoot>/skills/new-skill/SKILL.md<repoRoot>/skills/new-skill/SKILL.md其中:
workspaceRoot。repoRoot 指当前工作区内某个仓库目录的根路径。建议:先按 skills/<name>/SKILL.md 这个最小结构创建,再按需要补充同级文件和子 skill。
一个“skill 节点”本质是一个目录,且目录里必须有 SKILL.md:
<some-root>/my-skill/
SKILL.md
SKILL.md 推荐使用 frontmatter:
---
name: 你的 skill 名称
description: 一句话描述这个 skill 解决什么问题
---
正文内容...
name、description 建议提供,便于 top-level 摘要注入。在某个 skill 节点目录下:
SKILL.md)会作为 children 的 file 项返回。SKILL.md,会作为 children 的 skill 项返回。children 会递归展开整棵子树,包含所有可读文本文件(排除 SKILL.md)与后代 skill 节点。children 仍只包含直接子级。示例:
my-skill/
SKILL.md
examples.md # children: file
prompts/
SKILL.md # children: skill
deep/
nested/
SKILL.md # 读取 my-skill(根节点)时会出现在 children 中;读取 prompts 时仍按直接子级返回
skill 工具读 id 时:
SKILL.md 正文 + childrenchildren关键实现位置:
apps/api/src/modules/agent/agent.service.tsapps/api/src/modules/workspaces/workspace.service.tsskill 工具解析:apps/agent-worker/src/runtime/fileTools.ts系统会在 prompt 里注入 top-level skills 摘要(id + name + description):
并注入 skill 工具用法说明:
builtin/...、workspace/...、repo/...)workspace/repo 候选目录遵循统一规则:
skill(大小写不敏感)并额外返回 topLevelSkillCount 作为展示数量:
SKILL.md)SKILL.md 不计入;计数允许为 0(目录仍可显示)模型通过内置 skill 工具:
id: stringbuiltin/... | workspace/... | repo/...SKILL.md 混入多个无关主题。builtin/...)。skill.md,而是 SKILL.md(区分大小写)。skill 工具遵循文本读取限制;二进制不可读。适合放 skill:
不适合放 skill:
plugin-development、skill-authoring。misc、temp2。---
name: <Skill 名称>
description: <一句话说明解决什么问题>
---
# <标题>
## 适用场景
- ...
## 最小步骤
1. ...
2. ...
## 示例
```bash
# 命令或配置示例
---
如果你要新增 skill,优先按这份手册执行;如果你要改现有 skill,优先保证“与当前加载机制一致 + 内容可执行 + 易维护”。