skill-catalog-builder
它能做什么
这项技能从多个文件夹中建立有组织的智能体技能清单。适合把技能分别保存在项目文件夹和个人文件夹中,并需要智能体选出正确技能的人。
适用场景
- ✓当智能体的技能分布在多个文件夹中,你需要一份清晰的清单时。
- ✓当两个技能同名,你需要知道哪一个生效时。
- ✓当智能体只应加载它所需的技能,以节省空间时。
技能链接
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/24-skill-discovery-and-progressive-disclosure/outputs/skill-catalog-builder/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的项目文件夹和个人文件夹里都有技能。请把它们列出来,并告诉我有哪些重名的。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体按优先级顺序读取各个文件夹,建立目录。它会报告重名的技能和被排除的技能,并且只加载被选中的技能。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Skill catalog builder
Use this skill when an agent host needs deterministic discovery across more than one skill directory.
- Read
references/discovery-contract.md. - Review the example host policy in
assets/scope-policy.json; do not assume its order is universal. - Run
python3 scripts/build_catalog.py project=PATH user=PATHwith scopes listed from highest to lowest precedence. - Inspect the JSON
collisionsandomittedarrays before activating a skill. - Load only the selected SKILL.md body. Load a direct reference only when that body names it.
Never execute a bundled script during discovery. Never choose an equal-precedence duplicate by incidental filesystem order.
Return the catalog budget, selected entries, collision resolutions, and omissions.
常见问题
两个技能同名时会怎样?
目录会报告这一冲突,并采用优先级较高的文件夹,而不是随机选择。
建立清单时会运行脚本吗?
不会。发现阶段不会运行任何脚本。
它使用哪种文件夹顺序?
顺序来自你设置的宿主策略,并不假定在所有地方都相同。
详情
作者的原始描述
Build a bounded Agent Skill catalog across explicit discovery scopes and report collisions before loading instruction bodies.
热度
- GitHub 星标
- 76k
- 排名
- #2630
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
blueprint-figure
76k帮你的智能体为课程、README 和手册绘制清晰的静态 SVG 图示,展示系统中真实部件之间的连接关系。
build-project
76k充当项目导师,每次带你完成一个实践 AI 项目阶段,提供提示和评分,但不给出完整答案。
check-understanding
76k对 AI Engineering from Scratch 课程中已完成的阶段进行小测验,让你在进入下一阶段前检查自己学到了什么。
claude-certification
76k在 AI Engineering from Scratch 课程的 Claude 认证路线中充当分步导师,提供课程、实验和练习考试。