strategy-router

strategy-router is a skill for Claude Code, Codex from panjose/Co-Scientist. It costs 29 tokens per session (1,100 once invoked), scanned A, original, Apache-2.0.

A routing tool that creates a strategy plan for a run from saved configuration and pipeline files. It supports routes such as setup, generation, review, evolution, ranking, and research.

In plain words
What is it for?
Use it to choose and document the next workflow stage in an agent pipeline, including configuration, generation, review, or evolution work.
Why use it?
It provides a recorded plan for what a multi-stage run should do next, based on its current state.

Skill for Claude CodeCodex

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

Good fit Use it to choose and document the next workflow stage in an agent pipeline, including configuration, generation, review, or evolution work.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/panjose/co-scientist/strategy-router"><img src="https://agentmods.dev/badge/skills/panjose/co-scientist/strategy-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,100 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.00029 $0.01100
Opus 5 $0.00015 $0.00550
Sonnet 5 $0.00006 $0.00220
Haiku 4.5 $0.00003 $0.00110

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

Security

Grade A, and why

strategy-router 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 9d 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/strategy-router/SKILL.md · 76 lines

How it starts

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

strategy-router

Goal:

  • Produce the current state/STRATEGY_PLAN.json bundle for configuration, generation, review, evolution, or overview routing.

Inputs:

  • current run-local artifacts
  • RUN_POLICY.yaml
  • state/RESOLVED_RUN_CONFIG.json
  • optional state/PIPELINE_STATE.json
  • optional state/CURRENT_STAGE.json
  • optional state/EVOLUTION_STATE.json
  • optional state/COMPLETION_DECISION.json

Outputs:

  • updated state/STRATEGY_PLAN.json
  • appended state/STRATEGY_DECISIONS.jsonl

Context Loading:

  • Open skills/shared-references/schema-index.md.
  • Read packages/agent_contracts/strategy_plan.py and confirm the exact StrategyPlanContract shape before writing state/STRATEGY_PLAN.json.
  • Read packages/agent_contracts/pipeline_control.py when completion or evolution signals are present.
  • Read persisted stage information from state/PIPELINE_STATE.json and state/CURRENT_STAGE.json before inferring a route.

Execution Contract:

  • This skill is deterministic and must not call an LLM.
  • Use python -m tools.policy.plan_strategy <run_dir> [--phase <Configuration|Generation|Evolution|Insights from Reviews|Proximity|Ranking|Research Overview>] as the canonical invocation surface.
  • The underlying implementation lives in tools/policy/plan_strategy.py.
  • The router must honor the effective run policy, resolved numeric config, persisted stage artifacts, and completion advisories while still emitting one explicit next-action artifact.
  • When research_plan/RESEARCH_PLAN.json is missing or invalid, the router must emit next_action = run_configuration before any generation or evolution work.
  • Omit --phase when refreshing routing from persisted state/PIPELINE_STATE.json or state/CURRENT_STAGE.json.
  • Use an explicit --phase override only when the caller is intentionally forcing a fresh stage transition instead of resuming the persisted one.

Execution Steps:

  1. Open skills/shared-references/schema-index.md, then read packages/agent_contracts/strategy_plan.py before writing state/STRATEGY_PLAN.json.
  2. Read RUN_POLICY.yaml, state/RESOLVED_RUN_CONFIG.json, and the current persisted run-state artifacts.
  3. Run python -m tools.policy.plan_strategy <run_dir> for persisted-state refreshes, or add --phase <...> only when explicitly forcing a new stage route.
  4. Persist the returned StrategyPlanContract to state/STRATEGY_PLAN.json.
  5. Append the matching decision record to state/STRATEGY_DECISIONS.jsonl, unless the canonical router detects an equivalent unconsumed open continue_evolution decision and only refreshes state/STRATEGY_PLAN.json.
  6. Validate both artifacts before declaring completion.

Artifact Rules:

  • The strategy audit log is append-only and must preserve prior decisions for replay and debugging.
  • Call this skill before every generation batch and before every individual evolution round rather than only once at bootstrap.
  • When the returned plan is run_configuration, configuration must write and validate research_plan/RESEARCH_PLAN.json before the caller refreshes routing again.
  • When the returned plan stays in continue_evolution, the selected parent set in signals.selected_parent_ids is the only valid parent set for the next child hypothesis in that round.
  • Repeated refreshes of the same unconsumed continue_evolution route must not create duplicate open decisions. A new decision is valid only when the pre-round state changed or the earlier equivalent decision has already been consumed by a completed EVOLUTION_ROUNDS.jsonl receipt.
  • The router must preserve the island-selection outcome for the round:
    • signals.selection_strategy
    • signals.selected_parent_ids
    • signals.selected_island_ids
  • For next_action = continue_evolution, all router signals must describe the state immediately before the next child is created:
    • signals.hypothesis_count and signals.viable_hypothesis_count come from currently persisted hypothesis artifacts.
    • signals.convergence_count and signals.entered_top_k_last_round come from state/EVOLUTION_STATE.json.
    • signals.top_hypothesis_ids comes from the current persisted top-k frontier.
    • signals.selected_parent_ids must only select viable hypotheses that already exist.
    • signals.selected_island_ids must match the selected parents' persisted island_id values.
    • Do not set signals.entered_top_k_last_round = true while signals.convergence_count is positive.
  • The router does not finalize the concrete evolution strategy itself. It emits the allowed bundle, and evolution-strategy-supervisor must choose one strategy from that bundle before child generation.

Read the full file on GitHub · 76 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. 9d ago First seen · 76 lines · 29 tokens per session scan A 7cb8f7ad5d1a

Subscribe to this mod's changes

strategy-router is a skill published in the GitHub repository panjose/Co-Scientist (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 1,100 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

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

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

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

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

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