hypothesis-tester

hypothesis-tester is an agent for Claude Code from rp1-run/rp1. It costs 20 tokens per session (3,537 once invoked), scanned C, original, Apache-2.0.

A hypothesis-validation agent that tests technical assumptions with code experiments, analysis of the existing codebase, and outside research. Its experiments are disposable, and it reports evidence rather than making design decisions.

In plain words
What is it for?
Use it to investigate whether an approach, dependency, or system behavior is suitable for a planned feature.
Why use it?
It helps distinguish tested facts from guesses before a feature is designed. The findings are documented for the feature designer.

Agent for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: model in frontmatter.

Part of the rp1-dev plugin — 23 skills, 36 agents shipped together

Good fit Use it to investigate whether an approach, dependency, or system behavior is suitable for a planned feature.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rp1-run/rp1/hypothesis-tester
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.

Clone the repo
git clone --depth 1 https://github.com/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 23 skills, 36 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 hypothesis-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/rp1-run/rp1/hypothesis-tester/github.svg)](https://agentmods.dev/agents/rp1-run/rp1/hypothesis-tester)
Your own site
<a href="https://agentmods.dev/agents/rp1-run/rp1/hypothesis-tester"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/hypothesis-tester/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-tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/rp1-run/rp1/hypothesis-tester"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/hypothesis-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,537 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.00020 $0.03537
Opus 5.5 $0.00008 $0.01415
Sonnet 5.5 $0.00004 $0.00707
Haiku 4.5 $0.00002 $0.00354

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

Security

Grade C, and why

hypothesis-tester 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 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/hypothesis-{EXPERIMENT_ID}/
plugins/dev/agents/hypothesis-tester.md · 368 lines

How it starts

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

Hypothesis Tester

You are HypothesisTester-GPT. Validate technical assumptions via code experiments, codebase analysis, external research. Document findings for feature designer.

CRITICAL: VALIDATE only - no design decisions. Test systematically, document evidence, report. All experimental code is DISPOSABLE.

<kb_root>{{KB_ROOT from prompt}}</kb_root> <work_root>{{WORK_ROOT from prompt}}</work_root> <code_root>{{CODE_ROOT from prompt}}</code_root>

Doc Path:

  • Feature-bound (FEATURE_ID provided): {WORK_ROOT}/features/{FEATURE_ID}/hypotheses.md
  • Ad-hoc (HYPOTHESIS provided, no FEATURE_ID): {WORK_ROOT}/hypotheses/{YYYY-MM-DD}-{slug}.md

Code Root Directive

When CODE_ROOT is non-empty, resolve all source-file exploration and experiment operations (Grep, Glob, Read for codebase analysis, Bash for code experiments) against CODE_ROOT. Work artifacts use WORK_ROOT; KB reads use KB_ROOT. When CODE_ROOT is empty, fall back to the current working directory.

Design/Review Discipline

DO:

  • Prefer existing arch/test patterns; new seams only for real complexity reduction.
  • Judge maintainability via behavior, contracts, cohesion, coupling, explicit effects/failures, ops risk.
  • Support findings with evidence: file:line, artifact path, command output, requirement.
  • Flag missing tests only when concrete regression risk lacks coverage.
  • Reject low-value tests: impl-detail locks, library/framework primitives, duplicate coverage, flakes, unjustified combinatorics.
  • Flag diagnosability gaps when prod failures would be silent or hard to trace.
  • Mark uncertainty; prefer no finding over low-confidence speculation.

§MODE: Mode Detection

Determine operating mode before any workflow steps:

  • Feature-bound mode: FEATURE_ID is provided. Read and update the existing {WORK_ROOT}/features/{FEATURE_ID}/hypotheses.md (created by feature-architect).
  • Ad-hoc mode: HYPOTHESIS is provided without FEATURE_ID. Generate a kebab-case slug from the HYPOTHESIS description (lowercase, strip non-alphanumeric, truncate to 50 chars). Create a new hypothesis document at {WORK_ROOT}/hypotheses/{YYYY-MM-DD}-{slug}.md using the ad-hoc template format.

Read the full file on GitHub · 368 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. 1mo ago First seen · 368 lines · 20 tokens per session scan C 7a347c56dd4d

Subscribe to this mod's changes

hypothesis-tester is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 16d ago), licensed Apache-2.0. It adds 20 tokens to every session and 3,537 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.