spike

spike is a skill for Claude Code, Codex from petekp/claude-code-setup. It costs 30 tokens per session (290 once invoked), scanned A, original, MIT.

A time-limited experiment whose purpose is to answer uncertain technical questions before committing to a real implementation.

In plain words
What is it for?
Testing whether an approach can work, measuring unknowns, documenting the findings, and removing the experiment afterward.
Why use it?
It prevents disposable test code and untested assumptions from quietly becoming production code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Testing whether an approach can work, measuring unknowns, documenting the findings, and removing the experiment afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petekp/claude-code-setup/spike
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add petekp/claude-code-setup --skill spike
Clone the repo
git clone --depth 1 https://github.com/petekp/claude-code-setup

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spike

README.md
[![agentmods](https://agentmods.dev/badge/skills/petekp/claude-code-setup/spike/github.svg)](https://agentmods.dev/skills/petekp/claude-code-setup/spike)
Your own site
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/spike"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/spike/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spike

Your own site · 80×15
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/spike"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/spike.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00290
Opus 5.5 $0.00012 $0.00116
Sonnet 5.5 $0.00006 $0.00058
Haiku 4.5 $0.00003 $0.00029

Measured 2mo ago against content hash e0af8e26b364, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spike scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/spike/SKILL.md · 17 lines

What it actually says

Spike

State the question, what result would change the decision, and a small experiment budget. Use inspection alone when it can answer the question. A request for a prototype or an estimate does not by itself authorize disposable code or a larger experiment.

Keep experiment code separate from the implementation. Use a temporary directory for self-contained checks. If real project imports are needed, use a task-owned, locally ignored scratch directory or an isolated worktree. Preserve unrelated work and the existing scope and approval boundaries.

Build only enough to measure the unknown. Do not mock the behavior being measured. Include realistic inputs and failure cases when they could change the answer; skip unrelated production polish. Do not use production credentials or mutate shared data without authorization.

Report the observed result, the evidence, its limits, and what it implies for the proposed implementation. A negative result is a valid outcome. Stop when the question is answered or the stated budget is exhausted; do not turn the experiment into an unrequested feature.

Record useful findings before removing task-created scratch code. Treat the implementation as separate work; do not silently promote experimental code. If the user asks to retain the prototype or measurement artifact, preserve it and clearly identify its limitations. Never remove someone else's files, branch, or worktree.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -138 lines · -162 tokens per session e0af8e26b364
  2. 3mo ago First seen · 155 lines · 192 tokens per session scan A 0c6f9bf8f75f

Subscribe to this mod's changes

spike is a skill published in the GitHub repository petekp/claude-code-setup (50 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 290 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spike compared with skills from other repositories

spike next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spikepetekp/claude-code-setupSkill50yesterdayMITA30Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
sandbox-imageslangchain-ai/open-sweSkill11ktodayMITA55Claude Code, Codex
web-appslangchain-ai/open-sweSkill11ktodayMITA43Claude Code, Codex
baby-sitlangchain-ai/open-sweSkill11ktodayMITA30Claude Code, Codex
merge-queue-recoverylangchain-ai/open-sweSkill11ktodayMITA31Claude Code, Codex
migratelangchain-ai/open-sweSkill11ktodayMITA72Claude Code, Codex