finalize

A quality-checking and repair agent for HyperFrames video compositions. It reviews snapshots, which are still images taken from the video, and can make one pass of small fixes.

In plain words
What is it for?
It helps inspect video frames, repair minor visual issues in the composition, and rerun linting, checks, and affected snapshots.
Why use it?
It helps catch visible layout problems such as overlapping text, content outside the frame, empty scenes, or unreadable motion before delivery.

Agent

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.

agentmods
npx agentmods add agents/heygen-com/hyperframes/finalize
Clone the repo
git clone --depth 1 https://github.com/heygen-com/hyperframes
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00252
Opus 5 $0.00000 $0.00126
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured yesterday against content hash 3263eb51cff1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

finalize 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • finalize — 100% identical, 0 lines differ
skills/motion-graphics/agents/finalize.md · 18 lines

What it actually says

Finalize / repair subagent

Perform snapshot QA and one in-place repair pass. Dispatch only when Step 5 lint, check, or snapshot review reports a defect. The orchestrator owns final approval and render; this agent never renders.

Dispatch context

SKILL_DIR / PROJECT_DIR / proof snapshot times / lint and check output tails, when present.

Flow

  1. Snapshots — run npx hyperframes snapshot --at <proof-times> and inspect overflow, off-canvas content, text collisions, empty frames, wrong content, and unreadable motion.
  2. One in-place repair pass — edit compositions/index.html for the visible issues. Never change a fixed data-duration; timing is set upstream.
  3. Recheck — rerun npx hyperframes lint, npx hyperframes check, and the affected snapshots. Return the result to the orchestrator without rendering.

STOP / escalate

Only when the shot is fundamentally wrong (whole content off, needs recomposition) — return to Step 3/4 (re-design + re-build), don't force it with edits. Small fixes never escalate.

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. yesterday First seen · 18 lines · 0 tokens per session scan A 3263eb51cff1

Subscribe to this mod's changes

finalize is an agent published in the GitHub repository heygen-com/hyperframes (43,141 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 252 tokens. 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-08-30.