本文へ移動
cccskills
無料GitHub で公開

rn-human-motion-extractor

Extract anonymized frame-by-frame body and hand trajectories from an authorized reference video, with skeleton previews, confidence evidence, and machine-readable keypoints. Use when the user asks to 提取博主动作, 提取人体动作轨迹, 做姿态参考, 生成骨架视频, or prepare motion control data for an avatar; do not route graphic-animation replication here.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md4.2 KB
  • agents/openai.yaml342 B
  • references/keypoint-schema.md1.1 KB
  • scripts/extract_motion.py15.4 KB
  • scripts/requirements.txt67 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

RN Human Motion Extractor

Convert a selected range of an authorized reference video into reusable motion data. Preserve motion and timing; do not package the source person's appearance, voice, subtitles, or footage as a reusable identity asset.

Boundary

  • Use only a public or local reference the user is authorized to analyze.
  • Keep source footage and identity-preserving overlay previews in the private project workspace. The pure-skeleton video and keypoint data are the portable motion assets.
  • This Skill extracts evidence; it does not promise that a generative video model will obey every keypoint.
  • Do not call a result "exact hand motion" when fingers are occluded, blurred, outside the frame, or below the confidence gate. Report coverage instead.
  • Route designed cards, connectors, typography, and UI motion to rn-motion-replica; route full-frame replica claims to rn-replica-qc.

Workflow

1. Lock the range and timebase

Confirm the input file and desired range. Probe the source with ffprobe and record width, height, fps, duration, frame count, and audio presence. Default to the full clip only when the range is already short and unambiguous.

2. Create a local runtime

The bundled extractor requires FFmpeg plus Python 3.10–3.12. Use an isolated environment; do not modify the system Python.

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -r \
  <skill-dir>/scripts/requirements.txt

3. Extract the trajectory

.venv/bin/python <skill-dir>/scripts/extract_motion.py \
  --input <reference.mp4> \
  --output <private-project-dir>/motion-extraction \
  --start 0 \
  --duration 10

Omit --duration to process from --start to the end. Use --no-overlay when an identity-preserving QC preview is unnecessary.

The extractor records:

  • 33 MediaPipe pose landmarks
  • 21 landmarks for each detected hand
  • raw coordinates and confidence-aware smoothed coordinates
  • normalized image x/y, relative z, visibility, frame index, and timestamp

Short missing spans may be interpolated. Long gaps remain missing; never fill a long occlusion with invented finger choreography.

4. Inspect evidence

Open both the overlay preview and pure-skeleton preview. Inspect at least the beginning, every major gesture change, and the final frame. Read qc/extraction-stats.json before describing fidelity.

The preview convention is:

  • yellow: body
  • blue/red: left/right hands
  • thin gray: low-confidence body nodes

Verify that shoulders, elbows, wrists, and hand clusters stay on the correct limbs through crossings. If a hand swaps sides or jumps, keep the raw data, mark the affected time range, and correct it with manual keyframes before using it as a hard control signal.

5. Deliver claims at the proved level

The expected output is:

motion-extraction/
├── data/
│   ├── motion-keypoints.json
│   └── motion-keypoints.npz
├── qc/
│   ├── extraction-stats.json
│   ├── media-probe.json
│   ├── motion-overlay.mp4
│   ├── motion-skeleton.mp4
│   └── contact-sheet.jpg
└── work/
    └── *.mp4

Report body coverage and left/right hand coverage separately. A useful body and wrist trajectory can coexist with incomplete finger tracking; say so plainly. For the JSON contract and handedness rules, read references/keypoint-schema.md.

Completion gates

  • Source range, fps, and processed frame count agree.
  • JSON parses and contains one entry per processed frame.
  • Both final MP4s decode without FFmpeg errors and match the extracted duration.
  • Contact sheet has been visually inspected.
  • Confidence gaps and occlusions are reported, not hidden by smoothing.
  • No paid generation task is implied or submitted by this extraction Skill.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

口播基础素材包生成。转录口播、识别口误、生成审核页;用户确认后剪出新视频,Agent 再基于剪后视频重新转写、AI 校对字幕,输出后续口播成片可用的 source_cut.mp4 和 subtitles.srt。触发词:剪口播、处理口播素材、准备口播素材、识别口误、基础素材包

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

口播视频成片 Skill。把文章/口播稿/SRT、剪后视频和 HTML/图片素材串成分镜稿、时间线预览和最终 MP4;成片比例和动画风格从用户配置读取,动画默认使用小黑风格。触发词:口播成片、做分镜稿、时间线预览、合成口播视频、导出竖屏MP4

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

自进化 skills。记录用户反馈,更新方法论和规则。触发词:更新规则、记录反馈、改进skill

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

dbs

無料

dontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。 触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」 Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation. Trigger: /dbs, "help me with my business", "what's next"

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

Pluviobyte のスキルをすべて見る

このスキルの問題を報告する