FastVideo: Skill for Claude Code

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

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

A preparation workflow for porting a FastVideo model, meaning adapting a model to the FastVideo codebase. It gathers the reference repository and model weights, installs the official dependencies, and prepares a shared test handoff before implementation.

In plain words
What is it for?
Use it at the start of a model port to collect repository and model details, stage source code and weights, install dependencies, and create a local test README.
Why use it?
It reduces setup mistakes and establishes the reference files and testing environment needed to compare the port with the original model.

Skill for Claude CodeCodex

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

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,363 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-01-prep/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-01-prep

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model-01-prep"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model-01-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,498 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.00056 $0.01498
Opus 5 $0.00028 $0.00749
Sonnet 5 $0.00011 $0.00300
Haiku 4.5 $0.00006 $0.00150

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

Security

Grade A, and why

add-model-01-prep 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 3 executable files (scripts/clone_reference_repo.py, scripts/download_hf_weights.py, scripts/inspect_hf_layout.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.

.agents/skills/add-model-01-prep/SKILL.md · 174 lines

How it starts

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

Add Model Prep

Goal

Prepare external assets and the shared parity-test environment for a FastVideo model port. Stop before writing conversion scripts, model components, pipeline code, registry entries, or executable parity tests.

Ask First

Ask once, then proceed if the HF token is already exported:

Before prep: (1) official reference repo or Diffusers pipeline URL, (2) HF repo
id or local weights path and whether it has a root model_index.json, (3) target
model_family, (4) workload types, (5) which token env var is exported:
HF_TOKEN, HUGGINGFACE_HUB_TOKEN, or HF_API_KEY, (6) may I stage clone and
weights under the FastVideo repo root, and (7) may I install official reference
dependencies into the current FastVideo conda/env for parity tests?

Useful optional inputs: pipeline_class, reference_dir, hf_revision, official_revision, reuse_hints, download_scope.

Rules

  • Follow ../add-model/shared/common_rules.md for token/auth safety, state files, escape hatches, and skip/pass semantics.
  • Run from the FastVideo repo root.
  • Use repo-relative defaults: <ReferenceDir>/, official_weights/<model_family>/, converted_weights/<model_family>/.
  • Install official reference deps into the current FastVideo environment, not a new venv/conda env, so parity tests run both implementations with one shared numeric stack.
  • If the reference is a Diffusers class/package instead of a cloneable repo, record import path and version instead of cloning.
  • Prep may create only the local-test README and PORT_STATUS.md skeletons; executable .py parity tests belong to ../add-model-02-parity/SKILL.md.

Escape Hatches

Follow ../add-model/shared/common_rules.md. Prep-specific ask cases include overwriting an existing clone or weight directory, installing untrusted/private deps, choosing between incompatible official references, large downloads outside the agreed scope, or missing gated-repo auth setup by env var name.

Workflow

Read the full file on GitHub · 174 lines

Files

What ships with it

5 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 First seen · 174 lines · 56 tokens per session scan A dbcb7d26a3be

Subscribe to this mod's changes

add-model-01-prep is a skill published in the GitHub repository hao-ai-lab/FastVideo (4,363 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 1,498 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.