Scientific Software Playbook is a plugin collection for scientific labs and research teams building software that performs inference for explicit scientific models.
The goal is simple: make scientific software development more reliable by adding structure where it matters most.
- decide model path and assumptions early
- validate design before implementation
- execute in phases with explicit test and review evidence
It is optimized for turning a scientific model or existing scientific implementation into robust software with explicit design decisions, staged implementation, and evidence-backed review. It is not a general workflow for exploratory analysis, one-off notebooks, or every kind of scientific computing task. It is also heavily tuned for Python/JAX implementations; additional implementation languages are currently out of scope, but will be carefully included after additional testing and validation.
This repository ships four plugins:
-
scientific-plan-execute, Orchestrates kickoff, design planning, readiness validation, approval, implementation planning, and execution. -
scientific-research, Adds research workflows for internet, literature, and codebase evidence. -
scientific-house-style, Adds reusable engineering guidance for JAX/Equinox numerics, Python module/package design, and project-quality practices. -
scientific-agent-tools, Optional maintainer-facing tooling for authoring plugins, skills, agents, directives, and repository context files.
Downstream workflow users usually need the first three. scientific-agent-tools
is mainly for playbook authors and maintainers.
In practice, this helps scientific teams reduce avoidable rework: fewer ambiguous requirements, fewer hidden model assumptions, and clearer completion evidence.
- Architecture-first planning with explicit approval before implementation.
- Built-in clarification and brainstorming stages before architecture lock-in.
- Reusable skills, commands, and agents for phased execution.
- Specialized reviewer delegates for architecture, numerics, CLI/API contracts, and inference algorithm behavior.
- Templates for design plans, implementation plans, and review artifacts.
- A separate house-style plugin for JAX/Equinox numerics for differentiable computing and project engineering guidance.
Rough idea
│
▼
Design planning ───────────────► Design document (committed to git)
│
▼
Implementation planning ───────► Implementation plan (phase files)
│
▼
Phase execution loop ──────────► Working code (reviewed & committed)
Begin each new workflow session with the router:
- Claude Code:
/scientific-plan-execute:start-plan-and-execute - Codex:
using-plan-and-execute
The router chooses the right next step for the current state:
- kickoff, when model provenance, model selection, or parity targets are still unsettled
- design planning, when the model/software contract is already established
- implementation planning or execution, when you are resuming a later phase
Most sessions only use the router plus the main phase commands:
/scientific-plan-execute:start-design-plan/scientific-plan-execute:start-implementation-plan/scientific-plan-execute:execute-implementation-plan
Validation, status transitions, simulation setup, and direct scaffolding commands are manual utilities used inside an active workflow.
If you are working in a downstream project and want to add or change something, start with the router command for your runtime:
- Claude Code:
/scientific-plan-execute:start-plan-and-execute - Codex:
using-plan-and-execute
Then provide a short request, for example:
"Add simulation-based calibration checks to the current inference workflow and keep existing CLI behavior stable."
The router selects the next step for you (design planning, kickoff when needed, or implementation flow if you are resuming).
For full setup and troubleshooting, use docs/INSTALLATION.md.
git clone https://github.com/mancusolab/scientific-software-playbook.git
cd scientific-software-playbook
bash scripts/install-codex-home.sh --force/plugin marketplace add https://github.com/mancusolab/scientific-software-playbook.git
/plugin install scientific-plan-execute@scientific-software-playbook
/plugin install scientific-research@scientific-software-playbook
/plugin install scientific-house-style@scientific-software-playbook
/plugin install scientific-agent-tools@scientific-software-playbook
/plugin reload
- Day-1 workflow guide:
docs/ONBOARDING.md - Installation and troubleshooting:
docs/INSTALLATION.md - Internal contracts and hard stops:
AGENTS.md
This repository is heavily inspired by ed3d-plugins and builds directly on that ecosystem's workflow patterns.
- Repository and plugin content license:
LICENSE - Upstream lineage license:
LICENSE.superpowers - Provenance details:
NOTICE - Plugin-local ed3d attribution example:
plugins/scientific-agent-tools/LICENSE.ed3d