Skip to content

konradre/video-production-skills / skills/video-refs-continuity

video-refs-continuity

Verified

Continuity through consistency for generated video: builds the DERIVED reference set and start image every shot needs, keeps the continuity ledger between shots, and runs the refs gate in code before any generation call. Use when a shot must match the shot before it (room, cast, seats, wardrobe, held props, door swing, a named state), when a character, product or room reference is built or cut from a keeper, when a plate or start image is generated, or when seeds keep drifting between shots. Triggers — "continuity", "refs gate", "reference set", "start image", "continuity ledger", "backfill from accepted", "the door is on the wrong wall", "not the same guy", "the same shape in all videos". Not for the cost line, the GO and the submit itself — use video-gen-cost-gate. Not for the prompt's wording — use video-prompt-dialects. Not for upscale, film look, grain or the delivery encode — use video-finish.

FileKindSize
SKILL.mdskill md31.6 KB
references/ASSET-HYGIENE.mdmarkdown6.1 KB
references/CONTINUITY-AXES.mdmarkdown6.3 KB
references/REFERENCE-CONTRACT.mdmarkdown19.0 KB
references/REPAIR-LADDER.mdmarkdown6.0 KB
references/SCENE-PROXY.mdmarkdown24.5 KB
references/ZOOM-OUT-CHAIN.mdmarkdown4.1 KB
references/refs-required.example.jsonconfig3.1 KB
scripts/air_pieces.pyexecutablescript3.9 KB
scripts/cast_stress.pyexecutablescript17.8 KB
scripts/comfy_preflight.pyscript22.3 KB
scripts/comfy_ready.pyexecutablescript2.7 KB
scripts/comfy_up.shexecutablescript2.6 KB
scripts/knit_letters.pyexecutablescript7.3 KB
scripts/plate_pieces.pyexecutablescript4.9 KB
scripts/ref_dag.pyexecutablescript5.2 KB
scripts/refs_gate.pyexecutablescript41.1 KB
scripts/scene_blockout.pyscript6.4 KB
scripts/scene_proxy.pyscript16.6 KB
scripts/split_sheet.pyexecutablescript1.4 KB
scripts/sprinkle_pieces.pyexecutablescript2.8 KB

scripts/comfy_up.sh

View on GitHub
#!/usr/bin/env bash
# comfy_up.sh — start ComfyUI as a detached headless server, locally or over ssh, from the env.
#   COMFY_DIR   the ComfyUI checkout (required)          COMFY_VENV  its virtualenv (optional)
#   COMFY_ARGS  default: --listen 0.0.0.0 --port 8188 --disable-auto-launch
#   COMFY_LOG   default: /tmp/comfyui.log               COMFY_SSH   user@host — run the same command there
#   COMFY_HOST  the URL comfy_ready.py probes; a server already answering is left alone.
#   COMFY_START_POLICY  autostart (default — running this IS the start request) · connect (never start; exit 1 when
#               down) · ask (exit 3 when down: the operator decides) — set connect or ask for an unattended caller
# Then: python3 scripts/comfy_ready.py --wait 120
#   It takes no arguments: -h or --help prints this header and starts nothing.
set -u
if [ "$#" -gt 0 ]; then sed -n '2,10p' "$0"; case "$1" in -h|--help) exit 0 ;; *) exit 2 ;; esac; fi
ARGS="${COMFY_ARGS:---listen 0.0.0.0 --port 8188 --disable-auto-launch}"
LOG="${COMFY_LOG:-/tmp/comfyui.log}"
HOST="${COMFY_HOST:-http://127.0.0.1:8188}"
if curl -fsS -m 4 "${HOST%/}/system_stats" >/dev/null 2>&1; then
  echo "already up at $HOST — nothing started"; exit 0
fi
case "${COMFY_START_POLICY:-autostart}" in   # pattern: SlavaSexton/ComfyUI-Agent-Kit § Session protocol (the start-policy order)
  autostart) ;;
  connect) echo "no server at $HOST and COMFY_START_POLICY=connect — nothing started"; exit 1 ;;
  ask) echo "no server at $HOST — COMFY_START_POLICY=ask: ask the operator whether to start it headless (COMFY_START_POLICY=autostart) or open ComfyUI themselves"; exit 3 ;;
  *) echo "COMFY_START_POLICY=${COMFY_START_POLICY} is not autostart, connect or ask"; exit 2 ;;
esac
: "${COMFY_DIR:?set COMFY_DIR to the ComfyUI checkout}"
ACT=""; [ -n "${COMFY_VENV:-}" ] && ACT=". '${COMFY_VENV}/bin/activate' && "
# Python's start_new_session gives the server a session of its own (setsid exists only on Linux), so it outlives this shell
CMD="cd '${COMFY_DIR}' && ${ACT}python3 -c 'import subprocess as s, sys; s.Popen([sys.executable, \"main.py\"] + sys.argv[2:], stdin=s.DEVNULL, stdout=open(sys.argv[1], \"wb\"), stderr=s.STDOUT, start_new_session=True)' '${LOG}' ${ARGS} && echo started"
if [ -n "${COMFY_SSH:-}" ]; then
  ssh -o BatchMode=yes -o ConnectTimeout=10 "${COMFY_SSH}" "${CMD}" || { echo "ssh to ${COMFY_SSH} failed" >&2; exit 1; }
  echo "ComfyUI launched on ${COMFY_SSH} (log ${LOG} there); probe: python3 scripts/comfy_ready.py --wait 120"
else
  bash -c "${CMD}" || exit 1
  echo "ComfyUI launched (log ${LOG}); probe: python3 scripts/comfy_ready.py --wait 120"
fi
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall