Scripts

Prompt Build Script Documentation

Template assembler that expands include tokens into file contents and copies the result to clipboard.

What it does

This script is typically used to build prompt or document bundles from multiple source files in a reproducible way.

How to run it

python prompt_build.py TEMPLATE MAP

Requires xclip to be installed and available in the system PATH.

Inputs

Outputs

Example

python prompt_build.py prompt_template.txt mapping.json