Back to Skills

md-analysis-planner

HeshamFS
Updated Yesterday
5 views
40
3
40
View on GitHub
Designaidesign

About

This Claude Skill helps developers plan molecular dynamics post-processing by recommending appropriate analyses like RDF, MSD, and stress-strain calculations. It guides trajectory format choices and prerequisites before writing analysis scripts. Use it to ensure reliable results from materials simulations.

Quick Install

Claude Code

Recommended
Primary
npx skills add HeshamFS/materials-simulation-skills -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/HeshamFS/materials-simulation-skills
Git CloneAlternative
git clone https://github.com/HeshamFS/materials-simulation-skills.git ~/.claude/skills/md-analysis-planner

Copy and paste this command in Claude Code to install this skill

Documentation

MD Analysis Planner

Goal

Choose the right MD trajectory analyses and prerequisites before writing post-processing code.

Requirements

  • Python 3.10+
  • No external dependencies
  • Works on Linux, macOS, and Windows

Inputs to Gather

InputDescriptionExample
SystemMaterial or molecular systemoxide glass, liquid water
GoalsAnalysis goalsrdf,diffusion,coordination
Trajectory formatDump, DCD, XYZ, H5MD, etc.LAMMPS dump
VelocitiesWhether velocities are storedtrue
StressWhether stress/virial is storedtrue
Unwrap neededWhether atoms cross PBCtrue
Timestepfs per saved frame10

Decision Guidance

  • Use RDF and coordination for local structure.
  • Use MSD for diffusion, but unwrap trajectories and verify diffusive regime.
  • Use VACF/VDOS only when velocities or reliable finite-difference velocities exist.
  • Use stress-strain only if stress/virial and deformation history are available.
  • Always perform equilibration checks before fitting transport or thermodynamic properties.

Script Outputs

scripts/md_analysis_planner.py emits:

  • analysis_plan
  • required_data
  • equilibration_checks
  • pbc_handling
  • warnings

Workflow

python3 skills/simulation-workflow/md-analysis-planner/scripts/md_analysis_planner.py \
  --system "oxide glass" \
  --goals rdf,coordination,bond-angle \
  --trajectory-format dump \
  --unwrap-needed \
  --timestep-fs 10 \
  --json

Error Handling

If velocities, stress, or timestep information is missing, downgrade dependent analyses and report warnings.

Limitations

This skill plans analysis and prerequisites; it does not parse large trajectories directly.

Security

  • Inputs are scalar CLI values and booleans only.
  • The script does not read trajectory files or execute external analysis programs.
  • The skill uses Bash only to run the bundled script.

References

  • See references/md_analysis_checks.md for analysis prerequisites and failure modes.

Version History

  • 1.0.0: Initial MD analysis planning skill.

GitHub Repository

HeshamFS/materials-simulation-skills
Path: skills/simulation-workflow/md-analysis-planner
0
agent-skillsagentscli-toolscomputational-sciencellmmaterials-science

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill