Skip to content

mancusolab/scientific-software-playbook

Repository files navigation

Scientific Software Playbook Claude Code Codex CLI

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.

What you get

This repository ships four plugins:

  1. scientific-plan-execute, Orchestrates kickoff, design planning, readiness validation, approval, implementation planning, and execution.

  2. scientific-research, Adds research workflows for internet, literature, and codebase evidence.

  3. scientific-house-style, Adds reusable engineering guidance for JAX/Equinox numerics, Python module/package design, and project-quality practices.

  4. 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.

Workflow at a glance

Rough idea
    │
    ▼
Design planning  ───────────────► Design document (committed to git)
    │
    ▼
Implementation planning  ───────► Implementation plan (phase files)
    │
    ▼
Phase execution loop  ──────────► Working code (reviewed & committed)

Start Here

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.

Straightforward use case: start from the router

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).

Installation

For full setup and troubleshooting, use docs/INSTALLATION.md.

Codex CLI

git clone https://github.com/mancusolab/scientific-software-playbook.git
cd scientific-software-playbook
bash scripts/install-codex-home.sh --force

Claude Code

/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

Where to go next

  1. Day-1 workflow guide: docs/ONBOARDING.md
  2. Installation and troubleshooting: docs/INSTALLATION.md
  3. Internal contracts and hard stops: AGENTS.md

License and attribution

This repository is heavily inspired by ed3d-plugins and builds directly on that ecosystem's workflow patterns.

  1. Repository and plugin content license: LICENSE
  2. Upstream lineage license: LICENSE.superpowers
  3. Provenance details: NOTICE
  4. Plugin-local ed3d attribution example: plugins/scientific-agent-tools/LICENSE.ed3d

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.superpowers

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors