← Back to context

Comment by jedwhite

1 day ago

One of the advantages of using executable Markdown files with pipe support is that it allows you to create composable building blocks that can be chained together.

So you can build individual prompt-based scripts (format.md, summarize.md etc.) that are each small, simple and focused on a single task. Then you can chain those prompt scripts together with regular command line tools and bash scripts.

I find that approach quite powerful, and it helps overcome the need for massive prompts. They can also be invoked from within Claude Code in interactive mode.