FastVideo: Skill for Claude Code

.agents/skills/decompose-pipeline-pr/SKILL.md

decompose-pipeline-pr is a skill for Claude Code, Codex from hao-ai-lab/FastVideo. It costs 79 tokens per session (3,492 once invoked), scanned A, original, Apache-2.0.

A workflow for splitting an oversized FastVideo pipeline pull request, a proposed set of code changes, into smaller reviewable pull requests.

In plain words
What is it for?
Use it to group changes by blast radius, create a dependency and branch plan, prepare worktrees, draft an AGENTS.md manifest, and flag missing tests.
Why use it?
Large changes are difficult to review carefully; dividing them by scope and risk makes dependencies and missing tests easier to see.

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,376 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/decompose-pipeline-pr/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 decompose-pipeline-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hao-ai-lab/fastvideo/decompose-pipeline-pr"><img src="https://agentmods.dev/badge/skills/hao-ai-lab/fastvideo/decompose-pipeline-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,492 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 335
    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.00079 $0.03492
Opus 5 $0.00039 $0.01746
Sonnet 5 $0.00016 $0.00698
Haiku 4.5 $0.00008 $0.00349

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

Security

Grade A, and why

decompose-pipeline-pr 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/decompose-pipeline-pr/SKILL.md · 339 lines

How it starts

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

Decompose Pipeline PR

Purpose

When a PR adds a new pipeline (or first-class component port) and crosses ~3,000 LOC, single-shot review converges to rubber-stamping. This skill decomposes such a PR into a stack of independently-reviewable PRs without disturbing main.

It is the inverse of add-model: where add-model walks adding a new pipeline as a fresh PR, this skill walks decomposing an existing oversized pipeline PR.

Worked example: PR #1280 (daVinci-MagiHuman, 9,812 LOC, 56 files) → 2 prerequisite PRs off main + 8-PR stack:

  • #1293 will/activation-trace (prerequisite)
  • #1294 will/loader-infra (prerequisite)
  • #1295 (1/8) housekeeping
  • #1296 (2/8) t5gemma encoder
  • #1297 (3/8) DiT
  • #1298 (4/8) pipeline stages
  • #1299 (5/8) pipeline orchestrator
  • #1300 (6/8) provenance (AGENTS.md, JOURNAL.md, lessons)
  • #1301 (7/8) conversion scripts
  • #1302 (8/8) registry activation

Prerequisites

  • Open PR number on hao-ai-lab/FastVideo (or any FastVideo fork)
  • gh CLI authenticated against the target remote
  • Local git worktree support (git worktree)
  • Git config user.name / user.email set
  • Pre-commit installed (pre-commit install --hook-type pre-commit --hook-type commit-msg)
  • The target PR's branch fetched locally as origin/<feature-branch>

Inputs

Parameter Required Description
PR number or URL Yes E.g. 1280 or https://github.com/hao-ai-lab/FastVideo/pull/1280
Max desired PR size No Defaults to ~2,500 LOC of code per stack PR (excluding generated/journal files)
Output directory No Defaults to .agents/tmp/decompose-<pr-number>/ (gitignored)

Steps

1. Verify ground truth (do not trust gh pr diff --name-only)

gh pr diff <N> --name-only has been observed to emit phantom file entries. Always cross-check against the authoritative git diff:

mkdir -p .agents/tmp/decompose-<N>
git fetch origin pull/<N>/head:<feature-branch>
git diff origin/main..origin/<feature-branch> --name-status \
  > .agents/tmp/decompose-<N>/files.txt
git diff origin/main..origin/<feature-branch> --stat

Read the full file on GitHub · 339 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 · 339 lines · 79 tokens per session scan A d11e32baa966

Subscribe to this mod's changes

decompose-pipeline-pr is a skill published in the GitHub repository hao-ai-lab/FastVideo (4,376 stars, last pushed 3d ago), licensed Apache-2.0. It adds 79 tokens to every session and 3,492 once invoked, about $0.0004 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

review-trtmc-pr

Review a TensorRT-Model-Connect GitHub PR or local contributor branch against the current post-#1093 model-family isolation architecture, repository rules, behavioral correctness, and exact-head validation evidence. Use for contributor self-review before marking a PR ready, or when deciding whether a community PR is…

NVIDIA/TensorRT-Model-Connect · 98 tokens

submit-github-pr

Use when publishing an existing TensorRT-Model-Connect change as a GitHub pull request. Verifies authenticated repository access, branch and diff scope, validation evidence, commit identity, reviewer-facing text, exact pushed head, and the created draft PR without merging it.

NVIDIA/TensorRT-Model-Connect · 58 tokens

write-git-messages

Draft, revise, or review Git commit messages, PR titles, PR descriptions, and squash or rebase merge messages. Use when Codex needs to summarize a diff for reviewers, convert rough notes into a commit or PR message, check a message against Git and Conventional Commits style, or prepare repository contribution text…

NVIDIA/TensorRT-Model-Connect · 75 tokens

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

gh-address-comments

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

tercumantanumut/selene · 39 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens