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 equal-length sets of 3D coordinates and produce a precisely formatted result.

How to use this skill

Skill file

Coordinate RMSD Calculation

Reusable workflow for calculating the Root Mean Square Deviation (RMSD) between two sets of paired 3D coordinates and writing the result in an exact, task-specified format.

When to Use

Activate this skill when a task provides two coordinate sets (reference and target), with point-to-point correspondence, and asks for the RMSD and a specific output format (e.g., fixed decimal precision and units).

Core Workflow

  1. Parse Task Instructions
  1. Read and Parse Coordinates
  1. Validate Pairing and Counts
  1. Compute RMSD
  1. Round and Format
  1. Write Output

Verification

Common Pitfalls

Optional Script Usage

You can use the helper script to compute RMSD and optionally produce a formatted line. It supports either two separate files (reference and target) or a single combined file with the first N lines as reference and the next N lines as target.

Examples:

Success Criteria:

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.