Skip to content
Agentmart
Submit a tool

composing-skills

Routes a task to the smallest set of skills that covers it and sequences them without context bloat, instead of one monolithic instruction.

Skill by Adrian Paredez

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/adrianparedez-composing-skills

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Routes a task to the smallest set of skills that covers it and sequences them without context bloat, instead of one monolithic instruction. Use when a task spans multiple capabilities, when many skills are installed, or when deciding which skills to apply. Reads the skill registry to discover specialists and respects the tier/dependency ordering.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/composing-skills

What's inside

Skill name
composing-skills
Description
Routes a task to the smallest set of skills that covers it and sequences them without context bloat, instead of one monolithic instruction. Use when a task spans multiple capabilities, when many skills are installed, or when deciding which skills to apply. Reads the skill registry to discover specialists and respects the tier/dependency ordering.
License
Apache-2.0
Compatibility
Any runtime that can load multiple skills. Uses filesystem read for the registry; degrades to description-only routing without one.
Metadata
tier: 3 · layer: meta/control · author: Adrian Paredez · version: 1.0
Instructions
82 lines in SKILL.md · view on GitHub

Files (6)

  • SKILL.md
  • README.md · benchmarks/
  • composition.md · checklists/
  • examples.md
  • references.md
  • composition-plan.md · templates/

SKILL.md (first lines)

# Composing skills

A library of small, sharp skills beats one giant skill, but only if the right ones are
**selected and sequenced** per task. This skill is the router and conductor: it turns "I
have 100 skills" into "I'm using these 3, in this order, right now."

## Use this when
- A task needs more than one capability (research + plan + code).
- Many skills are installed and you must pick.
- You're tempted to write/use a monolithic "do everything" skill, compose instead.
- **Skip** for a task one specific skill already covers, just use that skill.

## Routing (which skills)

```
- [ ] 1 CLASSIFY the task: what capabilities does it actually need?
- [ ] 2 MATCH    candidate skills by description (+ registry for non-resident specialists)
- [ ] 3 MINIMIZE pick the SMALLEST covering set; prefer the most specific skill per need
- [ ] 4 ORDER    sequence by the dependency graph (tier N may use tier <=N)
- [ ] 5 LOAD     activate one body at a time, as each phase begins (not all upfront)
```

## Sequencing (what order)

Follow the tier/dependency rules (see `docs/06`):
- **Plan → Execute → Verify** is the default backbone:
  `decomposing-tasks` → (`sustained-execution` if long) → domain work → `verifying-reasoning`.
- **Research feeds planning:** `progressive-research` before/within planning when facts are
  missing.
- **Budget runs underneath everything:** `context-budgeting` is ambient, not a phase.
- **Autonomy wraps the backbone:** `operating-autonomously` is the outer loop for
  unattended runs.
- A skill may invoke skills at its own tier or **below**, never above (keeps it acyclic).

## Composition principles

1. **Smallest covering set.** Use the fewest skills that fully cover the task. Each extra
   loaded body is active-context cost. Two well-chosen skills beat five.
2. **Most specific wins.** Prefer the skill whose description most tightly matches the
   need; general skills are fallbacks. Disambiguate overlapping skills via their "use this
   when / not when" lines.
3. **Sequential activation, not bulk.** Load a skill's body when its phase starts; let it
   fall out when the phase ends (progressive disclosure across skills). Don't preload the
   whole chain.
4. **Reference, don't inline.** When skill A needs B's capability, hand off to B (name +
   when), don't copy B's content into A. Copies rot and bloat.
5. **Hand off via durable state.** Multi-skill tasks pass context through the
   `sustained-execution` ledger, not by stuffing everything in the window.
6. **Detect the monolith smell.** If you're writing a skill that needs "and also research,
   and also plan, and also verify," you're rebuilding the fabric inside one file, split it
   and compose instead.

## The registry pattern (scaling to hundreds)
Keep `skills/REGISTRY.md` as a one-line-per-skill index (name, when-to-use). Frequently
used skills sit in the resting menu; rare specialists live registry-only and are discovered
by reading the registry on demand. This caps resting token cost at O(hot set), not
O(all skills). See `docs/design/07-activation-strategy.md`.

## Worked routing
| Task | Covering set (ordered) |
|---|---|
| "Research X and write a report" | progressive-research → verifying-reasoning (+budget) |
| "Build feature over a long session" | decomposing-tasks → sustained-execution → guarding-code-quality → verifying-reasoning |
| "Run this goal unattended" | operating-autonomously ⟨ wraps the build chain ⟩ |
| "Make me a skill for Y" | authoring-skills → composing-skills(sizing) → auditing-skills |

## Runtime adaptation
- **Auto-selecting runtimes (Claude Code):** routing happens in reasoning; rely on strong
  descriptions, then this skill sequences them.
- **Explicit-invocation runtimes (Codex `$name`):** this skill names which skills to invoke
  and in what order.
- **No selector (OpenClaw/Hermes):** treat each SKILL.md as an instruction module; this
  skill is the plan for which modules to read when.

## Files
- `references.md`, routing heuristics, overlap resolution, anti-monolith.
- `examples.md`, routing traces for real tasks.
- `templates/composition-plan.md`, record the chosen set + order.
- `checklists/composition.md`, pre-execution routing gate.
- `benchmarks/`, routing precision/recall & token-vs-monolith method.

From AdrianParedez/capability-fabric, Apache-2.0.

More from AdrianParedez/capability-fabric

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 5, 2026 (4 months ago)
Last release
Jun 5, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Adrian Paredez

Cite this page

composing-skills. Agent Mart. https://agentmart.dev/skills/adrianparedez-composing-skills (last updated 2026-10-24)