/spike-plugin:spike-launchfrom spike-plugin
Use when a spike plan has been approved and the user needs to choose how to execute it. Presents execution environment options (in-session, new terminal, custom launcher) and dispatches accordingly.
Ships in spike-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Choose where and how to execute a spike plan. Presents options based on user's configured preferences, then dispatches execution to the chosen environment.
After the spike skill produces a plan and the user approves it. This skill sits between plan approval and execution — it does NOT execute the plan itself.
digraph spike_launch {
"User approves spike plan" [shape=doublecircle];
"Config exists?" [shape=diamond];
"Run first-time setup" [shape=box];
"Present options" [shape=box];
"User picks option" [shape=box];
"In session?" [shape=diamond];
"Invoke spike-execute" [shape=box];
"Build claude command" [shape=box];
"Launch in new terminal" [shape=box];
"Report launch status" [shape=doublecircle];
"User approves spike plan" -> "Config exists?";
"Config exists?" -> "Present options" [label="yes"];
"Config exists?" -> "Run first-time setup" [label="no"];
"Run first-time setup" -> "Present options";
"Present options" -> "User picks option";
"User picks option" -> "In session?" ;
"In session?" -> "Invoke spike-execute" [label="yes"];
"In session?" -> "Build claude command" [label="no"];
"Build claude command" -> "Launch in new terminal";
"Launch in new terminal" -> "Report launch status";
}
Stored at <project-root>/.spike/launch-config.json. Project-level so different projects can have different options.
{
"options": [
{
"name": "Run in session",
"type": "in-session"
},
{
"name": "Launch Claude (skip permissions)",
"type": "new-terminal",
"command": "claude --dangerously-skip-permissions"
}
]
}
| Type | Behavior |
|---|---|
in-session | Invoke spike-execute directly in the current session |
new-terminal | Launch a command in a new terminal window using the launcher script |
Users can add custom options during setup or by editing the config directly. The command field is a template that supports these placeholders:
| Placeholder | Replaced With |
|---|---|
{plan} | Absolute path to the spike plan file |
{considerations} | Absolute path to the considerations doc |
{cwd} | Current working directory |
Example custom options:
{
"name": "Ralph loop",
"type": "new-terminal",
"command": "ralph run --plan {plan}"
}
{
"name": "Devcontainer + Claude",
"type": "new-terminal",
"command": "devcontainer exec --workspace-folder {cwd} claude --dangerously-skip-permissions"
}
If no config exists, create one with defaults and ask ONE question:
"No spike launch config found. I'll create one with the default options:
- Run in session
- Launch Claude in a new terminal (--dangerously-skip-permissions)
Want to add a custom option (e.g., a devcontainer or orchestrator command), or are these two good for now?"
If they say "good for now," write the default config and move on. If they describe a custom option, add it to the config.
Do not ask multiple rounds of questions. One question, one answer, done.
Present options from the config as a numbered list:
How would you like to execute this spike?
1. Run in session
2. Launch Claude (skip permissions)
3. [any custom options...]
N. Configure a new option
The last option is always "Configure a new option" so users can extend without editing JSON.
If the user picks "Run in session":
If the user picks any new-terminal option:
For Claude-based options, construct the prompt:
Read the spike plan at {plan}. Execute it following the spike-execute discipline:
- Self-resolve blockers with the simplest fix (don't stop to ask unless the goal is wrong)
- Log all deviations from the plan
- Verify the happy path works
- When done, append deviations to the considerations doc at {considerations}
- Then remind the user: "Spike complete. Review the considerations doc for follow-up."
For custom commands (ralph, etc.), just substitute placeholders — the tool is responsible for its own execution behavior.
For Claude options:
cd {cwd} && claude --dangerously-skip-permissions -p '<prompt>'
For custom options, substitute placeholders in the configured command.
Run the launcher script:
<plugin-dir>/scripts/spike-launcher.sh '<full-command>'
The launcher script detects the terminal emulator and opens a new window. If detection fails, it prints the command for the user to copy-paste.
After launching:
"Spike execution launched in a new terminal. This session is free for other work.
The new session will:
- Execute the spike plan at
{plan}- Log deviations to
{considerations}- Verify the happy path
When it's done, review the results and considerations doc."
If the launcher fell back to printing the command:
"Couldn't detect your terminal. Copy and run this in a new terminal:
<command>This session is free for other work."
When the user picks "Configure a new option":
Ask: "What command should I run? Use {plan}, {considerations}, and {cwd} as placeholders. For example: ralph run --plan {plan} or devcontainer exec --workspace-folder {cwd} claude --dangerously-skip-permissions"
Then ask: "What should I call this option?"
Add it to the config and re-present the options list.
Two questions max for adding an option: command and name.
When the spike skill says "Ready to implement the spike?", it should transition to spike-launch (not spike-execute directly). The launch skill then handles environment selection.
| Sign | Problem |
|---|---|
| Skipping option presentation and running in-session | User didn't choose — respect their agency |
| Asking more than one question during first-time setup | Keep it fast |
| Waiting for the launched process to complete | It's independent — free the session |
| Building the command without placeholder substitution | Paths must be absolute and correct |
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (jeremygiberson/spike-plugin) — no native marketplace selected
npx claudepluginhub p/jeremygiberson-spike-plugin3 skills in this plugin
/spikeUse when the user wants to quickly validate an idea before committing to a full design. Triggers on words like 'spike', 'validate', 'quick prototype', 'proof of concept', 'see if this works'. Produces a hacky implementation plan and a considerations document for follow-up./spike-executeUse when executing a spike plan produced by the spike skill. Keeps review and verification discipline but auto-resolves blockers, gaps, and ambiguities with the simplest path forward instead of stopping to ask.Other plugins' skills for the same job