Spike: validate feasibility with a throwaway prototype
Run throwaway prototypes to validate feasibility: state the question, research, build the smallest runnable artifact, stress one failure mode, and report a VALIDATED, PARTIAL, or INVALIDATED verdict with evidence.
How to use
Give the agent this original prompt.
---
name: spike
description: Run throwaway prototypes to validate feasibility, compare approaches, and report a verdict.
metadata: { "openclaw": { "emoji": "๐งช" } }
---
# 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
1. Question: state the concrete feasibility question.
2. Research: read enough docs/source to choose credible approach.
3. Build: create the smallest runnable artifact that validates or invalidates the idea.
4. Stress: try one edge case or failure mode.
5. 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
```markdown
## 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.
Source: openclaw/openclaw and its contributors. License: MIT.
Copyright (c) 2026 OpenClaw Foundation
Translation and editorial adaptation by ClawCases.
>Resources
>Related Use Cases
Agent Merge-Conflict Arbiter
Resolve a git merge conflict between two agents' branches as an impartial third party: a neutral arbiter that takes both diffs and their stated intents and produces a merged result without overwriting either side.
Autonomous Project Management with Subagents
Coordinate projects autonomously: a main agent delegates work to PM subagents that track tasks in a shared STATE.yaml, update it as they progress, pick up unblocked work in parallel, and keep all task state in version-controlled files.
Control Bluesound/NAD Players with the blucli CLI
Use the blu CLI to control Bluesound and NAD players from the command line for discovery, playback, grouping, and volume.