project-capsule
Pack a directory or module into one markdown or YAML file. Unpack YAML or markdown back into a directory of code. Harvest fenced listings from a book, article, tutorial, or any doc into a YAML capsule, then export that capsule to disk. Generate a complete runnable companion project as FullContentYAML (Poetry, Task, pyenv) from chapter content. Use when the user says "import the login module to a single markdown file", pack/capture a folder, dump a slice of the repo, export yaml to a directory, harvest code examples from a blog post, or generate a book/article/tutorial example as yaml. Wraps create_project_markdown and yaml_project. Works on Claude Code, Grok Build, Codex, and Cursor.