hypothesis-generation-pipeline

hypothesis-generation-pipeline is a skill for Claude Code, Codex from panjose/Co-Scientist. It costs 18 tokens per session (1,738 once invoked), scanned A, original, Apache-2.0.

A pipeline that runs one selected strategy for generating research hypotheses. It can connect research plans with literature searches, reviews, rankings, and related stored results.

In plain words
What is it for?
Generating hypotheses, searching literature, reviewing results, updating research insights, and maintaining pipeline state.
Why use it?
It coordinates the steps needed to turn a research strategy into reviewed and ranked hypotheses.

Skill for Claude CodeCodex

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

Good fit Generating hypotheses, searching literature, reviewing results, updating research insights, and maintaining pipeline state.

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

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 hypothesis-generation-pipeline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/panjose/co-scientist/hypothesis-generation-pipeline"><img src="https://agentmods.dev/badge/skills/panjose/co-scientist/hypothesis-generation-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,738 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.00018 $0.01738
Opus 5 $0.00009 $0.00869
Sonnet 5 $0.00004 $0.00348
Haiku 4.5 $0.00002 $0.00174

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

Security

Grade A, and why

hypothesis-generation-pipeline 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 11d 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/hypothesis-generation-pipeline/SKILL.md · 98 lines

How it starts

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

hypothesis-generation-pipeline

Goal:

  • Dispatch one enabled generation strategy for a given ResearchPlan.

Inputs:

  • ResearchPlan
  • active state/STRATEGY_PLAN.json
  • one enabled generation strategy
  • optional resume context from state/PIPELINE_STATE.json

Outputs:

  • hypotheses/<id>/HYPOTHESIS.json
  • hypotheses/<id>/HYPOTHESIS.md
  • hypotheses/<id>/ORIGIN.json
  • literature/queries/<query_id>/* when hypothesis-generate-literature is selected
  • hypotheses/<id>/REVIEW/*.json
  • updated meta/INSIGHTS_FROM_REVIEWS.json when the hypothesis is viable
  • updated proximity receipt/status artifacts, plus state/PROXIMITY_GRAPH.json when the embedding bridge succeeds
  • updated tournaments/*.json
  • updated islands/ISLANDS.json
  • updated state/PIPELINE_STATE.json

Sub-skills:

  • hypothesis-generate-literature
  • literature-search
  • hypothesis-generate-debate
  • hypothesis-generate-assumptions
  • hypothesis-review-pipeline
  • insights-from-reviews
  • hypothesis-proximity-update
  • hypothesis-ranking-pipeline

Context Loading:

  • Open skills/shared-references/schema-index.md.
  • Read packages/agent_contracts/research_plan.py before consuming research_plan/RESEARCH_PLAN.json as the canonical generation brief.
  • Read packages/agent_contracts/strategy_plan.py before consuming state/STRATEGY_PLAN.json as the active generation-stage routing input.
  • Read packages/agent_contracts/hypothesis.py before dispatching any atomic generation skill that will write hypotheses/<id>/HYPOTHESIS.json.
  • Read packages/agent_contracts/literature.py and skills/shared-references/literature-search-contract.md before dispatching hypothesis-generate-literature.
  • Read packages/agent_contracts/state.py before assigning or updating islands/ISLANDS.json.
  • Read packages/agent_contracts/pipeline_runtime.py before updating state/PIPELINE_STATE.json.
  • Read state/STRATEGY_PLAN.json and confirm the current round permits the selected generation strategy.
  • Read RUN_POLICY.yaml when review rigor or downstream optional review behavior depends on the effective run policy.

Execution Contract:

  • This pipeline skill does not own hidden prompt templates.
  • state/STRATEGY_PLAN.json is a routing input to this skill, not a generation-stage artifact that this skill may rewrite ad hoc.
  • research_plan/RESEARCH_PLAN.json is a required canonical input. If it is missing or invalid, stop immediately and return control to the top-level workflow or configuration stage instead of attempting generation.
  • Append-only routing audit artifacts such as state/STRATEGY_DECISIONS.jsonl remain owned by the top-level orchestration layer and the canonical router surface in python -m tools.policy.plan_strategy <run_dir>.
  • It coordinates downstream generation, review, insights, proximity, and ranking skills; those downstream skills remain responsible for the field-level canonical shapes of the artifacts they write.
  • The selected generation strategy must be consistent with state/STRATEGY_PLAN.json.
  • When the selected generation strategy is literature_exploration_generation, the dispatched hypothesis-generate-literature skill must call tools.search_literature(run_dir, request) and consume a non-blocked EvidenceBundleContract before writing a literature-grounded hypothesis.
  • The generation pipeline must not accept prompt-invented literature evidence in place of literature/queries/<query_id>/EVIDENCE_BUNDLE.json.
  • On a fresh run, execute one generated hypothesis per selected generation strategy so the initial frontier mirrors the full seed set instead of collapsing to a single synthetic output.
  • On a regeneration pass triggered from evolution, execute one generated hypothesis per selected generation strategy and then refresh the evolution plan before continuing.
  • After each generated hypothesis is written, immediately run:
    • hypothesis-review-pipeline
    • insights-from-reviews when the hypothesis is viable
    • hypothesis-proximity-update for each viable hypothesis
    • hypothesis-ranking-pipeline
  • The generation pipeline must not skip proximity because no embedding vector is already present. The bridge owns provider invocation and records a receipt/status when the provider is disabled, unavailable, invalid, or failed.
  • Do not generate, infer, or fabricate embeddings in prompt output. Proceed to ranking through the documented receipt-gated fallback path only after hypothesis-proximity-update has recorded a skipped or failed receipt/status.
  • For initial frontier seeding, assign one non-empty island_id to each viable generated hypothesis, then call tools.ensure_run_islands_for_hypotheses(run_dir) before the round is considered complete.
  • Newly created seed islands are initialization records only: they must keep decayed_reward = 0.0, decayed_visits = 0.0, and visit_count = 0.
  • Initial frontier island assignment is distinct from the later single-island reward / decay mechanics in hypothesis-evolution-loop; do not apply tools.update_single_island_reward(...), tools.update_run_single_island_reward(...), or any manual reward/visit increment during seeding.
  • Persist only canonical island fields. Do not add dashboard-derived or router-derived fields such as hypothesis_ids, ucb_score, or strategy_label to islands/ISLANDS.json.

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 18 tokens per session scan A 2529d4587bb7

Subscribe to this mod's changes

hypothesis-generation-pipeline is a skill published in the GitHub repository panjose/Co-Scientist (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,738 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

remote-compute-ssh

Evaluate and use SSH Remote Compute before choosing where to run GPU, high-memory, parallel, batch, model-inference, bioinformatics, or other long-running scientific work; supports short remote commands and asynchronous jobs with automatic harvest and analysis.

aipoch/open-science · 53 tokens

figure-style

Publication-grade correctness and legibility rules for final-deliverable scientific figures, not exploratory plots. Use for a figure that will ship in a report, paper, export, or kept artifact. Covers data fidelity, label economy, color threading, chart choice, layout, and render-then-verify QA without imposing a…

aipoch/open-science · 91 tokens

literature-review

Find, verify, and synthesize scientific literature — from "what's the seminal paper for X" through full multi-source reviews. Covers grounding claims in real retrieved sources, avoiding fabricated citations, handling retractions, and calibrating confidence to evidence strength.

aipoch/open-science · 54 tokens

scvi-tools

Probabilistic single-cell RNA-seq with scvi-tools — scVI for a batch-corrected latent space, scANVI for semi-supervised label transfer, and Bayesian differential expression. Reach for this skill to integrate scRNA-seq batches, embed cells for clustering, transfer annotations from a reference onto a query, or score…

aipoch/open-science · 100 tokens

self-awareness

Inspect Open Science's JavaScript control REPL, discover managed Project files, Sessions, and Agent Frames, and safely feature-gate host. calls with host.capabilities(). Use when an Agent needs to discover available host APIs, locate an Artifact or Upload Version, diagnose a Session, or read a Frame transcript in the…

aipoch/open-science · 69 tokens

openfold3

Structure prediction using OpenFold3, an open-weights PyTorch reproduction of AlphaFold3 from the AlQuraishi Lab. Use this skill when predicting protein/nucleic-acid/ligand complex structures with an Apache-2.0-licensed AF3 reimplementation.

aipoch/open-science · 60 tokens