Skip to content
Skillpedia
General coding394k · #82

spike

What it does

It guides an AI agent through a short feasibility test, from a clear question to a small runnable prototype and a verdict. It is for people who want to know whether an idea is worth building before they commit to it.

When to use it

  • ✓When you want to know if an idea is technically possible before building it.
  • ✓When you want to compare two approaches side by side with equal inputs.
  • ✓When you ask whether a quick prototype would validate a direction.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/spike/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/spike/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Before we build it, can we test whether our app can read the Google Places data fast enough? Make a quick prototype.”

5 new skills a week. 1 minute to read.

How it works

The skill states the question, researches a sensible approach, and builds the smallest runnable test. It tries one difficult case, then gives a verdict of validated, partial, or invalidated, with the evidence.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

## 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.
FAQ

Will the prototype be production code?

No. Prototypes are throwaway and avoid extra packages, Docker, and production cleanup.

Where does the prototype go?

By default it goes into a temporary workspace folder, unless you ask for a path inside the project.

What is in the verdict?

It lists the command or measurement used, what worked, what failed, and a recommendation.

Details

Original description by the author

Run throwaway prototypes to validate feasibility, compare approaches, and report a verdict.

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#82
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills