By matsunagalab
Run autonomous molecular dynamics workflows — protein structure prediction, homology modeling, conformational sampling, simulation preparation, minimization, production MD, trajectory analysis, and SLURM HPC job management — all coordinated through MDClaw CLI study plans and directed acyclic graphs.
Generate monomer conformational source candidates with BioEmu, then hand them to MDClaw preparation.
AI-driven protein structure prediction using Boltz-2 for single proteins, multimers, and protein-ligand complexes.
SLURM-based HPC submission for MDClaw workflow nodes. Handles cluster inspection, single-node and job-array submission, status sync to the DAG, and production restart extensions.
Molecular dynamics trajectory analysis using MDClaw CLI tools. Routes concat, metric, and troubleshooting workflows through focused guidance pages.
Standalone minimization node plus equilibration (min -> low-temperature NVT warmup -> NVT heating -> optional NPT density) of a prepared MD system using MDClaw CLI tools. Creates min and eq DAG nodes and writes restart artifacts for production handoff.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
MDClaw provides skills and CLIs for vibe-MD (Molecular Dynamics) simulations and autonomous scientific investigation in the Amber/OpenMM ecosystem. It helps an AI agent turn scientific intent into reproducible atomistic work: prepare systems, run equilibration and production MD, analyze trajectories, branch hypotheses, and package evidence with provenance.
MDClaw is split into two things that are deployed together but should be understood separately:
| Layer | What It Is | Main Files |
|---|---|---|
| Skill layer | Agent-facing MD decision policy and procedures | skills/, .agents/skills/, .claude/skills/ |
| MD runtime | The scientific software stack and CLI that perform the work | bin/mdclaw, mdclaw/, container/, hooks/ |
The skills are text and are portable across agent harnesses. The MD runtime is the packaged scientific stack behind the CLI: a conda environment, Singularity/Apptainer SIF, Docker image, or local editable install.
Choose the path that matches your agent. After installation, run
scripts/mdclaw-doctor.sh when using a repo checkout; it checks the runtime,
OpenMM, AmberTools, container availability, and skill discovery.
Use this when you want /mdclaw:* slash commands and plugin-managed runtime
setup.
/plugin marketplace add matsunagalab/mdclaw
/plugin install mdclaw@mdclaw
The plugin provides:
.claude-plugin/: marketplace metadata.hooks/hooks.json: SessionStart hook that prepares the packaged MD runtime.bin/mdclaw: runtime wrapper that chooses conda, SIF, or Docker.skills/: the same MDClaw skills used by other agents.The plugin prepares the container runtime on first session start. On HPC it
prefers a SIF for Singularity/Apptainer; on desktop it can use Docker. This is
only the execution environment for mdclaw <tool>; skill discovery remains the
same text files under skills/.
Pi reads skills from the repository package metadata:
pi install git:github.com/matsunagalab/mdclaw@main
package.json points Pi at ./skills. You still need one MD runtime:
the mdclaw conda env, a SIF through MDCLAW_SIF, Docker through
MDCLAW_DOCKER_IMAGE, or the plugin/container wrapper.
Use this path when an agent discovers skills from repo-local skill mirrors.
git clone https://github.com/matsunagalab/mdclaw
cd mdclaw
scripts/install-agent-skills.sh
scripts/mdclaw-doctor.sh
scripts/install-agent-skills.sh creates .agents/skills/<name> and
.claude/skills/<name> symlinks to skills/<name>. Use
scripts/install-agent-skills.sh --copy if your agent or filesystem does not
follow symlinks.
Repo-local Claude Code uses .claude/skills/ for skill discovery. The older
repo-local short commands such as /md-prepare are intentionally not tracked;
use the discovered skills directly, or install the Claude plugin when you want
the plugin command namespace such as /mdclaw:md-prepare.
For development or non-plugin usage, create the conda environment:
conda env create -f environment.yml
conda activate mdclaw
pip install -e .
mdclaw --list
bin/mdclaw chooses a runtime in this order:
MDCLAW_RUNTIME=conda|singularity|apptainer|docker, if set.mdclaw, if available.MDCLAW_SIF or an auto-downloaded SIF.ghcr.io/matsunagalab/mdclaw:<version-or-latest>.mdclaw on PATH.npx claudepluginhub matsunagalab/mdclaw --plugin mdclawPermanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Intelligent prompt optimization: injects the right context at the right moment so Claude lands a better first output. Clarifies vague prompts with research-based questions, plus targeted nudges for approach selection, plan readability, workflow routing, background execution, subagent routing, output readability, user-decision questions, and plan-mode assessment
Semantic search for Claude Code conversations. Remember past discussions, decisions, and patterns.