跳到正文
Skillpedia
智能体76k · #2630

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我: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 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

  1. Read references/discovery-contract.md.
  2. Review the example host policy in assets/scope-policy.json; do not assume its order is universal.
  3. Run python3 scripts/build_catalog.py project=PATH user=PATH with scopes listed from highest to lowest precedence.
  4. Inspect the JSON collisions and omitted arrays before activating a skill.
  5. 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.

repo: rohitg00/ai-engineering-from-scratch

热度

GitHub 星标
76k
排名
#2630
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能