thaddeushackz/the-ai-video-editor/character-ik-lip-sync

Claude Code and agent skill by thaddeushackz/the-ai-video-editor

Trust tier 2
  • community
LLM review pending
Source check pending

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

Deterministic 2D/2.5D character animation, analytic 2-bone Inverse Kinematics (solveTwoBoneIK), walk/wave/point/present gesture cycles, squash-and-stretch secondary physics, and phoneme/viseme lip-sync mouth morphing.

Install

npx vskill@latest install thaddeushackz/the-ai-video-editor/character-ik-lip-sync

SKILL.md

The same SKILL.md was published earlier as thaddeushackz/the-ai-video-editor/character-ik-lip-sync.

2D/2.5D Character IK & Viseme Lip-Sync (character-ik-lip-sync)

Use this skill whenever a prompt calls for animated characters, mascots, explainers with a speaking presenter, limb/joint kinematics, or lip-synced dialogue.


1. Analytic 2-Bone Inverse Kinematics (solveTwoBoneIK)

Never animate multi-segment limbs with disconnected rotations that drift at the elbow or knee. Compute the exact joint position (jx, jy) from shoulder/hip (x0, y0), target hand/foot (tx, ty), and bone lengths (L1, L2) using the Law of Cosines:

tsx
import { solveTwoBoneIK, AnimatedCharacterRig } from "./engine";
// Full rigged presenter with IK gestures + viseme lip-sync + blink cadence:
<AnimatedCharacterRig
x={960}
y={560}
scale={1.0}
gesture="wave" // "wave" | "point" | "present" | "idle"
speechText="Every frame is deterministically lip-synced."
speechStartFrame={12}
accentColor="#35D9F2"
/>

2. Deterministic Viseme Mouth Morphing (textToVisemeAtFrame)

Map transcript characters or Parakeet word timestamps to 8 core mouth shapes (REST, A, E, I, O, U, M, F):

  • M (B, M, P): Closed wide labial compression (w: 26, h: 3)
  • A (A, E): Wide open vowel (w: 28, h: 18)
  • O (O): Rounded open vowel (w: 18, h: 20)
  • U (U, W): Tight rounded vowel (w: 14, h: 14)
  • F (F, V): Dental-labial tuck (w: 24, h: 6)

3. Secondary Motion & Squash-and-Stretch Rules

  • Volume Conservation: When a character or physics object compresses vertically by 1 - s (scaleY = 1 - s), expand horizontally by 1 + s * 1.15 (scaleX = 1 + s * 1.15) so perceived mass stays constant.
  • Blink Cadence: Blink deterministically every 70–85 frames for 3–4 frames using frame % 75 >= 71.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

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/thaddeushackz/the-ai-video-editor/character-ik-lip-sync/badge)](https://verified-skill.com/skills/thaddeushackz/the-ai-video-editor/character-ik-lip-sync)

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