FastVideo: Skill for Claude Code

.agents/skills/add-model/SKILL.md

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

A manual workflow for adding a new FastVideo model family, model variant, or reusable component to the project's native loading and pipeline system.

In plain words
What is it for?
Use it to convert reference code and weights, add native model components, configure pipelines and presets, register models, and run smoke, parity, and regression tests.
Why use it?
It breaks a model port into defined phases and checks compatibility with existing configuration, components, registries, tests, and examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; 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,343 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/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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model.svg)](https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model)
Your own site
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,874 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.00055 $0.04874
Opus 5 $0.00028 $0.02437
Sonnet 5 $0.00011 $0.00975
Haiku 4.5 $0.00006 $0.00487

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

Security

Grade A, and why

add-model 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 8d 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/SKILL.md · 439 lines

How it starts

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

Add Model

Manual Invocation

This skill is for explicit /add-model use only. Do not auto-start it from a casual model-port mention. The setup-only workflow is ../add-model-01-prep/SKILL.md.

Goal

Port a new FastVideo model family, model variant, or first-class reusable component so it can be loaded through FastVideo's native model, config, stage, registry, preset, and test infrastructure.

FastVideo has one pipeline architecture: stage-based composition via ComposedPipelineBase. Vary the stages and modules, not the architecture.

Scope Shapes

Use this skill for either shape:

Shape Required output
Full model family or variant Native components, conversion if needed, pipeline config/class, presets, registry, smoke test, local parity tests, example, quality regression.
First-class component contribution Native component class/config, bucket export, component parity test, and a documented downstream pipeline that will consume it. Skip pipeline/preset/registry rows only when the contribution is intentionally component-only.

If upstream ships many variants, lock scope before coding. "Base model" means checkpoint variant, not a modality subset. If the base checkpoint produces audio, pose, depth, masks, or other output heads, either support those outputs or get explicit user agreement to drop them.

Required Input

Start from an add-model-01-prep handoff, or equivalent fields matching contracts/prep_handoff.md.

Before Phase 0, read the shared rules and all relevant schemas:

  • shared/common_rules.md
  • contracts/prep_handoff.md
  • contracts/port_state.md
  • contracts/escape_hatch.md
  • contracts/component_context.md
  • contracts/parity_status.md
  • contracts/conversion_request.md
  • contracts/conversion_handoff.md
  • contracts/component_skill_handoff.md
  • contracts/pipeline_context.md
  • contracts/pipeline_handoff.md
  • contracts/final_handoff.md

Hard Rules

  • Follow shared/common_rules.md for token/auth safety, state files, escape hatches, production import boundaries, and skip/pass semantics.
  • If the prep handoff is missing or ambiguous, stop and run ../add-model-01-prep/SKILL.md.
  • If a needed component is not ported, do not ship the pipeline that needs it.
  • Wan is grandfathered for missing local parity; do not copy its missing-test precedent for new work.

Read the full file on GitHub · 439 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. 8d ago First seen · 439 lines · 55 tokens per session scan A eb62410ff894

Subscribe to this mod's changes

add-model is a skill published in the GitHub repository hao-ai-lab/FastVideo (4,343 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 4,874 once invoked, about $0.0003 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.