hypothesis-generation

hypothesis-generation is a skill for Codex from PracticalSwan/agent-skills. It costs 58 tokens per session (3,934 once invoked), scanned A, original, MIT.

A scientific planning guide for turning an observation into testable hypotheses, competing explanations, predictions, measurements, and a preregistration-ready analysis plan. It keeps proposed ideas separate from established findings.

In plain words
What is it for?
Use it to frame research questions, compare rival explanations, choose measurements, and plan studies before analysing data.
Why use it?
It helps prevent unsupported causal claims, accidental overstatement, and poorly defined studies. It also highlights authorization and privacy boundaries for sensitive or unpublished material.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to frame research questions, compare rival explanations, choose measurements, and plan studies before analysing data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/hypothesis-generation
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 PracticalSwan/agent-skills --skill hypothesis-generation
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: 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 hypothesis-generation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/hypothesis-generation"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/hypothesis-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,934 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.00058 $0.03934
Opus 5.5 $0.00023 $0.01574
Sonnet 5.5 $0.00012 $0.00787
Haiku 4.5 $0.00006 $0.00393

Measured 8d ago against content hash 098ab3c89ec0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hypothesis-generation 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 8d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/_common.py, scripts/audit_evidence_ledger.py, scripts/check_falsification_controls.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

hypothesis-generation/SKILL.md · 343 lines

How it starts

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

Scientific Hypothesis Generation

Turn an observation into a transparent set of candidate explanations and tests. A hypothesis is a proposal to be challenged, not a finding, fact, diagnosis, or recommendation.

Non-negotiable boundaries

Before using unpublished, sensitive, controlled, personal, proprietary, export-controlled, or security-relevant material:

  1. Confirm authorization and the applicable institutional, funder, publisher, data-use, privacy, and AI policies.
  2. Keep the material local unless an authorized human explicitly approves a named external destination and data scope.
  3. Minimize inputs. Do not place sensitive or unpublished data in web searches or external AI systems without authorization.
  4. Stop at the appropriate human, animal, biosafety, dual-use, data-governance, or regulatory gate.

Never:

  • present a hypothesis, mechanism, causal effect, citation, or apparent pattern as established evidence;
  • claim novelty because a quick search found nothing;
  • infer causation from association, temporal order alone, predictive accuracy, or model output;
  • supply patient-specific diagnosis, treatment, dose, prognosis, or other clinical advice;
  • provide harmful experimental optimization or operational detail for pathogens, toxins, weapons, evasion, or other misuse;
  • bypass IRB/REC, IACUC, IBC, biosafety, dual-use, privacy, legal, or regulatory review;
  • fabricate sources, identifiers, search coverage, data, results, approvals, or preregistration;
  • automatically score, rank, select, accept, or reject scientific hypotheses.

If a request crosses a safety gate, produce only a high-level risk/oversight note and route it to the qualified local authority. Do not continue with operational detail.

Keep the objects distinct

Object Meaning
Observation What was measured, noticed, or reported, with provenance and uncertainty
Research question The answerable question that defines scope
Hypothesis A candidate explanatory or relational proposition
Mechanism The proposed process connecting conditions to an outcome
Causal estimand The precisely defined causal contrast to estimate
Prediction An observable implication derived before checking the target result
Alternative explanation A rival account, including bias or non-causal explanations
Null hypothesis A specified no-effect/no-difference model used by an analysis
Negative control A control expected not to operate through the proposed mechanism
Operationalization How a construct becomes a variable, measurement, intervention, or category
Analysis plan Prespecified transformations, models, contrasts, uncertainty, and decision rules
Evidence Observations or sources that bear on a claim; never the claim itself

Read the full file on GitHub · 343 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. 8d ago First seen · 343 lines · 58 tokens per session scan A 098ab3c89ec0

Subscribe to this mod's changes

hypothesis-generation is a skill published in the GitHub repository PracticalSwan/agent-skills (22 stars, last pushed 8d ago), licensed MIT. It adds 58 tokens to every session and 3,934 once invoked, about $0.0002 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-10-20.

Related

Other skills, from other repositories

mage-antibody-generator

Skill "mage-antibody-generator" from FridrichMethod/awesome-skills, covering copyright notice, copyright (c) 2026 md babu mia, phd, all rights reserved, this code is proprietary and confidential and provenance: authenticated by md babu mia.

FridrichMethod/awesome-skills · 8 tokens

figure

Generates complete, runnable visualization code for research figures. Produces matplotlib/seaborn Python scripts for quantitative data and Mermaid diagrams for conceptual relationships, workflows, and taxonomies. Use when the user asks for charts, graphs, visualizations, figures, or diagrams. Produces code only — does…

richard-kim-79/archora-skills · 66 tokens

peer-review

Simulates a full academic journal peer review with EIC decision and 3 independent reviewers (Methodology Expert, Domain Specialist, Devil's Advocate). Scores 1–10, provides major/minor comments, and issues a final verdict: Accept, Minor Revision, Major Revision, or Reject. Use when the user asks for a peer review…

richard-kim-79/archora-skills · 86 tokens

hypothesis

Generates falsifiable, testable research hypotheses from notes, documents, and research content. Use when the user asks to brainstorm hypotheses, generate research questions, identify testable predictions, or discover patterns across their notes. Do NOT use for general Q&A — only when structured hypothesis output is…

richard-kim-79/archora-skills · 62 tokens

validation

Designs detailed experimental protocols to validate research hypotheses. Each protocol includes independent variable, dependent variable, controls, sample size with power analysis, timeline, and expected outcome. Use when the user asks to design experiments, plan a study, propose validation methods, or test a specific…

richard-kim-79/archora-skills · 64 tokens

Scientific Research

Scientific Research delivers source-aware research synthesis with evidence grading, uncertainty tracking, and clear conclusions.

ahmadrrrtx/xr · 21 tokens