技能 Organizer
- 作者仓库星标 1,039
- 作者仓库 MassGen
Skill Organizer
Reads all installed skills, identifies overlaps and confusability, merges where
appropriate, and produces a compact SKILL_REGISTRY.md that serves as a routing
guide in agent system prompts.
Why This Exists
Models have a skill selection capacity (kappa) of approximately 50-100 items. Beyond that, selection accuracy degrades. As skills accumulate through log analysis and manual creation, the skill library can cross this threshold. This skill keeps the library organized and the routing guide compact.
Reference: Scaling LLM Agents with Skill Libraries
Workflow
Step 1: Inventory
List all skill directories in the .agent/skills/ folder.
Then read each skill's SKILL.md to understand scope, quality, and overlap. Each skill lives in a subdirectory of .agent/skills/ with a SKILL.md file.
Step 2: Identify overlapping or confusable skills
Look for:
- Skills that do the same thing with slightly different names
- Skills whose scopes significantly overlap (one is a subset of another)
- Skills that could be combined into a single broader skill with multiple sections
- Near-duplicate skills created from different log analysis sessions
Step 3: Merge into hierarchical parent skills
For each group of overlapping or related skills, create a single parent skill with sections covering each sub-capability:
- Choose a broader parent name and directory (e.g.,
web-app-devinstead of separatereact-frontend,nodejs-backend,web-testing) - Write one comprehensive SKILL.md with clearly labeled sections for each sub-capability. Each section should be self-contained enough that an agent can read just that section for a focused task.
- Move bundled resources (templates, examples, configs) from merged skills into subdirectories of the parent skill directory.
- Remove the redundant skill directories.
When merging, prefer the skill with:
- Better-quality instructions and examples
- More complete bundled resources
- A more descriptive, general name
The goal is fewer, richer skills — a parent skill with 4 well-written sections is better than 4 separate shallow skills.
Step 4: Generate SKILL_REGISTRY.md
Write .agent/skills/SKILL_REGISTRY.md as a compact routing guide:
# Skill Registry
## <Category> (<count>)
- **skill-name**: What it does in one sentence.
Use when: <trigger condition — when should the agent read this skill?>
Sections: <comma-separated list of sections/sub-capabilities within the skill>
- **skill-name**: What it does in one sentence.
Use when: <trigger condition>
## Recently Added
- **new-skill** (project): Frontmatter description — not yet categorized
The registry should:
- Group skills by purpose/domain (not alphabetically)
- For each skill, include: what it does, when to read it, and what sections it contains
- The "Use when" line is critical — it tells agents when to load the full SKILL.md
- The "Sections" line (when applicable) shows what sub-capabilities live inside the skill
- Stay under 50 entries total (merge aggressively if needed)
- Include a "Recently Added" section for skills created since last organization
- NOT duplicate full skill content, just enough for selection routing
Step 5: Report
Summarize what you did:
- How many skills were found
- Which skills were merged (old names -> new name)
- Which skills were kept as-is
- The final registry structure
Constraints
- Do NOT use keyword matching, Jaccard similarity, or heuristic categorization. Use your understanding of what each skill does.
- Be aggressive about merging: fewer high-quality skills beats many overlapping ones.
- Preserve all bundled resources (templates, examples, configs) during merges.
- The SKILL_REGISTRY.md is a routing guide, not documentation. Keep it concise.
- Skills in
massgen/skills/(builtin) should not be merged or deleted, only cataloged in the registry.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @massgen · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Workflow
List all skill directories in the .agent/skills/ folder. Then read each skill's SKILL.md to understand scope, quality, and overlap. Each skill lives in a subdirectory of .agent/skills/ with a SKILL.md file.
Look for: Skills that do the same thing with slightly different names Skills whose scopes significantly overlap (one is a subset of another)
For each group of overlapping or related skills, create a single parent skill with sections covering each sub-capability: Choose a broader parent name and directory (e.g., web-app-dev instead of
Write .agent/skills/SKILLREGISTRY.md as a compact routing guide:
Summarize what you did: How many skills were found Which skills were merged (old names -> new name)
# Skill Organizer
Reads all installed skills, identifies overlaps and confusability, merges where
appropriate, and produces a compact `SKILL_REGISTRY.md` that serves as a routing
guide in agent system prompts.
## Why This Exists
Models have a skill selection capacity (kappa) of approximately 50-100 items.
Beyond that, selection accuracy degrades. As skills accumulate through log analysis
and manual creation, the skill library can cross this threshold. This skill
keeps the library organized and the routing guide compact.
Reference: [Scaling LLM Agents with Skill Libraries](https://arxiv.org/pdf/2601.04748v2)
## Workflow
### Step 1: Inventory
List all skill directories in the .agent/skills/ folder.
Then read each skill's SKILL.md to understand scope, quality, and overlap.
Each skill lives in a subdirectory of .agent/skills/ with a SKILL.md file.
### Step 2: Identify overlapping or confusable skills
Look for:
- Skills that do the same thing with slightly different names
- Skills whose scopes significantly overlap (one is a subset of another)
- Skills that could be combined into a single broader skill with multiple sections
- Near-duplicate skills created from different log analysis sessions
### Step 3: Merge into hierarchical parent skills
For each group of overlapping or related skills, create a single **parent skill**
with sections covering each sub-capability:
1. Choose a broader parent name and directory (e.g., `web-app-dev` instead of
separate `react-frontend`, `nodejs-backend`, `web-testing`)
2. Write one comprehensive SKILL.md with clearly labeled sections for each
sub-capability. Each section should be self-contained enough that an agent
can read just that section for a focused task.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Why This Exists → Workflow → Step 1: Inventory → Step 2: Identify overlapping or confusable skills → Step 3: Merge into hierarchical parent skills → Step 4: Generate SKILLREGISTRY.md
要点 -> parent skill · skill-name · new-skill · Models have a skill selection capacity (kappa) of approximately 50-100 items. · List all skill directories in the .agent/skills/ folder. · Then read each skill's SKILL.md to understand scope, quality, and overlap. · 1. Choose a broader parent name and directory (e.g., web-app-dev instead of separate react-frontend, nodejs-backend, web-testing) 2. · The goal is fewer, richer skills — a parent skill with 4 well-written sections is better than 4 separate shallow skills.
文件/命令 -> SKILLREGISTRY.md · web-app-dev · react-frontend · nodejs-backend · web-testing · .agent/skills/SKILLREGISTRY.md · massgen/skills/
内容 SHA-256 -> 9f137502e2b4
方法与流程
适用与边界
原文中的明确线索
SKILLREGISTRY.md、web-app-dev、react-frontend、nodejs-backend、web-testing、.agent/skills/SKILLREGISTRY.md、massgen/skills/