SkillsReviewed · gooseworks-ai

GooseWorks Render Hook Replacement

Render Hook Replacement is an agent skill for ad makers and developers who want to replace a video's opening, but it requires carefully prepared source files and a full viewing and listening review. Its Python and FFmpeg scripts assemble a supplied clip or animated text opening, re-encode the retained body and produce source hashes, preservation metrics and an edit manifest.

Researched 17 Nov 2026

In short.

Render Hook Replacement is a video editing skill for ad makers and developers who want alternative openings for existing videos, but strict input requirements and manual review limit automation. Version 1.0.2 includes local single-video and variant-pack renderers, caption shifting and checks that compare the retained body against the original. Preservation allows lossy video and audio encoding changes within specified thresholds. An AI model is unnecessary for local assembly; optional generated footage or narration comes from separate capabilities with unknown costs. The supplied tests describe expected behavior, but no execution results, finished-video reviews, processing benchmarks or advertising gains are established.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all nine captured files in skills/video/render-hook-replacement and the repository-root LICENSE at commit 885edb542d6e4e526d4a9ad2844a3771be248810: the skill entry point, configuration example, editing guide, three Python scripts, metadata and two test files. External companion skills, generation providers, host integrations, other repository content, user media and fonts, and later revisions are outside scope. No code, commands or media were executed; test outcomes, playback quality, performance, production reliability and advertising results remain unassessed.

The overview

Identity

The resource is the render-hook-replacement skill folder in gooseworks-ai/goose-skills. Its entry point declares version 1.0.2, and its metadata places it in the ads domain. It combines assistant instructions with local Python utilities; it does not contain a generative model.

The original folder at the captured revision is available at [https://github.com/gooseworks-ai/goose-skills/tree/885edb542d6e4e526d4a9ad2844a3771be248810/skills/video/render-hook-replacement]. Obtain the complete folder because SKILL.md references accompanying scripts, configuration, guidance and tests.

Assessment

The documented design suits narrowly scoped opening changes where the existing body, captions and ending must remain recognizable and traceable. Source hashes, frame comparisons and audio comparisons provide concrete acceptance criteria.

It requires an operator to choose the cut, supply suitable media and inspect the finished video. The implementation supports these mechanics in source form, but successful operation and output quality remain unassessed. Numeric preservation checks cannot establish that the new opening sounds natural, reads clearly or improves an advertisement.

Who it suits

Likely users include creative teams comparing ad openings and developers adding controlled video edits to an assistant. A beginner would need help installing the media tools, editing JSON configuration and interpreting failures.

Integration developers must provide downloading, access control, durable uploads and project storage themselves. Metadata also names watch and review-finished-ad as companion skills; their implementations are outside the supplied folder.

Capabilities

The single-video renderer replaces everything before a chosen time with a supplied clip or short animated text card, then joins the retained body with a hard cut. Supplied hooks are fitted to the original dimensions and frame rate. Outputs include an H.264 MP4, a JSON manifest and shifted separate captions when provided.

SRT and timed JSON captions are supported. Removed opening cues are discarded, retained cues shift with the duration change, and cues crossing the cut require measured words. Burned captions remain within the retained body frames. The pack wrapper produces labeled alternatives against one frozen source and preserves successful alternatives when another fails.

Using it

Requirements

The documented requirements are Python 3.10 or newer, ffmpeg and ffprobe, with libx264 and AAC encoders available. Supplied-clip processing uses Python's standard library. Animated text additionally requires Pillow and an explicitly supplied licensed font; text is limited to 180 characters and must fit the safe area.

The original must have constant frame timing, even dimensions, square pixels, no rotation and 8-bit yuv420p pixels. The code permits video start offsets up to 1 ms and audio start offsets up to 25 ms. Audio or container duration extending more than 2 ms beyond the video end blocks rendering. Minimum hardware, exact FFmpeg and Pillow versions, and an operating-system compatibility matrix are unspecified.

How it works

The renderer computes the source SHA-256 and checks an expected hash when supplied. It validates media, timings and captions, normalizes the replacement hook, and encodes the combined video using libx264 High profile at CRF 12. Retained audio is encoded as AAC at 256 kbit/s. Source and supplied-hook hashes are checked again after encoding.

Corresponding retained video frames must have matching counts and a minimum per-frame peak signal-to-noise ratio of 45 dB. Audio comparisons use matching sample positions, normalized RMS error at most 0.08 and correlation at least 0.99; silence uses an absolute RMS error limit of 0.0001. These are implemented acceptance thresholds, not observed results.

For a cut between video frames, the first retained frame is the first at or after the requested time. Audio uses the requested cut time, and the manifest records the video frame offset. This makes the join review particularly important.

Setup

Obtain the complete pinned folder and prepare a configuration based on config.example.json. Specify source.path, the expected source.sha256, hook_end_sec, either a supplied hook path or text settings, and a fresh output MP4 path. Paths resolve relative to the configuration file. The example uses a 4.2-second cut, but the appropriate boundary must come from the actual video.

The documented source preflight command is python3 scripts/replace_hook.py --preflight --config /path/to/config.json. It can validate the source and cut before a hook exists and writes no media. After choosing the replacement, the rendering command is python3 scripts/replace_hook.py --config /path/to/config.json. Existing output paths are rejected.

Example

The bundled demonstration constructs a synthetic seven-second portrait video and a 1.5-second replacement clip. Its configuration replaces the first 2.4 seconds. The documented expectations are a 6.1-second output, a duration change of minus 0.9 seconds and 138 retained original frames at 30 frames per second.

The fixture also supplies separate captions and synthetic word timings. A licensed font optionally adds burned labels and enables the text-hook test. These are demonstration inputs and expected assertions; no successful run or finished-video review is supplied, and they do not establish behavior on real narration or customer advertisements.

Assessment & evidence

Limitations

Unsupported originals require a separately prepared source version before editing. ASS and VTT captions require an adapter. The renderer provides no automatic transcription, silence detection, body redesign, transition across the join or advertising-performance assessment. Word-boundary protection depends on the accuracy and completeness of supplied timings.

The caption_timing_preserved manifest flag is assigned true after processing rather than derived from an independent comparison of rendered captions. It also appears when no separate captions are supplied. It therefore does not establish caption readability or semantic correctness.

Output artifacts are written separately: shifted captions precede the final MP4 move, and the manifest follows it. A filesystem failure can leave an incomplete artifact set. Temporary candidates and detailed comparison files are removed when their temporary directory closes, so failure diagnostics may require retaining stderr.

Design tradeoffs

The design prioritizes source identity and controlled changes. Keeping the body fixed can help teams compare alternative openings while preserving an existing ending and caption treatment. Changing the opening length also changes total runtime, which matters when interpreting any later advertising comparison.

Strict source validation and full retained-body comparisons add preparation and processing work. Re-encoding also permits small pixel and audio differences and may produce large files. The value is a documented edit with explicit checks; actual conversion gains, rendering speed and storage requirements remain unknown.

Alternatives

The documented choices within this resource are a supplied finished clip, approved existing footage prepared as a clip, or a local animated text card. The text route avoids obtaining new footage but requires short copy, Pillow and a licensed font.

The guide names create-vo-elevenlabs for optional narration and create-video-seedance-2-fal for optional generated video. Their implementations, current prices and output quality are outside the supplied evidence. A general timeline editor is another approach when broader editing is required, but no comparative quality, usability or speed evidence is supplied.

Evidence and confidence

The supplied material includes implementation source, configuration, instructions and test definitions. The tests address shorter and longer hooks, non-frame-aligned cuts, absent audio, source mismatches, audio tails, crossing captions, changed video, shifted audio and partial pack failures.

Some unsupported-format checks use mocked probe or frame-timing results. The text-route test is conditional on HOOK_TEST_FONT. No execution logs, completed media, listening assessments, processing benchmarks or production outcomes accompany these definitions. Nothing was executed, so runtime success and media quality remain unassessed.

Access & freshness

Costs

The local renderer and demonstration contain no paid media-generation calls. Their manifests record media_generation_cost_usd as zero. This field covers generation within these scripts; it does not measure computer time, electricity, storage or hosting costs.

Optional new narration or generated footage requires separate capabilities. The guide names voice and video generation routes but supplies no prices. Provider charges, retry costs, processing time and total operating cost are unknown.

Rights

The captured repository-root MIT License carries a 2026 GooseWorks copyright notice. It permits use, copying, modification, distribution, sublicensing and sale, subject to retaining the copyright and permission notice in copies or substantial portions. The software is provided without warranty.

That notice does not establish rights to supplied footage, music, voices or fonts. The text route explicitly requires a licensed font, although the implementation checks file availability rather than licensing. Rights for optional generated assets depend on external services and are not established by this folder.

Version and freshness

The captured files belong to commit 885edb542d6e4e526d4a9ad2844a3771be248810, captured on 2026-11-17 at 05:18:11.037 UTC. SKILL.md and skill.meta.json declare skill version 1.0.2. The renderer's manifest schema uses version 1, a separate version identifier.

A release date for version 1.0.2 and changes after the captured commit are unknown. The moving main-branch URL may contain different files.

Suggested next steps

Begin with the bundled neutral demonstration and compare any resulting manifest with the documented expectations. For an actual video, retain the selected source version, provide its expected hash, choose a boundary from the original and supply measured words where speech or captions cross the cut.

Inspect preservation metrics, then watch the entire output and listen to the join, body and ending. Check caption text and brand facts separately. The renderer initializes review.status as needs_review; any passing review must identify that exact source and output hash. For a partially failed pack, retain successful alternatives and retry failed targets individually using fresh output paths.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/video/render-hook-replacement/SKILL.mdselected · checked 2026-11-17