Skip to content

puntorigen/avatar-skills / avatar-frames

avatar-frames

Verified

Extract ready avatar reference frames from talking-head videos — single face, face-region sharpness, no burned-in subtitles. Optionally saves inpaint candidates (1 face, sharp, with subtitles) in with_subtitles/ when requested or when no ready frames exist. Uses MediaPipe and EasyOCR. Use when the user asks to extract avatar frames, clean frames from video, reference images for virtual avatar, or talking-head frame extraction.

FileKindSize
SKILL.mdskill md6.6 KB
scripts/extract_clean_frames.pyscript29.1 KB
scripts/requirements.txtmanifest38 B
scripts/setup.shexecutablescript984 B

scripts/setup.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

SKILL_DIR="$(cd "$(dirname "$0")/.." && pwd)"

# Support weights live OUTSIDE the repo, in a shared hidden home dir so they are
# never committed and can be reused across skills. Override with AVATAR_SKILLS_HOME.
MODELS_DIR="${AVATAR_SKILLS_HOME:-$HOME/.avatar-skills}/models"
mkdir -p "$MODELS_DIR"

SHORT_URL="https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite"
FULL_URL="https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_full_range/float16/1/blaze_face_full_range.tflite"

pip3 install -r "$SKILL_DIR/scripts/requirements.txt"

for pair in "short_range:$SHORT_URL" "full_range:$FULL_URL"; do
  name="blaze_face_${pair%%:*}.tflite"
  url="${pair#*:}"
  dest="$MODELS_DIR/$name"
  if [[ ! -f "$dest" ]]; then
    echo "Downloading $name -> $dest"
    curl -fsSL -o "$dest" "$url"
  fi
done

echo "avatar-frames skill ready. Models in $MODELS_DIR"
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall