Spike

From metaspartan/cybara · View interactive version

Spike is an AI agent skill from the GitHub repository metaspartan/cybara. Run a throwaway spike/prototype to validate feasibility or compare approaches, then report a clear verdict. Use when the user is unsure an approach works and wants a quick proof before committing.

How to use this skill

Skill file

Spike

A spike is a time-boxed, throwaway investigation. Its output is a decision, not production code.

When to use

Procedure

  1. State the question precisely. What must be true for the approach to be viable? ("Can library X parse a 1GB file in <2s without OOM?")
  2. Set a time/effort box. Spikes are short — if it's taking long, narrow the question.
  3. Write the minimum code to answer the question. Use exec/write in an isolated scratch path (e.g. spike/). Don't worry about quality.
  4. Measure the actual thing. Run it; capture timing/output/errors. Don't extrapolate.
  5. Report a verdict:
  1. Clean up the scratch code (or move it aside) unless it's promoted to real code.

Anti-patterns

Keep spikes honest: a "no, this won't work" verdict with evidence is a successful spike.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.