tp-spike

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

A guided design command for a spike, which is a short, time-limited experiment used to answer questions before choosing an implementation. It creates a design document for the experiment and can link it to a larger design.

In plain words
What is it for?
Use it to define a named exploratory spike, prepare its design document, and optionally connect it to a parent design.
Why use it?
It helps turn an uncertain technical question into a documented experiment with a clear place for its design and collaboration state.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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
Any agent
npx skills add CurtisThe/three-pillars-plugin --skill tp-spike
Clone the repo
git clone --depth 1 https://github.com/CurtisThe/three-pillars-plugin

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-spike.svg)](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-spike)
Your own site
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-spike"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-spike.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,676 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.1 $0.00031 $0.01676
Opus 5 $0.00015 $0.00838
Sonnet 5 $0.00006 $0.00335
Haiku 4.5 $0.00003 $0.00168

Measured 5d ago against content hash 9b3357486913, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tp-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 5d 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/SKILL.md · 82 lines

How it starts

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

Spike Design

Create a spike design through conversation with the user. Spikes are time-boxed experiments to answer specific questions before committing to an implementation approach.

Arguments:

  • {spike-name} (required) — kebab-case name, becomes the directory under three-pillars-docs/tp-designs/.
  • --parent {design-name} (optional) — links this spike to a parent design.

Steps

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

  2. Validate {spike-name} per skills/_shared/validate-name.md.

  3. Resolve the design directory: three-pillars-docs/tp-designs/{spike-name}/. Create it if it doesn't exist.

  4. Run collaboration preflight per skills/_shared/collaboration.md with phase: "design". This verifies the branch and acquires or refreshes the lock for this spike. Honor --force-takeover if passed.

    Seat-context note: if the collaboration preflight notes that you are on the base branch ({base} / master), treat that as an affirmation — being on {base} in the resolved seat (the base checkout / worktree host) is the correct coordination point for spinning up a new spike worktree. It is not a reason to pause or seek an alternative checkout. See skills/_shared/topology.md for the canonical seat and worktree layout; the collaboration preflight's branch-check prose is unchanged.

3b. Update .claude/last-design MRU — now that the lock/branch are claimed, run the MRU snippet at the bottom of skills/_shared/validate-name.md (the bash that prepends the spike name, dedupes, caps at 10). This is the moment a subsequent /clear + /tp-session-restore (no argument) needs to resolve to this spike, not whatever was active before. The snippet handles the .gitignore append; do not git add the file. 4. Check for existing design.md. If it exists, read it and ask the user whether they want to revise it or start fresh. 5. If --parent is given, verify three-pillars-docs/tp-designs/{design-name}/design.md exists. Read it so you understand the parent context. 6. Read project context per skills/_shared/read-project-docs.md. Read three-pillars-docs/vision.md first — a spike is only worth running if answering its question would meaningfully advance or clarify the vision. If the roadmap has a ## Current Focus table, note where this spike fits relative to current priorities — mention this during the spike conversation so the user can decide its priority. 7. Vision alignment check. Before framing the hypothesis, explicitly ask: "Which vision question does this spike help answer?" If the answer is "none" — e.g. the spike explores a path the vision has declared out of scope — surface that now. The cheapest spike is the one you don't run because the vision already told you not to care about the answer. 8. Have a spike conversation. Draw out through questions:

  • Hypothesis — what do we believe and want to validate? Frame it in terms of what the vision needs to know.
  • Success criteria — what does GO / PARTIAL / NO-GO look like?
  • Experiments — what will we try, what do we expect to observe?
  • Expected demos — what artifacts (MP4s, screenshots, logs) prove findings?
  • Constraints — time budget, resource limits, dependencies.
  • Parent linkage — if there's a parent, what questions does this spike answer for it? Ask clarifying questions. Push back on vague hypotheses. Insist on measurable success criteria.
  1. Write three-pillars-docs/tp-designs/{spike-name}/design.md with this structure:

Read the full file on GitHub · 82 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. 5d ago First seen · 82 lines · 31 tokens per session scan A 9b3357486913

Subscribe to this mod's changes

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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens