spike-close

spike-close is a skill for Claude Code from me2resh/apexyard. It costs 33 tokens per session (2,597 once invoked), scanned A, original, MIT.

A closing workflow for a technical spike, which is a short experiment used to answer an uncertain technical question. It makes you either create a proper feature ticket from the findings or record why the idea was rejected.

In plain words
What is it for?
Use it to promote a confirmed experiment into a feature request, or discard a rejected experiment while leaving a memo that explains the result.
Why use it?
It prevents experimental code from quietly remaining in the main codebase without a decision or production plan.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to promote a confirmed experiment into a feature request, or discard a rejected experiment while leaving a memo that explains the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/me2resh/apexyard/spike-close
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 me2resh/apexyard --skill spike-close
Clone the repo
git clone --depth 1 https://github.com/me2resh/apexyard

Made for: Claude Code.

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-close

README.md
[![agentmods](https://agentmods.dev/badge/skills/me2resh/apexyard/spike-close/github.svg)](https://agentmods.dev/skills/me2resh/apexyard/spike-close)
Your own site
<a href="https://agentmods.dev/skills/me2resh/apexyard/spike-close"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/spike-close/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-close

Your own site · 80×15
<a href="https://agentmods.dev/skills/me2resh/apexyard/spike-close"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/spike-close.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,597 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.00033 $0.02597
Opus 5 $0.00016 $0.01299
Sonnet 5 $0.00007 $0.00519
Haiku 4.5 $0.00003 $0.00260

Measured 6d ago against content hash 2e4e7390c20c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

spike-close 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 6d 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.

.claude/skills/spike-close/SKILL.md · 269 lines

How it starts

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

/spike-close — Close a Spike via the Disposition Gate

The disposition gate prevents the worst-of-both case: a spike that "succeeded" but never decides what to do with the code, leaving half-shipped exploration in main. Every spike must close with one of two paths:

  • PROMOTE — the hypothesis was confirmed; file a fresh [Feature] ticket so the work goes through the full production SDLC. The spike branch itself is NOT lifted into production — the new feature work re-implements based on the spike's findings.
  • DISCARD — the hypothesis was rejected (or the answer is "we shouldn't do this"); delete the spike branch and write a memo at docs/spike-memos/<slug>.md so future-us doesn't re-explore the same ground.

Path resolution

Read the registry path via portfolio_registry, the per-project docs dir via portfolio_projects_dir, and the ideas backlog via portfolio_ideas_backlog — all from .claude/hooks/_lib-portfolio-paths.sh. Source the helper at the top of any bash block that touches those paths:

source "$(git rev-parse --show-toplevel)/.claude/hooks/_lib-read-config.sh"
source "$(git rev-parse --show-toplevel)/.claude/hooks/_lib-portfolio-paths.sh"
registry=$(portfolio_registry)

Defaults match today's single-fork layout. See docs/multi-project.md.

Usage

/spike-close --promote 142
/spike-close --discard 142
/spike-close --promote          # uses the active-ticket marker
/spike-close --discard

Process

1. Resolve the spike ticket

Two paths:

  • If $ARGUMENTS includes a number (e.g. --promote 142 or --discard owner/repo#142), use that.
  • Otherwise read the active-ticket marker (.claude/session/current-ticket or .claude/session/tickets/<project>) and use the ticket recorded there. If neither resolves, ask:
Which spike are you closing? Pass --promote <number> or --discard <number>,
or run /start-ticket first.

2. Verify it really is a spike

Run gh issue view <number> --repo <owner/repo> --json title,labels,state,body. The skill proceeds if:

Read the full file on GitHub · 269 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. 6d ago First seen · 269 lines · 33 tokens per session scan A 2e4e7390c20c

Subscribe to this mod's changes

spike-close is a skill published in the GitHub repository me2resh/apexyard (498 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 2,597 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-09-03.

Related

Other skills, from other repositories