spike-experiment

spike-experiment is a skill for Claude Code, Codex from CodeInfinity1/Stram. It costs 24 tokens per session (402 once invoked), scanned A, original, MIT.

A method for running small, temporary experiments before committing to an implementation. It records what the experiment shows and removes exploratory code afterward.

In plain words
What is it for?
Use it to test one narrow question, collect evidence, document limitations, and turn the result into an implementation plan.
Why use it?
It reduces uncertainty about unfamiliar APIs, performance, parsing, browser behavior, and other risky technical decisions before production work begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test one narrow question, collect evidence, document limitations, and turn the result into an implementation plan.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeinfinity1/stram/spike-experiment"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/spike-experiment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 402 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.00024 $0.00402
Opus 5.5 $0.00010 $0.00161
Sonnet 5.5 $0.00005 $0.00080
Haiku 4.5 $0.00002 $0.00040

Measured 1mo ago against content hash 70d3b7e9e631, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spike-experiment 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 1mo 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/software-engineering/spike-experiment/SKILL.md · 67 lines

What it actually says

Spike Experiment

Purpose

Use small experiments to answer uncertain technical questions without letting exploratory code leak into production. A spike is evidence gathering, not the final architecture.

When To Use

Use for unfamiliar APIs, performance questions, parsing approaches, provider behavior, browser/OS feasibility, and risky design choices.

Inputs And Evidence

  • Question to answer, time/step budget, success criteria, and allowed workspace.
  • Experiment code/output, artifacts, and conclusion.

Tool Map

  • python_interpreter
  • run_shell_command
  • read_file
  • write_note
  • browser_live_open
  • tool_search

Workflow

  1. State the narrow question and stop condition.
  2. Choose a safe sandbox/profile.
  3. Run the smallest experiment that can answer the question.
  4. Record results, surprises, and limitations.
  5. Discard throwaway code unless the user asks to keep it.
  6. Convert the learning into a production plan or scoped patch.

Native Implementation Boundaries

  • Use Stram interpreter/shell/browser tools.
  • Do not import external reference spike scripts.
  • Do not call external services unless explicitly approved and necessary.

Safety And Approval

  • Experiments that execute code or contact networks require the relevant approval.
  • Keep writes inside approved workspace/data directories.
  • Avoid using secrets in exploratory code.

Verification

  • A spike must answer the stated question or explain why it did not.
  • Preserve output or notes when useful.
  • Do not claim production readiness from a spike alone.

Failure Modes

  • Letting spike code become unreviewed production code.
  • Running an unbounded experiment.
  • Optimizing for interesting results instead of the user's decision.

References

  • Shortlist item: spike-experiment.
  • Upstream inspiration: external reference spike reference only.
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. 1mo ago First seen · 67 lines · 24 tokens per session scan A 70d3b7e9e631

Subscribe to this mod's changes

spike-experiment is a skill published in the GitHub repository CodeInfinity1/Stram (11 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 402 once invoked, about $0.0001 per session on Opus 5.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