skill-organizer
- Repo stars 1,039
- Author updated Live
- Author repo MassGen
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @massgen · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skill-organizer
description: Analyze, reorganize, and catalog all installed skills. Merges overlapping skills, restructures t…
category: ai
runtime: no special runtime
---
# skill-organizer output preview
## PART A: Task fit
- Use case: Analyze, reorganize, and catalog all installed skills. Merges overlapping skills, restructures the filesystem hierarchy, and generates a compact SKILL_REGISTRY.md routing guide for system prompts..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Why This Exists / Workflow / Step 1: Inventory” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Analyze, reorganize, and catalog all installed skills. Merges overlapping skills, restructures the filesystem hierarchy, and generates a compact SKILL_REGISTRY.md routing guide for system prompts.”.
- **02** When the source has headings, the agent prioritizes “Why This Exists / Workflow / Step 1: Inventory” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Why This Exists / Workflow / Step 1: Inventory”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: skill-organizer
description: Analyze, reorganize, and catalog all installed skills. Merges overlapping skills, restructures t…
category: ai
source: massgen/MassGen
---
# skill-organizer
## When to use
- Analyze, reorganize, and catalog all installed skills. Merges overlapping skills, restructures the filesystem hierarch…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Why This Exists / Workflow / Step 1: Inventory” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "skill-organizer" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Why This Exists / Workflow / Step 1: Inventory
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} 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.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review