Skip to content

gooseworks-ai/goose-skills / skills/video/render-imessage-chat

render-imessage-chat

Verified

Render a configurable iMessage conversation inside a properly framed phone, then a brand end card. Uses the original send/receive sounds and a shared frame timeline for text, typing, scrolling and sound. Free local Playwright + ffmpeg assembly; optional image/music generation belongs to separate gated capabilities.

scripts/render.sh

View on GitHub
#!/usr/bin/env bash
# One free, checked render. Keep all outputs beside the requested final.
set -euo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"
CONFIG="" OUT="" MUSIC=""
while [ "$#" -gt 0 ]; do
  case "$1" in
    --config) CONFIG="$2"; shift 2;;
    --out) OUT="$2"; shift 2;;
    --music) MUSIC="$2"; shift 2;;
    *) echo "Unknown argument $1" >&2; exit 1;;
  esac
done
[ -n "$CONFIG" ] && [ -n "$OUT" ] || { echo 'Use --config config.json --out final.mp4' >&2; exit 1; }
WORK="$(dirname "$OUT")/work-$(basename "${OUT%.mp4}")"
mkdir -p "$WORK"
node "$HERE/record-chat.js" --config "$CONFIG" --out-dir "$WORK"
node "$HERE/render-end-card.js" --config "$CONFIG" --out-dir "$WORK"
ARGS=(--chat "$WORK/master-chat.mp4" --end "$WORK/scene-end-endcard.mp4" --sfx "$WORK/master-chat.sfx.json" --out "$OUT")
[ -z "$MUSIC" ] || ARGS+=(--music "$MUSIC")
bash "$HERE/stitch.sh" "${ARGS[@]}"
python3 "$HERE/check-render.py" "$OUT" "$WORK/master-chat.timeline.json" "$WORK/scene-end-endcard.mp4"
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall