FastVideo: Skill for Claude Code

.agents/skills/reseed-ssim-references/SKILL.md

reseed-ssim-references is a skill for Claude Code, Codex from hao-ai-lab/FastVideo. It costs 130 tokens per session (3,855 once invoked), scanned A, original, Apache-2.0.

A procedure for replacing the reference videos used by one SSIM test, a video-quality comparison test, on Modal L40S hardware.

In plain words
What is it for?
Updating expected video results after an intentional model, kernel, attention-backend, or test-parameter change, then uploading the replacement files to the specified Hugging Face dataset.
Why use it?
It protects the existing reference files with a local backup and requires a visual check before the old files are overwritten.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./generated_videos_modal/default.

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/reseed-ssim-references/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 reseed-ssim-references

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/reseed-ssim-references"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/reseed-ssim-references.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,855 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 327
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00130 $0.03855
Opus 5 $0.00065 $0.01928
Sonnet 5 $0.00026 $0.00771
Haiku 4.5 $0.00013 $0.00385

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

Security

Grade A, and why

reseed-ssim-references 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 12d 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/reseed-ssim-references/SKILL.md · 345 lines

How it starts

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

Re-seed SSIM Reference Videos

Purpose

Replace the existing SSIM reference videos for a single (test_file, model_id) pair on the HF dataset (FastVideo/ssim-reference-videos). This is destructive on HF — the old refs are overwritten — so the skill always:

  1. Confirms intent with a one-liner the user has to type.
  2. Downloads the existing refs as a local, timestamped backup.
  3. Regenerates through the manual legacy Modal L40S maintenance path.
  4. Pauses for a side-by-side eyeball of backup vs new mp4s.
  5. Uploads with --force, scoped to the single --model-id.
  6. Reminds the user to keep the backup until the PR lands.

Pairs with seed-ssim-references, which is the inverse (first-time seeding only, refuses to overwrite). Re-seeding is intentionally a separate, more ceremonial operation because mistakenly clobbering production refs is much harder to recover from than failing closed.

When to use

  • An intentional code change (model port fix, kernel upgrade, attention backend swap, hyperparameter change in the test itself) has shifted the expected SSIM output and the existing refs no longer represent the new ground truth.
  • A test is failing in CI for the right reason (the new code is correct, the old refs are stale).

When not to use

  • A test is failing for the wrong reason (the port is buggy, not the refs). Fix the port; re-seeding hides the bug.
  • A brand-new test that has no refs on HF yet. Use seed-ssim-references.
  • "Just to clean up drift" without a concrete code change to point at. The PR description has to justify why refs changed; without a concrete change, there's nothing to write.

Inputs

Parameter Required Description
test_file Yes Path to the SSIM test, e.g. fastvideo/tests/ssim/test_matrixgame_similarity.py. Validated against fastvideo/tests/ssim/test_*_similarity.py.
model_id Yes Single model id from the test's *_MODEL_TO_PARAMS, e.g. Matrix-Game-2.0-Diffusers-Base. Re-seed runs are per model. For multi-model tests, invoke the skill once per model.
intent_rationale Yes One-line explanation of why refs are being regenerated (e.g. "Relax FA-2 head_size whitelist to include 80 — matrix_game now uses FLASH_ATTN instead of TORCH_SDPA"). Recorded in the backup directory and reused in the PR description.

Read the full file on GitHub · 345 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. 12d ago First seen · 345 lines · 130 tokens per session scan A 7656707577fb

Subscribe to this mod's changes

reseed-ssim-references is a skill published in the GitHub repository hao-ai-lab/FastVideo (4,368 stars, last pushed 3d ago), licensed Apache-2.0. It adds 130 tokens to every session and 3,855 once invoked, about $0.0006 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

testing

Writing frontend tests for the nvcf-ui app — Vitest, Testing Library, MSW, and project-specific render helpers. Use when creating test files, writing component tests, setting up MSW handlers in tests, deciding which render helper to use, or when the user is adding or modifying a UI component and hasn't mentioned tests…

NVIDIA/nvcf · 89 tokens

setup-trtmc-environment

Prepare a TensorRT-Model-Connect development or validation environment from a fresh checkout on a host without a known working setup.

NVIDIA/TensorRT-Model-Connect · 32 tokens

fal

Use when calling a fal.ai endpoint by id to generate image, audio, or video from JS/Python/curl: subscribe vs submit, queue states, ED25519 webhook signature verification, per-call cost, or migrating off @fal-ai/serverless-client. NOT which model or art direction (that is ai-media); NOT the same models on another…

ericrisco/rsc-harness · 78 tokens