Coordinate rmsd

From XuShuwenn/RedAct · View interactive version

Coordinate rmsd is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Compute RMSD between two 3D coordinate sets from text or files with validation, rounding, and precise output formatting.

How to use this skill

Skill file

Coordinate RMSD Computation

A practical workflow for computing Root Mean Square Deviation (RMSD) between two sets of 3D atomic coordinates. Handles parsing, validation, direct (no-alignment) RMSD, rounding, and strict output formatting.

When to Use

Activate this skill when the user asks to:

If the task explicitly requests superposition/alignment before RMSD, confirm the requirement. This skill focuses on direct RMSD; alignment can be added when specified (see notes below).

Core Workflow

1) Gather Inputs

2) Parse Coordinates

3) Choose RMSD Mode

4) Compute Accurately

5) Rounding and Units

6) Output Formatting

Verification

Perform these checks before finalizing:

Common Pitfalls

Optional Script Usage

Use the helper to parse common text formats and compute direct RMSD. It supports:

Examples:

If alignment (superposition) is required by the task, implement a Kabsch-based preprocessing step or use a library/tool that provides it, then apply the same RMSD formula and formatting.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.