co-scientist-pipeline

co-scientist-pipeline is a skill for Claude Code, Codex from panjose/Co-Scientist. It costs 20 tokens per session (2,816 once invoked), scanned A, original, Apache-2.0.

A workflow for running one complete research project from its input file through hypothesis generation, review, and a final overview.

In plain words
What is it for?
Use it to start or resume a structured research run and produce its plans, decisions, status files, and final research overview.
Why use it?
It keeps research stages, decisions, progress, and supporting files organized in one run directory. It can also continue an existing run.

Skill for Claude CodeCodex

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

Good fit Use it to start or resume a structured research run and produce its plans, decisions, status files, and final research overview.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/panjose/co-scientist/co-scientist-pipeline"><img src="https://agentmods.dev/badge/skills/panjose/co-scientist/co-scientist-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,816 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.00020 $0.02816
Opus 5.5 $0.00008 $0.01126
Sonnet 5.5 $0.00004 $0.00563
Haiku 4.5 $0.00002 $0.00282

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

Security

Grade A, and why

co-scientist-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 3mo 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/co-scientist-pipeline/SKILL.md · 130 lines

How it starts

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

co-scientist-pipeline

Goal:

  • Run the full Co-Scientist pipeline for one research run.

Inputs:

  • one run directory root
  • run-local input.md
  • optional compatibility config.yaml
  • optional resume flag
  • existing run artifacts when resuming

Outputs:

  • updated run artifacts
  • RUN_POLICY.yaml
  • state/POLICY_DECISION.json
  • state/RESOLVED_RUN_CONFIG.json
  • state/STRATEGY_PLAN.json
  • state/STRATEGY_DECISIONS.jsonl
  • state/EVOLUTION_ROUNDS.jsonl
  • state/PIPELINE_STATE.json
  • state/CURRENT_STAGE.json
  • state/HOST_AGENT_HANDOFF.json when a host-agent handoff is prepared
  • final research overview when convergence is reached

Sub-skills:

  • research-config
  • hypothesis-generation-pipeline
  • hypothesis-evolution-loop
  • research-overview-pipeline

Required shared references:

  • ../shared-references/artifact-contract.md
  • ../shared-references/completion-contract.md
  • ../shared-references/policy-contract.md
  • ../shared-references/resolved-config-contract.md
  • ../shared-references/strategy-contract.md
  • ../shared-references/state-contract.md
  • ../shared-references/integration-contract.md
  • ../shared-references/execution-modes.md
  • ../shared-references/schema-index.md

Context Loading:

  • Open ../shared-references/integration-contract.md, ../shared-references/strategy-contract.md, ../shared-references/completion-contract.md, and ../shared-references/schema-index.md before dispatching any sub-skill.
  • Before writing top-level control-plane artifacts, read the exact Python contracts for:
    • RUN_POLICY.yaml and state/POLICY_DECISION.json from packages/agent_contracts/policy.py
    • research_plan/RESEARCH_PLAN.json from packages/agent_contracts/research_plan.py when dispatching research-config
    • state/RESOLVED_RUN_CONFIG.json from packages/agent_contracts/resolved_config.py
    • state/STRATEGY_PLAN.json and state/STRATEGY_DECISIONS.jsonl from packages/agent_contracts/strategy_plan.py
    • state/PIPELINE_STATE.json and state/CURRENT_STAGE.json from packages/agent_contracts/pipeline_runtime.py
    • state/EVOLUTION_STATE.json and state/COMPLETION_DECISION.json from packages/agent_contracts/pipeline_control.py
  • If resume is true, inspect state/PIPELINE_STATE.json and state/CURRENT_STAGE.json before dispatching any sub-skill.
  • Preserve existing dashboard links, handoff artifacts, and manifest history during resume work.

Execution Contract:

  • Host-agent mode should consume this skill directly from the repository-local skills/ tree.
  • This top-level skill owns run-level orchestration and control-plane sequencing. It should not manually re-specify field-level hypothesis, review, ranking, or overview payloads that are already owned by downstream skills plus their exact Python contracts.
  • Resume and routing decisions must come from persisted artifacts, not hidden process memory.
  • Fresh bootstrap may materialize missing control-plane artifacts, but resumed work must preserve existing valid control-plane artifacts and rebuild only the missing ones.
  • Before dispatching generation, review, insights, proximity, ranking, or evolution work, refresh state/STRATEGY_PLAN.json.
  • Refresh state/STRATEGY_PLAN.json through python -m tools.policy.plan_strategy <run_dir> when resuming persisted routing state for the active round or substage.
  • Use python -m tools.policy.plan_strategy <run_dir> when restoring persisted routing state. Add an explicit phase override such as --phase Configuration, --phase Generation, or --phase Evolution only when the top-level workflow is intentionally forcing a new stage transition rather than restoring the persisted one.
  • Use from tools import sync_pipeline_stage_artifacts as the canonical paired write surface when entering any active substage.
  • The stage-sync helper is implemented in packages/run_artifacts/stage_sync.py.
  • Before dispatching any sub-skill, call tools.sync_pipeline_stage_artifacts(...) so state/PIPELINE_STATE.json and state/CURRENT_STAGE.json stay aligned.
  • When a substage is active, state/PIPELINE_STATE.json currentSkill must match the canonical skill for that currentPhase.
  • When a substage is an active runtime phase (Generation, Evolution, Reflection, Insights from Reviews, Proximity, Ranking, or Research Overview), state/PIPELINE_STATE.json status must be running unless the run is terminal. Do not leave active work as not_started.
  • run_configuration is the explicit routing action for preparing or repairing research_plan/RESEARCH_PLAN.json. Do not treat configuration as an implicit bootstrap side effect.
  • inspect_state is a blocked control-plane action. Do not continue automatic generation, review, or evolution work until the persisted routing artifacts are inspected or repaired.
  • Do not synthesize placeholder hypotheses, reviews, tournaments, proximity receipts, embeddings, or evolution-round receipts to make progress.
  • If the required sub-skill or canonical tool cannot be executed, stop and report a resumable blocked state instead of writing low-information artifacts.
  • Do not dispatch hypothesis-generation-pipeline until research_plan/RESEARCH_PLAN.json exists and validates through the canonical ResearchPlanContract.
  • Generation seeding must follow the active state/STRATEGY_PLAN.json exactly. On a fresh run, execute one generated hypothesis per selected generation strategy instead of collapsing the seed frontier into a single batch summary.
  • Evolution must remain round-based: one refreshed routing plan, one chosen parent set, one chosen concrete evolution strategy, and at most one new child hypothesis per round.
  • A completed evolution round must be replayable from exactly one router decision, one evolved child, one review bundle, one proximity receipt, completed ranking artifacts with ranking update receipt coverage, one convergence update, and one appended round receipt.
  • The appended round receipt must include only child-owned, duplicate-free placement/ranked match IDs for that round; do not copy later opponent-side lifetime refs from HYPOTHESIS.json into an earlier EVOLUTION_ROUNDS.jsonl record.
  • Evolution safety metadata must come from state/RESOLVED_RUN_CONFIG.json; do not rewrite EVOLUTION_STATE.safetyMaxIterations from the current iteration count or from prompt memory.
  • safety_iteration_limit_reached is valid only when iterationCount >= RESOLVED_RUN_CONFIG.convergence.safety_max_iterations and safetyLimitHit is true.
  • completion_driven controls stop semantics, while human_checkpoint controls where the host agent may pause for the user. Do not conflate them.
  • When the effective policy is iteration_policy = completion_driven and human_checkpoint = auto, keep executing generation and evolution work autonomously until the routing plan reaches generate_overview or inspect_state, or until validation / safety ceilings block further work.
  • Treat complete as a completion-verifier outcome, not as a state/STRATEGY_PLAN.json next_action.
  • In that autonomous mode, do not ask the user whether to continue after each evolution round or each new child hypothesis.
  • If the host-agent turn must stop before a terminal route is reached, say explicitly that the run is paused, convergence has not been reached, persisted state is resumable, and the next recommended action is continue evolution via resume or an explicit continue request.
  • When human_checkpoint = before_overview, pause only after evolution reaches an overview-ready routing state and before research-overview-pipeline.
  • When human_checkpoint = before_completion, pause only after overview work is complete and before final completion writeback.
  • When human_checkpoint = every_major_stage, pause only at major stage boundaries and not merely because one evolution child finished.

Read the full file on GitHub · 130 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. 3mo ago First seen · 130 lines · 20 tokens per session scan A 05ef86f2b698

Subscribe to this mod's changes

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

Related

co-scientist-pipeline compared with skills from other repositories

co-scientist-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
co-scientist-pipelinepanjose/Co-ScientistSkill85mo agoApache-2.0A20Claude Code, Codex
remote-compute-sshaipoch/open-scienceSkill5.0ktodayApache-2.0A52Claude Code, Codex
figure-styleaipoch/open-scienceSkill5.0ktodayApache-2.0A91Claude Code, Codex
paper-narrativeaipoch/open-scienceSkill5.0ktodayApache-2.0A58Claude Code, Codex
figure-composeraipoch/open-scienceSkill5.0ktodayApache-2.0A93Claude Code, Codex
literature-reviewaipoch/open-scienceSkill5.0ktodayApache-2.0A54Claude Code, Codex
scvi-toolsaipoch/open-scienceSkill5.0ktodayApache-2.0A100Claude Code, Codex