coarse-grained-md

coarse-grained-md is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 5 tokens per session (16,067 once invoked), scanned A, original, MIT.

A method for running molecular dynamics simulations with groups of atoms represented as larger particles, so scientists can model bigger systems for longer periods. It includes setting up, tuning, running, reversing, and checking these simplified models.

In plain words
What is it for?
It helps model molecular assembly, polymer shapes, lipid membranes, and protein–membrane interactions using GROMACS or LAMMPS. It also helps convert structures between simplified and atom-level forms.
Why use it?
Detailed atom-by-atom simulations can be too costly for large systems or long time periods. This method reduces the amount of computation while providing ways to compare results with detailed simulations and experiments.

Skill for Claude CodeCodex

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

Good fit It helps model molecular assembly, polymer shapes, lipid membranes, and protein–membrane interactions using GROMACS or LAMMPS. It also helps convert structures between simplified and atom-level forms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/coarse-grained-md
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 SFETNI/Deep-Matter-Chem-Skills --skill coarse-grained-md
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

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 coarse-grained-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/coarse-grained-md/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/coarse-grained-md)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/coarse-grained-md"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/coarse-grained-md/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 coarse-grained-md

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/coarse-grained-md"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/coarse-grained-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00005 $0.16067
Opus 5 $0.00003 $0.08034
Sonnet 5 $0.00001 $0.03213
Haiku 4.5 $0.00001 $0.01607

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

Security

Grade A, and why

coarse-grained-md scanned grade A with 1 finding 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 12d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run([
skills/atomistic-md/coarse-grained-md/SKILL.md · 949 lines

How it starts

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

Coarse-Grained MD

Description

This skill covers coarse-grained (CG) molecular dynamics: mapping atomistic structures to CG bead representations, parameterizing CG force fields (Martini 3, iterative Boltzmann inversion, force matching), running CG simulations in GROMACS and LAMMPS, backmapping CG configurations to atomistic resolution, and validating CG models against atomistic and experimental reference data. CG-MD replaces groups of heavy atoms with single interaction sites, reducing degrees of freedom by 2–10× and enabling simulations on spatial scales of 10–1000 nm and temporal scales of microseconds to milliseconds. Invoke this skill when the relevant length or time scale exceeds what all-atom MD can access within the computational budget, or when high-throughput screening of molecular assembly, polymer morphology, lipid bilayer properties, or protein–membrane interactions is required.

Domain Context

Coarse-graining is not simply a faster simulation; it is a change of the physical model. A CG bead represents 2–10 heavy atoms and the associated hydrogen atoms as a single spherical interaction site with effective mass, position, and interaction parameters. The reduction in degrees of freedom comes at a cost:

  • Loss of chemical detail: CG representations cannot distinguish stereoisomers, tautomers, or conformations at the bond-angle level. The CG bead type is the resolution limit of the chemical identity.
  • Modified dynamics: CG potentials are free-energy surfaces, not potential energy surfaces. The smoother landscape increases conformational sampling but accelerates dynamics beyond the true atomistic rates. The CG time scale is related to the atomistic time scale by a system-dependent, temperature-dependent, and observable-dependent factor (typically 4–8× for Martini water). [EXPERT REVIEW NEEDED]
  • Non-uniqueness of the mapping: Many different atom-to-bead assignments are consistent with the same molecular structure. Different mappings produce different CG potentials, different dynamics, and potentially different thermodynamic observables. There is no uniquely correct CG representation.
  • Transferability: CG potentials fitted to reproduce one thermodynamic state (temperature, pressure, composition) may not transfer to another. Martini 3 is parameterized for biomolecules near 310 K, 1 bar, with explicit CG water. Using it at 500 K or with implicit solvation is extrapolation.
  • Bottom-up vs. top-down: Bottom-up CG potentials (IBI, force matching, relative entropy) are derived systematically from all-atom reference simulations. They reproduce the atomistic structural and thermodynamic reference data at the parameterization state point but may have limited transferability. Top-down CG potentials (Martini) are parameterized to reproduce experimental thermodynamic data (partitioning, phase behavior, structure) and are more transferable across compositions but less precise for a specific system.

Read the full file on GitHub · 949 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. 12d ago First seen · 949 lines · 5 tokens per session scan A 9a0550053e84

Subscribe to this mod's changes

coarse-grained-md is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 16,067 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

patsnap-biological-modality

Biological sequence and modality intelligence via Patsnap MCP.

patsnap/mcp · 19 tokens

patsnap-scientific-translational-evidence

Patsnap Scientific & Translational Evidence MCP for AI agents. Retrieval platform focusing on scientific literature and translational outcomes, covering academic publication queries and translational medicine record tracking.

patsnap/mcp · 47 tokens

patsnap-target-disease

Patsnap Target & Disease MCP for AI agents. Target and disease profiling tool, covering target characterization, disease profiling, and epidemiology evidence retrieval.

patsnap/mcp · 37 tokens

patsnap-solution-engine

Patsnap TRIZ Concept Solution Engine MCP for AI agents. Generates innovation or product cost-reduction concepts through asynchronous TRIZ and TRIZ/DFMA workflows. Use for engineering problem solving, concept alternatives, cost-reduction analysis, task-progress retrieval, and selected-solution details.

patsnap/mcp · 64 tokens