render-hook-replacement

render-hook-replacement is a skill for Claude Code, Codex from gooseworks-ai/goose-skills. It costs 47 tokens per session (1,994 once invoked), scanned A, original, MIT.

A video-editing workflow that replaces only the opening of an existing video with a supplied clip or animated text, while retaining the original body, audio, captions, and ending. It produces an MP4 and an edit record describing the changes and preservation checks.

In plain words
What is it for?
Use it for surgical opening or hook tests, local assembly with Python and ffmpeg, and verification that the original body and sound remain intact.
Why use it?
It supports testing a new opening without regenerating or altering the rest of the video. The finished result remains for human review rather than being treated as automatically approved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for surgical opening or hook tests, local assembly with Python and ffmpeg, and verification that the original body and sound remain intact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gooseworks-ai/goose-skills/render-hook-replacement
About the project

Goose Skills is a library of workflows and data APIs that lets coding agents handle growth and go-to-market work such as advertising, social media, content, SEO, lead generation, and customer research. It is intended for teams using Claude Code, Cursor, Codex, and similar agents. The catalogue entries are its reusable skills.

gooseworks-ai/goose-skills · 1,254 stars · on GitHub · gooseworks.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gooseworks-ai/goose-skills --skill render-hook-replacement
Clone the repo
git clone --depth 1 https://github.com/gooseworks-ai/goose-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for render-hook-replacement

README.md
[![agentmods](https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/render-hook-replacement/github.svg)](https://agentmods.dev/skills/gooseworks-ai/goose-skills/render-hook-replacement)
Your own site
<a href="https://agentmods.dev/skills/gooseworks-ai/goose-skills/render-hook-replacement"><img src="https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/render-hook-replacement/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for render-hook-replacement

Your own site · 80×15
<a href="https://agentmods.dev/skills/gooseworks-ai/goose-skills/render-hook-replacement"><img src="https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/render-hook-replacement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01994
Opus 5.5 $0.00019 $0.00798
Sonnet 5.5 $0.00009 $0.00399
Haiku 4.5 $0.00005 $0.00199

Measured 9d ago against content hash de9fcfbf47a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

render-hook-replacement scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/make_demo.py, scripts/replace_hook.py, scripts/replace_pack.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ads/capabilities/render-hook-replacement/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Human version

Replace only the opening of a selected video. The rest comes from the original, including its ending and burned captions. A supplied hook uses free local assembly; short text can become a free animated card. Generated footage or voice is optional and requires a separate estimate and approval.

The output is a complete MP4 and an edit manifest identifying the exact original, cut, duration change and preservation checks. It stays needs review until the finished video has been watched and its sound checked.


Agent version

Purpose

Perform one hard-cut opening replacement with immutable source identity and decoded retained-body verification. There is no fixed three-second boundary, mandatory creator, new music, body regeneration, whole-video caption pass or automatic final selection. Read the editing guide.

Inputs

  • Python 3.10+, working ffmpeg/ffprobe with libx264 and AAC. Test the binaries themselves before any paid step. Supplied-clip execution uses only Python stdlib.
  • Config JSON following config.example.json. Paths resolve relative to that config, so a fetched package works outside the author's checkout.
  • source.path: exact selected original, never a template sample. Optional source.sha256 refuses changed bytes; project_id/render_id are opaque caller identifiers preserved in the manifest. Compute and freeze the hash at intake.
  • hook_end_sec: positive opening boundary leaving a body. If speech crosses it, choose a measured word/silence boundary. No silent correction of that boundary.
  • hook.path: supplied video, any dimensions/frame rate, normalized to the original. Or hook.text, duration_sec, font_path and optional #RRGGBB colors. Text needs Pillow (part of the video toolchain) and an explicitly supplied licensed font.
  • Optional words:[{start,end,word}] measured on this source, or word_times JSON containing source_sha256 and words. A cut through a measured word fails.
  • Optional captions:{path,output_path}: original separate SRT or timed JSON cues. Complete retained cues shift by the measured duration delta. A cue crossing the cut requires measured words, so removed opening copy does not linger over the body.
  • output:{path,manifest_path?}: a new .mp4 path. Existing outputs and every input are protected from overwrite. The default manifest is <output>.manifest.json.

Read the full file on GitHub · 158 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed de9fcfbf47a1
  2. 11d ago First seen · 158 lines · 47 tokens per session scan A b0a08fd42297

Subscribe to this mod's changes

render-hook-replacement is a skill published in the GitHub repository gooseworks-ai/goose-skills (1,254 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,994 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.

Related

Other skills, from other repositories

neoyngpt-video-to-code

Use when the user pastes a YouTube URL, attaches a screen recording or .mp4/.webm/.mov, or asks about on-screen UI, motion, layout, color, mascots, widgets, or visual bugs captions cannot answer. Also use when they type /neoyngpt-video-to-code. Do not use for transcript-only summaries.

saurav-shakya/NeoynGPT-video-to-code · 80 tokens

excalidraw-ai

Create professional Excalidraw diagrams by generating JSON directly. This skill provides the Excalidraw JSON schema reference and professional icon libraries for AI agents to autonomously create diagrams without templates.

jiatastic/open-python-skills · 44 tokens

error-handling

Python error handling patterns for FastAPI, Pydantic, and asyncio. Follows "Let it crash" philosophy - raise exceptions, catch at boundaries. Covers HTTPException, global exception handlers, validation errors, background task failures. Use when: (1) Designing API error responses, (2) Handling RequestValidationError…

jiatastic/open-python-skills · 95 tokens

logfire

Structured observability with Pydantic Logfire and OpenTelemetry. Use when: (1) Adding traces/logs to Python APIs, (2) Instrumenting FastAPI, HTTPX, SQLAlchemy, or LLMs, (3) Setting up service metadata, (4) Configuring sampling or scrubbing sensitive data, (5) Testing observability code.

jiatastic/open-python-skills · 77 tokens

linting

Python linting with Ruff - an extremely fast linter written in Rust. Use when: (1) Standardizing code quality, (2) Fixing style warnings, (3) Enforcing rules in CI, (4) Replacing flake8/isort/pyupgrade/autoflake, (5) Configuring lint rules and suppressions.

jiatastic/open-python-skills · 74 tokens

commit-message

Analyze git changes and generate conventional commit messages. Supports batch commits for multiple unrelated changes. Use when: (1) Creating git commits, (2) Reviewing staged changes, (3) Splitting large changesets into logical commits.

jiatastic/open-python-skills · 49 tokens