FastVideo: Skill for Claude Code

.agents/skills/add-model-06-port-generic/SKILL.md

add-model-06-port-generic is a skill for Claude Code, Codex from hao-ai-lab/FastVideo. It costs 42 tokens per session (989 once invoked), scanned A, original, Apache-2.0.

A workflow for prototyping or checking a FastVideo component that is not a DiT model, VAE, or encoder. It covers parts such as schedulers, upsamplers, vocoders, adapters, and preprocessors.

In plain words
What is it for?
Porting or parity-testing supporting components, including their state, inputs, scaling behavior, and output format.
Why use it?
It gives less common model components a defined way to be compared with the source implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is hao-ai-lab/FastVideo's own configuration. It tells Claude Code and Codex how to work on FastVideo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything FastVideo configures →

About the project

FastVideo is a framework for training and running accelerated video-generation models, including real-time inference and post-training workflows. It is for researchers and developers building or deploying diffusion-based systems that generate video.

hao-ai-lab/FastVideo · 4,368 stars · on GitHub · hao-ai-lab.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to hao-ai-lab/FastVideo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hao-ai-lab/FastVideo/main/.agents/skills/add-model-06-port-generic/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hao-ai-lab/FastVideo

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 add-model-06-port-generic

README.md
[![agentmods](https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model-06-port-generic/github.svg)](https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model-06-port-generic)
Your own site
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model-06-port-generic"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model-06-port-generic/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 add-model-06-port-generic

Your own site · 80×15
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model-06-port-generic"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model-06-port-generic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 989 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.00989
Opus 5 $0.00021 $0.00495
Sonnet 5 $0.00008 $0.00198
Haiku 4.5 $0.00004 $0.00099

Measured 11d ago against content hash 7058f28a1178, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-model-06-port-generic 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 11d ago.

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.

.agents/skills/add-model-06-port-generic/SKILL.md · 112 lines

How it starts

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

Add Model Port Generic

Goal

Prototype or parity-debug one scheduler, conditioner, upsampler, vocoder, adapter, preprocessor, or unknown component in FastVideo-native code.

Inputs

Follow ../add-model/shared/component_skill_common.md and require the complete packet from ../add-model/contracts/component_context.md.

Generic-component packet fields:

  • component: component name.
  • component_type: scheduler, conditioner, upsampler, vocoder, adapter, preprocessor, or unknown.
  • parity_test: tests/local_tests/<bucket>/test_<family>_<component>_parity.py.
  • weights: converted component dir, HF subfolder, or none.
  • target_files: matching fastvideo/models/ and fastvideo/configs/models/ bucket files when applicable.

Modes

Use the common prototype and parity-debug modes from ../add-model/shared/component_skill_common.md.

Generic-component prototype concerns include stateless/stateful ambiguity, missing loader buckets, source prefixes, mutable scheduler state, and output container shape.

Reuse Proof

Apply the shared reuse proof. Generic-component comparison must include mutable state, scaling constants, scheduler/conditioner semantics, output containers, and whether the component owns state or is stateless.

Existing FastVideo Patterns

  • Schedulers live under fastvideo/models/schedulers/ and expose EntryClass.
  • Upsamplers use fastvideo/models/upsamplers/ plus configs under fastvideo/configs/models/upsamplers/; see hunyuan15.py.
  • Vocoders and audio-specific modules can live under fastvideo/models/audio/ with configs under fastvideo/configs/models/audio/; see ltx2_audio_vae.py.
  • Compound conditioners may fit the encoder bucket when the pipeline loader uses ConditionerLoader; see stable_audio_conditioner.py.
  • Registry discovery uses EntryClass; config bucket exports are required when pipeline configs import them by bucket.
  • Use the narrowest matching config bucket. Wrong bucket inheritance can typecheck but fail during pipeline wiring.
  • Layer guidance: fastvideo/layers/AGENTS.md.

Read the full file on GitHub · 112 lines

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. 11d ago First seen · 112 lines · 42 tokens per session scan A 7058f28a1178

Subscribe to this mod's changes

add-model-06-port-generic is a skill published in the GitHub repository hao-ai-lab/FastVideo (4,368 stars, last pushed 2d ago), licensed Apache-2.0. It adds 42 tokens to every session and 989 once invoked, about $0.0002 per session on Opus 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-08-30.