supraxylon/blender-motion-tracking-oc/blender-motion-tracking

Claude Code and agent skill by supraxylon/blender-motion-tracking-oc

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install supraxylon/blender-motion-tracking-oc/blender-motion-tracking

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as supraxylon/blender-motion-tracking-oc/blender-motion-tracking.

Blender Motion Tracking Add-on

Trigger

When the user asks about:

  • Building, writing, or debugging a Blender add-on for motion tracking / pose detection
  • Integrating MMPose / RTMPose / RTMO into Blender
  • Creating Blender armature animations from video pose data
  • Converting keypoint coordinate systems between MMPose and Blender
  • Distributing Blender add-ons

Context

This project targets Blender 4.2+ using a pure Python add-on — no C++, no Pybind11, no TorchScript wrapping.

Core Architecture

The deliverable is a pure-Python Blender add-on that communicates with a separate MMPose worker subprocess:

addons/
motion_tracking/ <- Blender add-on (pure Python)
+-- __init__.py <- Entry point: bl_info, register, unregister
+-- panel.py <- UI panel in Clip Editor sidebar
+-- operators.py <- Run inference, import results
+-- retarget.py <- Armature mapping presets
+-- deps/
+-- mmpose_worker/ <- Standalone MMPose pipeline
+-- runner.py <- Entry point
+-- engine.py -> MMPose model loader
+-- processor.py -> Frame-by-frame inference
+-- output.py -> JSON serialization
+-- requirements.txt

Key Design Decisions

  1. Pure Python — Blender embeds Python. MMPose is Python-native. No C++ toolchain needed.
  2. Out-of-process — The add-on launches python deps/mmpose_worker/runner.py as a subprocess and reads JSON output. Users never need Torch/CUDA installed locally.
  3. Thin add-on layer — Only handles UI + data mapping. MMPose does all inference.
  4. Panel lives in `CLIP_EDITOR` — bl_space_type = 'CLIP_EDITOR' for the tracking workflow.

Workflow

  1. User loads video into the Clip Editor
  2. Panel appears in sidebar with: video path selector, model choice, device selection, person selector
  3. User clicks "Run Inference" -> add-on launches MMPose subprocess
  4. MMPose writes JSON output with detected keypoints per frame
  5. User clicks "Import" -> add-on maps keypoints to Blender empties with keyframes
  6. User clicks "Create Armature" -> add-on creates bone structure (basic 17-joint or Rigify preset)
  7. Poses are applied to armature bones frame-by-frame

Coordinate Conversion

MMPose origin is top-left (0..1 normalized). Blender origin is video center. Convert in the add-on:

python
x_blender = (kp_x - 0.5) * clip.width / 2
y_blender = (kp_y - 0.5) * clip.height / 2

MMPose Output Format

json
{
"video": {"filepath": "...", "width": 1920, "height": 1080, "fps": 30},
"model": "rtmpose-m",
"persons": [{
"id": 0,
"frames": [{
"frame": 0,
"bbox": [x, y, w, h],
"keypoints": {
"nose": {"x": 0.45, "y": 0.32, "conf": 0.95, "visible": 1},
"left_shoulder": {"x": 0.42, "y": 0.35, "conf": 0.88, "visible": 1}
}
}]
}]
}

MMPose Keypoint Names (COCO 17)

nose, left_eye, right_eye, left_ear, right_ear, left_shoulder, right_shoulder, left_elbow, right_elbow, left_wrist, right_wrist, left_hip, right_hip, left_knee, right_knee, left_ankle, right_ankle

Key Blender APIs

TaskAPI
UI panelbpy.types.Panel with bl_space_type = 'CLIP_EDITOR'
Propertiesbpy.props.String/Enum/Bool/IntProperty()
Emptiesbpy.ops.object.empty_add()
Armaturebpy.ops.object.armature_add()
Keyframesobj.keyframe_insert(data_path='location', frame=n)
Clipsbpy.data.movieclips.append(filepath), clip.frames
Bonesarm.editbones.new(name), bone.head/tail
Reloadimport importlib; importlib.reload(module)

Distribution

Package as .zip for Blender add-on install: Edit -> Preferences -> Add-ons -> Install -> Select .zip

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/supraxylon/blender-motion-tracking-oc/blender-motion-tracking/badge)](https://verified-skill.com/skills/supraxylon/blender-motion-tracking-oc/blender-motion-tracking)

Something wrong with this skill or its page? Tell us.