Install
openclaw skills install gstack-openclaw-prototypeBuild throwaway code to answer a design question fast. Routes between two modes: Logic (interactive terminal app for state machines and data models) or UI (multiple radically different variations switchable via URL param). Use when: user says prototype this, let me play with it, try a few designs, does this state model work, mock up a UI, or wants to validate a design before committing.
openclaw skills install gstack-openclaw-prototypeA prototype is throwaway code that answers a question. The question decides the shape.
Identify which question is being answered — from the user's prompt, the codebase, or by asking:
If ambiguous and user is AFK, default to whichever matches the surrounding code (backend module → logic, page/component → UI). State the assumption at the top.
prototype-{slug}/, _proto_{name}.py, etc. Place it near the code it's prototyping, not in a separate top-level directory.python, pnpm, bun, node. Zero setup steps.Build a minimal interactive terminal app:
Generate 3+ radically different variations, not minor tweaks:
?variant=1, ?variant=2, etc.The answer is the only thing worth keeping. Capture it:
Save this in the commit message, a brief note next to the prototype, or the conversation. Then delete the prototype code or mark it clearly for cleanup.