Skip to content

gooseworks-ai/goose-skills / skills/video/render-hook-replacement

render-hook-replacement

Verified

Replace an existing video's opening with a supplied clip or free kinetic text hook while retaining and verifying every original body frame, audio, captions and ending. Use for surgical hook tests rather than regenerating the complete ad.

FileKindSize
SKILL.mdskill md8.7 KB
config.example.jsonconfig254 B
references/hook-replacement.mdmarkdown4.9 KB
scripts/make_demo.pyscript2.9 KB
scripts/replace_hook.pyscript28.4 KB
scripts/replace_pack.pyscript3.6 KB
skill.meta.jsonconfig274 B
tests/smoke-test.mdmarkdown571 B
tests/test_replace_hook.pyscript11.9 KB

tests/smoke-test.md

View on GitHub
# Free hook replacement check

Generate the neutral fixture locally, replace its 2.4-second opening with the
1.5-second supplied hook, and inspect the complete 6.1-second output.

```bash
python3 scripts/make_demo.py --out-dir demo
python3 scripts/replace_hook.py --config demo/config.json
python3 -m unittest discover -s tests -v
```

Expect all source/body/audio/caption booleans true, 138 retained original frames,
duration delta -0.9s and review status needs_review. Tests need no credentials or
network. Optional HOOK_TEST_FONT exercises the kinetic text treatment.
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