Skip to main content

rt skills expand

rt › skills › expand

Paste mattstack attachments into hand-written skills: each {{include:<name>}} line in <src>/<skill>/SKILL.md is replaced and the result written to <out>/<skill>/

Usage​

rt skills expand [flags]

Arguments & flags​

Flag / ArgTypeDefaultDescription
--srctextDirectory holding one skill dir per skill
--outtextDirectory expand owns: every skill dir in it is regenerated or removed
--mattstack-dirtextResolve plugins from <dir>/plugins/<name> instead of the installed set
--checkbooleanfalseCompare the output to a fresh expansion and exit 1 on drift; write nothing
--strictbooleanfalseFail on mcp-lint hits in the output (shell forms a mattstack tool covers)
--dry-runbooleanfalsePrint what would be written without touching disk
--jsonbooleanfalseMachine-readable result

See code: commands/skills-expand.ts › skillsExpand