Skip to content

nested-command-expansion

When a command or skill is used as an argument to another command, this extension expands it to its content before passing it through. /outer-command /skill:inner-skill args expands the inner skill first, then feeds the result to the outer command.

Supports recursive expansion (nested within nested) and works with skills, prompt templates, and other registered commands.

Why it matters: Composable commands are more powerful than monolithic ones. A review command can accept a skill as input, a deployment command can expand a checklist template — without each command knowing about the other.