hypothesis-ranking-pipeline

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

A pipeline for updating rankings of reviewed hypotheses, meaning proposed explanations or ideas being compared. It selects comparison opponents, runs placement and tournament judgments, and updates Elo scores, a numerical rating system.

In plain words
What is it for?
Use it to update tournament files, hypothesis records, ranking match references, pipeline state, and the current stage using the project’s configured rules.
Why use it?
It provides a defined way to incorporate one reviewed hypothesis into an existing ranked set and keep the related records consistent.

Skill for Claude CodeCodex

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

Good fit Use it to update tournament files, hypothesis records, ranking match references, pipeline state, and the current stage using the project’s configured rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/panjose/co-scientist/hypothesis-ranking-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-ranking-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-ranking-pipeline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/panjose/co-scientist/hypothesis-ranking-pipeline"><img src="https://agentmods.dev/badge/skills/panjose/co-scientist/hypothesis-ranking-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,951 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.00032 $0.01951
Opus 5 $0.00016 $0.00975
Sonnet 5 $0.00006 $0.00390
Haiku 4.5 $0.00003 $0.00195

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

Security

Grade A, and why

hypothesis-ranking-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-ranking-pipeline/SKILL.md · 94 lines

How it starts

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

hypothesis-ranking-pipeline

Goal:

  • Update ranking artifacts for one reviewed hypothesis using canonical placement-opponent selection, ranked-frontier selection, tournament judgments, and Elo updates.

Inputs:

  • candidate hypotheses/<id>/HYPOTHESIS.json
  • current viable hypothesis frontier
  • optional state/PROXIMITY_GRAPH.json
  • current tournament artifacts
  • numeric ranking settings from state/RESOLVED_RUN_CONFIG.json

Outputs:

  • updated tournaments/*.json
  • updated candidate and opponent hypotheses/<id>/HYPOTHESIS.json artifacts with Elo and match references
  • updated state/PIPELINE_STATE.json
  • updated state/CURRENT_STAGE.json

Sub-skills:

  • hypothesis-placement-tournament
  • hypothesis-ranked-tournament
  • ranking-elo-update

Context Loading:

  • Open skills/shared-references/schema-index.md.
  • Read packages/agent_contracts/hypothesis.py and confirm the exact HypothesisContract shape before writing any touched HYPOTHESIS.json artifact.
  • Read packages/agent_contracts/ranking.py and confirm the exact TournamentMatchContract plus HypothesisMatchupContract shapes.
  • Read packages/agent_contracts/resolved_config.py for placement_match_count and tournament_top_k.
  • Read packages/agent_contracts/pipeline_runtime.py before updating state/PIPELINE_STATE.json or state/CURRENT_STAGE.json.
  • If state/PROXIMITY_GRAPH.json exists, read packages/agent_contracts/state.py and load the exact ProximityGraphContract.
  • Read packages/agent_contracts/proximity.py before interpreting state/proximity_receipts/<hypothesis_id>.json or state/PROXIMITY_STATUS.json.
  • Treat a missing or candidate-incomplete proximity graph as a valid upstream state only when the candidate has a bridge receipt/status proving that the embedding provider was skipped, disabled, unavailable, invalid, or failed. Do not interpret graph absence as permission to fabricate similarity state.

Execution Contract:

  • This pipeline skill may orchestrate LLM tournament judgments, but all frontier-selection mechanics must use the canonical deterministic helper surface from tools.
  • Use from tools import sync_pipeline_stage_artifacts as the canonical paired write surface for entering the Ranking substage.
  • On entry, call tools.sync_pipeline_stage_artifacts(run_dir, current_phase="Ranking", current_skill="hypothesis-ranking-pipeline").
  • Use from tools import select_placement_opponents as the canonical placement-opponent selector when state/PROXIMITY_GRAPH.json is available.
  • Use from tools import select_fallback_placement_opponents only for receipt-gated placement fallback when usable proximity state is unavailable.
  • Use from tools import get_top_k_hypotheses to derive the canonical current top-k frontier.
  • Use from tools import should_run_ranked_tournament to decide whether the candidate must enter ranked play.
  • Use from tools import select_ranked_opponents to derive the canonical ranked-tournament opponents when ranked play is warranted.
  • The helper implementations live in packages/agent_mechanics/top_k_select.py.
  • Use ranking-elo-update after tournament winners are already decided. It is the canonical Elo and match-reference update step.
  • Apply the placement batch Elo update before ranked-top-k gating; ranked tournament eligibility must be computed from the post-placement frontier, not stale pre-placement ratings.
  • ranking-elo-update must close the batch by calling tools.apply_and_persist_elo_updates(...) before convergence or downstream routing reads the frontier again.
  • The ranking closeout helper updates touched canonical hypothesis artifacts without rewriting standalone REVIEW/*.json stage artifacts and writes a RankingUpdateReceiptContract.
  • Match refs are not sufficient closeout proof; each completed placement or ranked batch must have a persisted ranking update receipt.
  • Ranking closeout must use the receipt-writing helper exactly once per completed batch. If the same stable receipt already exists, treat the helper's returned persisted receipt as the closeout proof and do not reapply Elo deltas or append duplicate match refs.
  • Do not replace the helper logic with ad hoc manual opponent choice when the canonical artifacts needed by the helpers are available.
  • If state/PROXIMITY_GRAPH.json is missing, invalid, or does not contain usable state for the candidate, first check state/proximity_receipts/<candidate_id>.json and state/PROXIMITY_STATUS.json.
  • Receipt-gated placement fallback is allowed only when those bridge artifacts explicitly record a skipped, disabled, failed, or provider-unavailable proximity outcome for the candidate. If no such receipt/status exists, return to hypothesis-proximity-update instead of choosing opponents manually.
  • When receipt-gated placement fallback is used, call tools.select_fallback_placement_opponents(candidate, hypotheses, placement_match_count) and write an explicit trace/rationale that names the candidate receipt status and states that placement was not embedding-, proximity-, or similarity-informed.

Read the full file on GitHub · 94 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 · 94 lines · 32 tokens per session scan A 33e20e4f9afc

Subscribe to this mod's changes

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

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

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

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