FastVideo: Skill for Claude Code

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

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

A test-first workflow for checking whether locally implemented FastVideo components match their official reference implementations. FastVideo is a video-generation codebase, and parity means producing matching results for the same inputs.

In plain words
What is it for?
Use it after identifying the reference components, inputs, outputs, and weights to create one local parity test per required component, then run those tests with real weights until they pass.
Why use it?
It catches differences in component behavior early and prevents unfinished or skipped checks from being treated as a completed model port.

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).

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 →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is `../add-model/contracts/component_context.md`..

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-02-parity/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-02-parity

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/add-model-02-parity"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/add-model-02-parity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,398 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.00053 $0.02398
Opus 5 $0.00026 $0.01199
Sonnet 5 $0.00011 $0.00480
Haiku 4.5 $0.00005 $0.00240

Measured 11d ago against content hash bbfa34543fe2, 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-02-parity 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.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/component_parity_test.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-02-parity/SKILL.md · 235 lines

How it starts

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

Add Model Parity

Goal

Create parity tests as early as possible in a FastVideo port. The first pass can land before conversion or component implementation as an executable scaffold; handoff is blocked until the same tests become non-skip PASS with real weights.

When To Run

Follow ../add-model/shared/common_rules.md for token/auth safety, state files, escape hatches, and skip/pass semantics.

Run immediately after /add-model Phase 1 has identified:

  • official component classes and call signatures;
  • FastVideo target component buckets/classes/configs;
  • local reference clone or import path from add-model-01-prep;
  • local raw or Diffusers weight path;
  • official_env_status=imports_ok, or private deps that will be stubbed locally in tests;
  • local_tests_readme documenting setup and planned review/test commands;
  • expected component inputs and output tensors.

Do not wait for all FastVideo components to be implemented. Write the tests first, then let component-porting subagents make them pass.

Outputs

  • One component parity test per required component, including reused components: tests/local_tests/<bucket>/test_<family>_<component>_parity.py.
  • Optional helper for upstream private deps: tests/local_tests/helpers/<family>_upstream.py.
  • Pipeline parity is owned later by ../add-model-09-pipeline/SKILL.md after all component parity tests pass non-skip.
  • A parity status block for the /add-model parity verification phase.

Early Scaffold Rules

  • A scaffold may skip while the FastVideo class, converted weights, or official import is missing.
  • A scaffold must already encode the real official load path, FastVideo load path, deterministic inputs, expected output extraction, and tolerance target.
  • Each parity test must declare its coverage scope in the file docstring or a module constant: production_loader, implementation_subcomponent, or both. Implementation/subcomponent parity may bypass production loaders deliberately, but final handoff still needs production-loader coverage somewhere before the pipeline depends on that component.
  • Official reference imports must run in the current FastVideo environment; do not create or assume a separate upstream venv/conda env.
  • A scaffold is not evidence of correctness. It becomes evidence only after a local non-skip PASS.
  • Prefer env-var path overrides with repo-relative defaults.
  • Keep tests local-only under tests/local_tests/; package/CI quality tests are added later.
  • Update shared state files as described in ../add-model/shared/common_rules.md whenever adding or activating parity tests.

Read the full file on GitHub · 235 lines

Files

What ships with it

1 file 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. 11d ago First seen · 235 lines · 53 tokens per session scan A bbfa34543fe2

Subscribe to this mod's changes

add-model-02-parity 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 53 tokens to every session and 2,398 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.

Related

Other skills, from other repositories

diffusers-ascend-pipeline

A guide for running image and video generation pipelines on Huawei Ascend NPUs with the Diffusers library. Diffusers is a software library for using generative models, and the guide covers model pipelines, memory settings, LoRA adapters, and multi-card inference.

ascend-ai-coding/awesome-ascend-skills · 134 tokens

submit-github-bug-issue

Use when converting QA findings, black-box failures, red-team reports, regression evidence, or local bug notes into GitHub Issues for NVIDIA/TensorRT-Model-Connect. Standardizes checking issue templates, checking labels, de-duplicating existing issues, drafting a bug report, creating the issue on GitHub, applying the…

NVIDIA/TensorRT-Model-Connect · 82 tokens

transform-model

Add a Hugging Face or local checkpoint to TensorRT-Model-Connect as a self-contained family, or extend the family that already owns it.

NVIDIA/TensorRT-Model-Connect · 33 tokens

tune-eval

Evaluate a fine-tuned, distilled, or continued-pretrained model with held-out test discipline — the honest scoreboard at the end of the tunelab pipeline. Pre-registers the acceptance bar and metric set BEFORE results exist, runs the untouched test split through base and tuned models, scores classification (accuracy…

rchaz/tunelab · 207 tokens

cli-eval

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

diegosouzapw/OmniRoute · 34 tokens

model-merging

Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. Use when creating specialized models by blending domain-specific expertise (math + coding + chat), improving performance beyond single models, or experimenting rapidly with model variants. Covers SLERP, TIES-Merging, DARE, Task…

davila7/claude-code-templates · 73 tokens