by posecode-dev
Posecode is a tiny language an LLM can write, designed for physiotherapy, mobility, posture, yoga, and training, that renders to an animated 3D figure in the browser. Every joint is clamped to a safe range of motion, so the result is always anatomically plausible.
# Add to your Claude Code skills
git clone https://github.com/posecode-dev/posecodeGuides for using mcp servers skills like posecode.
posecode is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by posecode-dev. Posecode is a tiny language an LLM can write, designed for physiotherapy, mobility, posture, yoga, and training, that renders to an animated 3D figure in the browser. Every joint is clamped to a safe range of motion, so the result is always anatomically plausible. It has 51 GitHub stars.
posecode's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/posecode-dev/posecode" and add it to your Claude Code skills directory (see the Installation section above).
posecode is primarily written in HTML. It is open-source under posecode-dev on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh posecode against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Ask an LLM to explain physical movement and it usually returns unstructured prose or a static diagram.
For example:
Bend your knees, move your hips backward, and keep your chest upright.
A human may understand that instruction, but a renderer cannot reliably determine:
Large language models can often reason about the components of human movement, but they lack a standardized syntax for expressing that reasoning in a renderable and testable form.
Posecode provides that missing representation.
From an LLM prompt to editable Posecode, validated 3D rendering, MCP tools, and a one-script web embed.
Neural text-to-motion systems can generate impressive movement, but they introduce problems for lightweight, programmable applications.
Many systems require large models and GPU-backed inference, making real-time consumer deployment expensive.
They usually produce coordinate trajectories rather than editable semantic instructions.
It is difficult to request a precise change such as:
Reduce knee flexion by 10 degrees during the second phase.
Black-box trajectories do not naturally expose readable joint rules, phase definitions, or range-of-motion limits.
When a movement looks wrong, developers may not know which semantic instruction caused the problem.
Posecode uses a lightweight, text-driven pipeline.
.posecode documents.A .posecode file describes movement as timed phases with targeted joint actions.
1. Write .posecode |
2. Render the movement |
|---|---|
posecode exercise "Body-weight squat"rig humanoidpose start = standingstep "Descend" 1.6s settle:ย ย hips: flex 80ย ย knees: flex 95ย ย ankles: dorsiflex 14ย ย ground-lock: feetย ย cue "Sit the hips back"step "Drive up" 1.2s drive:ย ย hips: flex 0ย ย knees: flex 0ย ย ankles: dorsiflex 0ย ย ground-lock: feetrepeat 8 |
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Natural-language prompt โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GPT-5.6 authoring layer โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ .posecode source โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Parser and ROM checking โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Kinematics and IK layer โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
โ Three.js/WebGL renderer โ โ Fidelity measurementsโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโ
โ GPT-5.6 Physics โ
โ Critic and revision โ
โโโโโโโโโโโโโโโโโโโโโโโโ
Preview, edit, and share movements without installing anything:
Requirements:
Clone the repository:
git clone https://github.com/posecode-dev/posecode.git
cd posecode
Install dependencies:
npm install
Start the playground:
npm run dev
Run tests:
npm test
Run type checking:
npm run typecheck
Run fidelity evaluations:
npm run eval
Build the playground:
npm run build
Posecode includes a Model Context Protocol server for AI agents.
Run it with:
npx -y posecode-mcp@latest
Example MCP client configuration:
{
"mcpServers": {
"posecode": {
"command": "npx",
"args": ["-y", "posecode-mcp@latest"]
}
}
}
The MCP server exposes:
validate_posecoderender_posecodeSee packages/posecode-mcp for the complete configuration and tool documentation.
Embed a Posecode player on a page:
<script src="https://unpkg.com/posecode-embed/dist/posecode-embed.js"></script>
<posecode-player src="/movements/squat.posecode"></posecode-player>
The player can be used in:
Install the parser:
npm install posecode-parser
Install the renderer:
npm install posecode-render
Example:
import { parse } from "posecode-parser";
import { createViewer } from "posecode-render";
const source = `
posecode exercise "Lateral raise"
rig humanoid
pose start = standing
step "Raise" 1.4s settle:
shoulders: abduct 90
`;
const { ir, errors, warnings } = parse(source);
if (!ir || errors.length > 0) {
console.error(errors);
} else {
console.warn(warnings);
const viewer = createViewer(document.querySelector("#viewer"));
viewer.load(ir);
viewer.play();
}
The #viewer element is an HTML <canvas>.
Posecode uses multiple layers of checking.
Joint angles are constrained before rendering.
For example:
knees: flex 200
is clamped to the configured knee-flexion limit and produces a warning instead of rendering an impossible angle.
The engine measures the actual resulting skeleton after:
Movement examples can define expected properties.
For example, a deadlift may r