tp-spike-implement

tp-spike-implement is a skill for Claude Code, Codex from CurtisThe/three-pillars-plugin. It costs 27 tokens per session (1,800 once invoked), scanned A, original, Apache-2.0.

A command for carrying out a spike plan, meaning the ordered tasks of a short technical experiment. It works through the phases one at a time and normally asks for human review between phases.

In plain words
What is it for?
Use it to run the next unfinished phase or a chosen phase from an existing plan, or use automatic mode to continue phases, retry blocked tasks, and record decisions.
Why use it?
It keeps exploratory work organized and gives a developer a chance to review results before the next phase changes the code or direction.

Skill for Claude CodeCodex

Part of the three-pillars plugin — 37 skills, 20 agents shipped together

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.

agentmods
npx agentmods add skills/curtisthe/three-pillars-plugin/tp-spike-implement
Any agent
npx skills add CurtisThe/three-pillars-plugin --skill tp-spike-implement
Clone the repo
git clone --depth 1 https://github.com/CurtisThe/three-pillars-plugin

Made for: Claude Code, Codex.

Or install three-pillars, the plugin that ships this one along with the rest of its 37 skills, 20 agents.

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 tp-spike-implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-spike-implement.svg)](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-spike-implement)
Your own site
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-spike-implement"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-spike-implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.01800
Opus 5 $0.00014 $0.00900
Sonnet 5 $0.00005 $0.00360
Haiku 4.5 $0.00003 $0.00180

Measured 4d ago against content hash 2de655ed4ebb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tp-spike-implement 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 4d 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/tp-spike-implement/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spike Implement

Execute phases from a spike plan serially, with human review gates between phases.

Arguments:

  • {spike-name} (required), optionally a phase number (e.g., my-spike 2). Without a phase number, executes the next incomplete phase.
  • --auto (optional) — autonomous mode. Skips phase confirmation, auto-continues at phase boundaries, retries blocked tasks with simplification (max 3 attempts), logs all decisions to decisions.md. See skills/_shared/auto-mode.md for convention.

Prerequisites

  • three-pillars-docs/tp-designs/{spike-name}/plan.md must exist. If not, tell the user to run /tp-spike-plan {spike-name} first and stop.

Steps

  1. Run first-run preflight per skills/_shared/first-run.md.

0a. Run cwd preflight per skills/_shared/cwd-preflight.md: python3 "$TP_ROOT"/skills/_shared/cwd_preflight.py {spike-name}. Exit 3 → stop and show the cd fix. Exit 0 → continue.

  1. Run collaboration preflight per skills/_shared/collaboration.md with phase: "spike-implement". This verifies the branch and lock before writing code. Honor --force-takeover if passed. In --auto mode, do not prompt — if the lock is held by another developer, log the conflict to decisions.md and stop.

  2. Read plan.md from the design directory.

  3. Determine which phase to execute:

    • If a phase number was given, use that.
    • Otherwise, find the first phase with unfinished tasks (no **Status**: line or status is not Done/Skipped).
  4. Phase confirmation:

    • Normal mode: Show the user which phase you are about to execute and how many tasks it contains. Ask for confirmation.
    • --auto mode: Log the phase start to decisions.md and proceed without confirmation.
  5. For each task in the phase, execute serially (no worktrees, no parallel agents):

    For each task:

    • Hypothesis: Read what the task expects to learn or build.
    • Try: Implement the task directly. Prioritize speed — no mandatory test-first, no strict red-green-refactor. Write tests when they add value, skip ceremony when they do not.
    • Evaluate: Check if the result works. Run any existing tests for affected files. Judge whether the task outcome matches the Hypothesis.
    • Update status: Add **Status**: Done to the task in plan.md. If the task fails after reasonable effort, mark it **Status**: Blocked with a short reason and continue to the next task.
    • Commit: Per skills/_shared/commit-after-work.md, commit the experiment. Artifact paths to stage: the tracked code files the experiment touched, three-pillars-docs/tp-designs/<spike-name>/plan.md (updated status), any new files under three-pillars-docs/tp-designs/<spike-name>/demos/ produced by this experiment (typically demos/<NN>-* where <NN> is the experiment number), and three-pillars-docs/tp-designs/<spike-name>/decisions.md if --auto mode appended an entry. Demos and decisions are tracked — they are the spike's evidence record. Stage only files this experiment touched, not the entire demos/ directory. Commit message: Spike: <spike-name> <phase>.<experiment>.
    • --auto mode — retry on failure: If a task fails, don't immediately mark it Blocked. Instead:
      1. Log a simplification entry to decisions.md describing what failed and why.
      2. Simplify the approach (reduce scope, use mocks, skip edge cases, use simpler implementation).
      3. Retry the task with the simplified approach.
      4. Repeat up to 3 attempts total. If all 3 fail, mark as **Status**: Abandoned (3 attempts exhausted) and log the full history to decisions.md.

Read the full file on GitHub · 73 lines

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. 4d ago First seen · 73 lines · 27 tokens per session scan A 2de655ed4ebb

Subscribe to this mod's changes

tp-spike-implement is a skill published in the GitHub repository CurtisThe/three-pillars-plugin (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,800 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens