Spike
Use when the user wants to test an idea before committing to a real build: "spike this", "quick prototype", "is this possible", "compare A/B", "before we build".
Do not use when reading docs/code can answer the question, or when the user clearly asked for production implementation.
Loop
- Question: state the concrete feasibility question.
- Research: read enough docs/source to choose credible approach.
- Build: create the smallest runnable artifact that validates or invalidates the idea.
- Stress: try one edge case or failure mode.
- Verdict:
VALIDATED, PARTIAL, or INVALIDATED.
Output shape
- Default workspace:
.tmp/openclaw-spikes/<slug> unless user asks for a tracked repo-local path.
- Repo-local option:
spikes/<NNN-slug>/ with README.md and minimal code.
- Prefer runnable CLI, tiny HTML, one endpoint, or focused test.
- Avoid package sprawl, Docker, env files, app frameworks, and production cleanup.
Multi-spike ideas
- Split into 2-5 independent questions.
- Run the riskiest question first.
- For A/B comparisons, keep inputs equal and measure the same dimensions.
- Ask before building all variants if the work is more than a small prototype.
Verdict format
## Verdict: VALIDATED | PARTIAL | INVALIDATED
Question: ...
Evidence: exact command/output/measurement.
What worked: ...
What failed or surprised us: ...
Recommendation: ship / adjust / avoid, with the next production step.
Rules
- An invalidated spike is useful when it rules out a path with evidence.
- Do not merge spike code into production without rewriting it normally.
- If external dependencies are evaluated, check health: recent release/commit, docs, license, install friction.
1---2name: spike3description: Run throwaway prototypes to validate feasibility, compare approaches, and report a verdict.4metadata:5 source: https://skillmd.com/skills/aniruddhaadak80/spike6 openclaw:7 emoji: 🧪8---910# Spike1112Use when the user wants to test an idea before committing to a real build: "spike this", "quick prototype", "is this possible", "compare A/B", "before we build".1314Do not use when reading docs/code can answer the question, or when the user clearly asked for production implementation.1516Loop17181. Question: state the concrete feasibility question.192. Research: read enough docs/source to choose credible approach.203. Build: create the smallest runnable artifact that validates or invalidates the idea.214. Stress: try one edge case or failure mode.225. Verdict: `VALIDATED`, `PARTIAL`, or `INVALIDATED`.2324Output shape2526- Default workspace: `.tmp/openclaw-spikes/<slug>` unless user asks for a tracked repo-local path.27- Repo-local option: `spikes/<NNN-slug>/` with `README.md` and minimal code.28- Prefer runnable CLI, tiny HTML, one endpoint, or focused test.29- Avoid package sprawl, Docker, env files, app frameworks, and production cleanup.3031Multi-spike ideas3233- Split into 2-5 independent questions.34- Run the riskiest question first.35- For A/B comparisons, keep inputs equal and measure the same dimensions.36- Ask before building all variants if the work is more than a small prototype.3738Verdict format3940```markdown41## Verdict: VALIDATED | PARTIAL | INVALIDATED4243Question: ...44Evidence: exact command/output/measurement.45What worked: ...46What failed or surprised us: ...47Recommendation: ship / adjust / avoid, with the next production step.48```4950Rules5152- An invalidated spike is useful when it rules out a path with evidence.53- Do not merge spike code into production without rewriting it normally.54- If external dependencies are evaluated, check health: recent release/commit, docs, license, install friction.