spike

spike is a command for Claude Code from stefan-jansen/claude-code-toolkit. It costs 0 tokens per session (403 once invoked), scanned A, original, MIT.

A command for trying out a technical idea in an isolated Git branch with a time limit and automatic cleanup. This kind of short investigation is often called a spike.

In plain words
What is it for?
Use it to start a time-boxed experiment, compare technical approaches or libraries, check its status, generate a findings report, or abandon the experiment and clean it up.
Why use it?
It lets developers experiment without mixing unfinished code into normal work and records what was learned if the investigation is completed.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the workflow plugin — 6 commands shipped together

Good fit Use it to start a time-boxed experiment, compare technical approaches or libraries, check its status, generate a findings report, or abandon the experiment and clean it up.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/stefan-jansen/claude-code-toolkit/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.

Clone the repo
git clone --depth 1 https://github.com/stefan-jansen/claude-code-toolkit

Made for: Claude Code.

Or install workflow, the plugin that ships this one along with the rest of its 6 commands.

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/commands/stefan-jansen/claude-code-toolkit/spike/github.svg)](https://agentmods.dev/commands/stefan-jansen/claude-code-toolkit/spike)
Your own site
<a href="https://agentmods.dev/commands/stefan-jansen/claude-code-toolkit/spike"><img src="https://agentmods.dev/badge/commands/stefan-jansen/claude-code-toolkit/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/commands/stefan-jansen/claude-code-toolkit/spike"><img src="https://agentmods.dev/badge/commands/stefan-jansen/claude-code-toolkit/spike.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 403 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.
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.00000 $0.00403
Opus 5.5 $0.00000 $0.00161
Sonnet 5.5 $0.00000 $0.00081
Haiku 4.5 $0.00000 $0.00040

Measured 3mo ago against content hash 9d4e8475080e, 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 3mo 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.

plugins/workflow/commands/spike.md · 76 lines

What it actually says

Spike - Time-boxed Technical Exploration

Isolated environment for experimental code exploration with automatic cleanup.

Commands

Command Description
/spike start "topic" Create spike branch, start timer
/spike start "topic" --duration 60 Custom duration (minutes)
/spike complete Generate findings report
/spike abandon Discard and cleanup
/spike status Check current spike

Process

Start

  1. Create isolated branch: spike/topic-timestamp
  2. Create tracking file: .claude/spikes/current.json
  3. Set time box (default: 2 hours)

During Spike

  • Experiment freely, quality doesn't matter
  • Try multiple approaches
  • Focus on learning
  • Document findings as you go

Complete

  1. Generate findings report to .claude/spikes/report_*.md
  2. Options: keep branch / merge useful code / delete

Abandon

  • Switch to main branch
  • Delete spike branch
  • Remove tracking file

Report Structure

# Spike Report: [Topic]

## Executive Summary
- What was explored
- Key findings
- Recommendation (proceed/pivot/abandon)

## Technical Findings
- What worked / didn't work
- Performance observations
- Libraries evaluated

## Recommendations
- Suggested approach
- Estimated effort
- Next steps

File Locations

.claude/spikes/
├── current.json           # Active spike tracking
├── completed_*.json       # Archived spikes
└── report_*.md           # Spike reports

Guidelines

DO: Experiment, break things, time-box strictly, document findings DON'T: Polish code, write tests, exceed time limit

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. 3mo ago First seen · 76 lines · 0 tokens per session scan A 9d4e8475080e

Subscribe to this mod's changes

spike is a command published in the GitHub repository stefan-jansen/claude-code-toolkit (101 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 403 tokens. 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-30.

Related

spike compared with commands from other repositories

spike next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spikestefan-jansen/claude-code-toolkitCommand1014mo agoMITA0Claude Code
pull-repostravisjneuman/.claudeCommand115yesterdayMITA13Claude Code
update-countstravisjneuman/.claudeCommand115yesterdayMITA13Claude Code
workflow-classifysangrokjung/claude-forgeCommand8862mo agoMITA18Claude Code
create-task-list.templateevan043/claude-cli-advanced-starter-packCommand624mo agoMITA0Claude Code
todo.templateevan043/claude-cli-advanced-starter-packCommand624mo agoMITA0Claude Code
update-check.templateevan043/claude-cli-advanced-starter-packCommand624mo agoMITA0Claude Code