generic-max-supply
Installation
SKILL.md
Generic Max-Supply Planning
Core
- Execution order (mandatory): read
scripts/model.pyfirst, then decide relevant CSV files from the prompt, then read only those CSVs, then run baselinemodel.py, then copy tomodel_whatif.py, apply a targeted edit, and runmodel_whatif.py. - Source data and reference model: scripts/ for Python (
data.py,model.py); scripts/data/ for CSV inputs.load_data(data_dir, num_periods)reads from that data directory; optional cost/backlog files are read separately if needed.
Workspace layout
| Location | Contents |
|---|---|
| scripts/ | Python: data.py (load_data), model.py (build/solve). Run from repository root (or your run directory) with python scripts/model.py. |
| scripts/data/ | Required and optional CSV files (items, families, processes, supply, demand, etc.). All files from the data file map live here. |
Using in the working directory
Do not modify the skill files. To run or change the model: (1) Copy skills/generic-max-supply/scripts/ into your run directory. (2) Edit only the copy. (3) Run from that run directory or repository root. Do not assume a fixed sandbox cwd.