compose-md-cli
v0.1.0
Published
A CLI for composing markdown agent context files (CLAUDE.md, AGENTS.md, etc.) from reusable fragments and YAML approach configs.
Readme
Compose-MD
These docs written by AI
Compose agent-facing markdown (AGENTS.md, CLAUDE.md, SKILL.md, and friends) from a pool of
reusable fragments. Switch harness layouts and content placement by editing YAML approaches —
not by rewriting the same prose in multiple files.
Docs: https://dwjohnston.github.io/compose-md/
Install
bun add -d compose-mdInitialize
From your project root:
bunx compose initYou'll be prompted for a docs root name (default projectDocs). init scaffolds the fragment
pool, imports any existing agent prompt files, writes a default approach, and asks whether to
run compose apply immediately.
Apply an approach
bunx compose apply defaultOr run bunx compose for an interactive picker.
