v3d-com-xcom-bos-mos

Compute COM, XCoM, BoS, and MoS from C3D marker data.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Rukkha1024/replace_V3D --skill v3d-com-xcom-bos-mos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: v3d-com-xcom-bos-mos
Source: https://github.com/Rukkha1024/replace_V3D/tree/main/.claude/skills/v3d-com-xcom-bos-mos
Command: npx skills add https://github.com/Rukkha1024/replace_V3D --skill v3d-com-xcom-bos-mos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the computation of key biomechanical metrics like Center of Mass (COM), Extrapolated Center of Mass (XCoM), Base of Support (BoS), and Margin of Stability (MoS) from motion capture data, eliminating manual processing and ensuring consistency.

Core Features & Use Cases

  • COM & XCoM Calculation: Computes whole-body COM and XCoM using a validated proxy and Hof's inverted-pendulum model.
  • Marker-Based BoS: Generates a Base of Support polygon using foot landmark markers, even without force plates.
  • Signed MoS: Calculates the signed minimum distance from XCoM to the BoS boundary, indicating stability.
  • Use Case: Analyze the stability of athletes during perturbation tasks by automatically processing C3D files to generate COM, XCoM, BoS, and MoS time series.

Quick Start

Use the v3d-com-xcom-bos-mos skill to process the C3D file located at '/path/to/trial.c3d' using the anthropometric data from '/path/to/subject.yaml' and event information from '/path/to/events.xlsm'.

Frequently Asked Questions about v3d-com-xcom-bos-mos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate Margin of Stability from C3D motion capture data?

You can calculate Margin of Stability from C3D files by using foot landmarks to define the Base of Support and applying Hof's inverted-pendulum model to find the signed minimum distance from the Extrapolated Center of Mass to the BoS boundary.

Can I compute Base of Support from C3D markers without force plates?

Yes, you can compute Base of Support without force plates by generating a BoS polygon directly from foot landmark markers contained in the C3D file.

How does Hof's inverted-pendulum model work for XCoM calculation?

Hof's inverted-pendulum model calculates the Extrapolated Center of Mass by incorporating the Center of Mass position and its velocity. This Skill uses a segment-centroid proxy for COM and applies this model to derive XCoM time series from C3D data.

Do I need anthropometric data to analyze balance during perturbation trials?

Yes, you need anthropometric data including leg length and foot dimensions to compute COM and stability metrics. Optionally, event information from an Excel file can be supplied to precisely analyze perturbation trials.

What is the best way to automate Center of Mass calculation from C3D files?

The best way to automate Center of Mass calculation from C3D files is by using a segment-centroid proxy that processes whole-body marker data. This eliminates manual processing and ensures consistent biomechanical metric generation.