Scaffold a teaching companion pack from a COMP
tutorial_companion_packScaffold N-step lesson plans with preview images and topology snapshot for a TouchDesigner network, creating a teaching or selling companion in your vault.
Instructions
Build a teaching/selling companion for a network: snapshot the COMP's topology, capture preview PNGs of its output TOPs, scaffold an N-step lesson plan in Markdown, and emit a documentary network snapshot. Writes into <vault>/<folder>/<slug>/ as tutorial.md + topology.json + network_snapshot.json + previews/*.png. The snapshot captures nodes + connections by TD path for reference only — it is not a RecipeSchema-compatible installable recipe. Composes existing read-only bridge calls — the artist edits the lesson body afterwards. Requires TDMCP_VAULT_PATH and a running TouchDesigner bridge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_comp | Yes | COMP whose contents are the subject of the tutorial. | |
| name | No | Pack name; defaults to the COMP's name. | |
| folder | No | Vault subfolder for the pack. | Tutorials |
| lesson_count | No | Number of lesson steps to scaffold (1..20). | |
| preview_width | No | ||
| preview_height | No | ||
| description | No | One-paragraph human description for the lesson. | |
| tags | No | Tags written to the pack's frontmatter. |