hypothesis

hypothesis is a skill for Claude Code from stellarshenson/claude-code-plugins. It costs 206 tokens per session (5,069 once invoked), scanned C, original, MIT.

A documentation workflow for testing research ideas, called hypotheses, through recorded experiments. It keeps an append-only experiment log and a separate document summarizing the approaches that performed best.

In plain words
What is it for?
Use it to document machine-learning or other technical experiments, compare competing ideas, and turn successful findings into a final design.
Why use it?
It prevents research decisions and results from being scattered across notes or lost between runs. Each experiment records its setup, prediction, result, and conclusion so it can be reproduced independently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the datascience plugin — 20 skills, 15 commands shipped together

Good fit Use it to document machine-learning or other technical experiments, compare competing ideas, and turn successful findings into a final design.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add stellarshenson/claude-code-plugins
Claude Code
/plugin install datascience

Made for: Claude Code.

Or install datascience, the plugin that ships this one along with the rest of its 20 skills, 15 commands.

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 hypothesis

README.md
[![agentmods](https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/hypothesis/github.svg)](https://agentmods.dev/skills/stellarshenson/claude-code-plugins/hypothesis)
Your own site
<a href="https://agentmods.dev/skills/stellarshenson/claude-code-plugins/hypothesis"><img src="https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/hypothesis/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 hypothesis

Your own site · 80×15
<a href="https://agentmods.dev/skills/stellarshenson/claude-code-plugins/hypothesis"><img src="https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/hypothesis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 206 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00206 $0.05069
Opus 5.5 $0.00082 $0.02028
Sonnet 5.5 $0.00041 $0.01014
Haiku 4.5 $0.00021 $0.00507

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

Security

Grade C, and why

hypothesis scanned grade C with 1 finding 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 2mo 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- **`next-id` and `register` refuse rather than guess (exit 1)** - an unclosed code fence or an id they could not parse means the highest ordinal may not be the highest; fix what `check` names, never work around it. The
plugins/datascience/skills/hypothesis/SKILL.md · 145 lines

How it starts

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

Hypothesis

Maintain two research docs: a canonical experiments log (every hypothesis with setup, prediction, result, verdict) and a SOTA document (survivors distilled into a final design). Log is append-only and grows across runs; SOTA is rewritten when the arc converges.

Style - terse technical-documentation: 1-2 overview sentences then factual bullets; one fact per bullet; numbers inline; no full stop ending a bullet; no em-dashes (use -), unicode arrows (→), escape \$. Prose only where an argument needs it. Full reference: the technical-documentation skill.

Mirror the closest examples/ doc before writing - its section order wins over this skill's guidance on any conflict. Do not invent structure. See Examples for which to pick.

Toolchain gate (MANDATORY - run before anything else)

Run this first, every session, before any other work. The upgrade always runs; a version mismatch blocks.

python3 -m pip install --user --upgrade stellars-claude-code-plugins 2>&1 | tail -1
LIB=$(python3 -c "import importlib.metadata as m;print(m.version('stellars-claude-code-plugins'))" 2>/dev/null) || { echo "FATAL: toolkit unavailable"; exit 1; }
PLUG=$(grep -m1 '"version"' "${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json" 2>/dev/null | cut -d'"' -f4)
OLDER=$(printf '%s\n%s\n' "$LIB" "$PLUG" | sort -V | head -1)
[ -n "$PLUG" ] && [ "$LIB" != "$PLUG" ] && [ "$OLDER" = "$LIB" ] && { echo "STALE: library $LIB older than plugin $PLUG - refusing to run on an outdated CLI; re-run the upgrade"; exit 1; }
echo "toolkit $LIB"

Run the CLI without touching the caller's project. The gate above puts it on PATH, so the bare command name is the whole invocation. uv run instead resolves whatever project the working directory sits in and writes uv.lock and .venv into it, so if you reach for uv pass --no-project (uv run --no-project <cli> ...) - it skips project discovery, leaves the tree untouched and still finds the same PATH binary. --no-sync and --frozen are not substitutes; both still create .venv.

Read the full file on GitHub · 145 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. 2mo ago Changed · +1 lines a6a5325b754a
  2. 2mo ago Changed · +11 lines scan A → C 8a658221b46f
  3. 3mo ago First seen · 133 lines · 206 tokens per session scan A 31d570e01a67

Subscribe to this mod's changes

hypothesis is a skill published in the GitHub repository stellarshenson/claude-code-plugins (3 stars, last pushed 3d ago), licensed MIT. It adds 206 tokens to every session and 5,069 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

hypothesis compared with skills from other repositories

hypothesis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hypothesisstellarshenson/claude-code-pluginsSkill33d agoMITC206Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code