Skip to content
CLI Tools
Skill

/compound-skill

Use when creating a compound skill — a structured knowledge base for a project or topic that uses a SKILL.md routing table and reference documents. Covers the research phase, topic decomposition, SKILL.md frontmatter and routing table format, reference document structure,

From plugin
carapace
1.5k15 skills

Claude Code

$ npx -y skills add carapace-sh/carapace --skill compound-skill --agent claude-code

SKILL.md

compound-skill.SKILL.md
name: compound-skill
description: >
  Use when creating a compound skill — a structured knowledge base for a project or topic
  that uses a SKILL.md routing table and reference documents. Covers the research phase,
  topic decomposition, SKILL.md frontmatter and routing table format, reference document
  structure, cross-referencing, and maintenance. Triggers on: "compound skill", "create skill",
  "write skill", "skill template", "skill structure", "routing table", "reference document",
  "skill authoring", "skill creation guide".
user-invocable: true

Creating a Compound Skill

Guide for creating a compound skill — a structured knowledge base that provides in-depth reference documentation for a project, technology, or topic. A compound skill consists of a **SKILL.md** routing table and a set of **reference documents** in a `references/` directory.

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

| Keywords | Reference | |----------|----------| | research, source code analysis, documentation review, topic decomposition, sub-topic identification, scope boundaries, audience analysis, information sources | [references/research.md](references/research.md) | | SKILL.md, frontmatter, name, description, triggers, user-invocable, routing table, Sub-Resources table, Quick Guide, Cross-Project References, data flow diagram | [references/skill-md.md](references/skill-md.md) | | reference document, structure, heading, code example, table, cross-reference, source attribution, depth level, naming convention | [references/reference-doc.md](references/reference-doc.md) | | cross-reference, link, overlap avoidance, delegation, Cross-Project References, stay on topic, DRY, complementary scope | [references/cross-referencing.md](references/cross-referencing.md) | | maintenance, update triggers, adding references, removing references, keeping current, version skew, changelog | [references/maintenance.md](references/maintenance.md) |

Quick Guide

  • **How do I start creating a compound skill?** → [references/research.md](references/research.md)
  • **How do I write the SKILL.md routing table?** → [references/skill-md.md](references/skill-md.md)
  • **How do I structure a reference document?** → [references/reference-doc.md](references/reference-doc.md)
  • **How do I handle cross-references without duplicating?** → [references/cross-referencing.md](references/cross-referencing.md)
  • **How do I keep a skill up to date?** → [references/maintenance.md](references/maintenance.md)
  • **What goes in the frontmatter description?** → [references/skill-md.md](references/skill-md.md)
  • **How do I decide on sub-topics?** → [references/research.md](references/research.md)
  • **How do I name reference files?** → [references/reference-doc.md](references/reference-doc.md)
  • **When should I link to another skill instead of writing?** → [references/cross-referencing.md](references/cross-referencing.md)

Cross-Project References

These existing compound skills serve as real-world examples:

  • **carapace-dev** — library development skill with 20+ references (carapace repo, `skills/carapace-dev/`)
  • **bash** — shell internals skill with 5 references (carapace repo, `skills/bash/`)
  • **jj** — VCS reference skill with 12 references (carapace-jjlex repo, `skills/jj/`)
Read more
@carapace-sh
Ships withcarapace

Command argument completion generator for [cobra]. Supported shells: Bash Cmd (experimental) Elvish Fish Nushell Oil Powershell Tcsh (experimental) Xonsh Zsh

Stars on GitHub

Momentum

stars in total
1.5k
Star history of carapace-sh/carapace on GitHub, a chart by star-history.com

Other skills on carapace.

bash-ble

bash-ble

Use when working with ble.sh (Bash Line Editor) internals — completion system, cand/yield, menu styles, progcomp integration,…

bash

bash

Use when working with bash shell internals — programmable completion, Readline, quoting/expansion, execution model, startup…

carapace-dev

carapace-dev

Use when developing or debugging the carapace library — Action API, traverse engine, shell formatters, style system, pflag…

cmd-clink

cmd-clink

Use when working with clink or cmd.exe shell internals — clink completion system, argmatcher Lua API, match generators, Readline…

cobra-dev

cobra-dev

Use when developing or debugging spf13/cobra internals — Command struct internals, ExecuteC dispatch, Find vs Traverse, flag set…

elvish

elvish

Use when working with elvish shell internals — completion system, arg-completer, complex-candidate, matcher, complete-getopt,…

More skills from other plugins.

cli-anything-adguardhome

cli-anything-adguardho…

Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI…

@hkuds@hkudsInstall Skill
find-skills

find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…

skills4d40k
@vercel-labs-2@vercel-labs-2Install Skill
ohmyposh

ohmyposh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on…

@jandedobbeleer@jandedobbeleerInstall Skill

Questions about compound-skill.

Which coding agents can use compound-skill?
compound-skill installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.