Agent Prompt Quality Bar
mastra-ai/mastra
Universal quality bar and final audit rubric for any agent system prompt.
Configure and launch SparkDiffusion few-step distillation for Wan 2.1 or Wan 2.2.
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .claude/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .claude/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .agents/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .agents/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .cursor/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .cursor/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AlibabaResearch/SparkDiffusion.git --path .agents/skills/sparkdiffusion-distill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .gemini/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .gemini/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .github/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .github/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AlibabaResearch/SparkDiffusion sparkdiffusion-distill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AlibabaResearch/SparkDiffusion.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/sparkdiffusion-distill .opencode/skills/sparkdiffusion-distill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sparkdiffusion-distill" agent skill from https://github.com/AlibabaResearch/SparkDiffusion/tree/main/.agents/skills/sparkdiffusion-distill into .opencode/skills/sparkdiffusion-distill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sparkdiffusion-distill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sparkdiffusion-distillConfigure and launch SparkDiffusion few-step distillation for Wan 2.1 or Wan 2.2.
Sparkdiffusion Distill is an agent skill from AlibabaResearch/SparkDiffusion. Configure and launch SparkDiffusion few-step distillation for Wan 2.1 or Wan 2.2. Use when a user asks to distill a sparse student against a dense teacher, choose T2V/I2V or high/low experts, resume a distillation run, or validate its inputs.
Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in AI & LLM Engineering. The repository describes itself as: SparkDiffusion: Accelerating DiT video generation by 265× via joint Sparsity, Distillation, Quantization, etc. The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6149ac5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sparkdiffusion Distill loads about 876 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 262 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AlibabaResearch/SparkDiffusion at commit 6149ac5, republished under its Apache-2.0 licence (© AlibabaResearch). 262 words, ~876 tokens.
.claude/skills/sparkdiffusion-distill/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill after the teacher, student, and distillation dataset are available. Do not use it for sparse finetuning.
Source the repository environment:
source scripts/env.shExport the required external SLA checkout before starting Python or torchrun:
export SLA_SRC=/absolute/path/to/SLA
test -d "${SLA_SRC}/sparse_linear_attention"The teacher may be dense, but the trainable RoLa student requires the SLA backward kernel. Do not use a machine-specific default.
Select a launcher under scripts/distill/ instead of reconstructing the torchrun command by hand.
Check all model, tokenizer, negative-embedding, and dataset paths before launching.
Keep W&B offline unless online logging is explicitly requested:
WANDB_MODE=offlineStart with a short smoke run by overriding MAX_ITER, SAVE_ITER, and NPROC_PER_NODE where supported.
SLA_SRC=/absolute/path/to/SLA \
WAN_REPO=pretrain_weights/Wan2.1-T2V-14B \
TEACHER_CKPT=pretrain_weights/Wan2.1-T2V-14B \
STUDENT_CKPT=outputs/rola/<finetune_job>/checkpoints/<student_model> \
DATASET_ROOT=datasets/distill/<dataset_name> \
NPROC_PER_NODE=8 \
bash scripts/distill/wan2.1_14b_t2v_480p.shUse wan2.1_1.3b_t2v_480p.sh for the 1.3B T2V variant.
Use the appropriate 480p or 720p launcher and provide the image encoder:
SLA_SRC=/absolute/path/to/SLA \
WAN_REPO=pretrain_weights/Wan2.1-I2V-14B-480P \
CLIP_ENCODER=pretrain_weights/Wan2.1-I2V-14B-480P/models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth \
TEACHER_CKPT=pretrain_weights/Wan2.1-I2V-14B-480P \
STUDENT_CKPT=outputs/rola/<finetune_job>/checkpoints/<student_model> \
DATASET_ROOT=datasets/distill/<dataset_name> \
bash scripts/distill/wan2.1_14b_i2v_480p.shI2V must use an I2V-compatible checkpoint and dataset. Do not pass a T2V student to an I2V configuration.
Provide native high and low teachers plus the corresponding sparse-finetuning outputs:
export SLA_SRC=/absolute/path/to/SLA
WAN_REPO=pretrain_weights/Wan2.2-T2V-A14B
WAN_REPO=${WAN_REPO} \
TEACHER_CKPT=${WAN_REPO}/high_noise_model \
TEACHER_CKPT_LOW=${WAN_REPO}/low_noise_model \
STUDENT_CKPT=outputs/rola/<high_job>/checkpoints/<student_model> \
STUDENT_CKPT_LOW=outputs/rola/<low_job>/checkpoints/<student_model> \
DATASET_ROOT=datasets/distill/<dataset_name> \
bash scripts/distill/wan2.2_a14b_t2v_480p_joint.shThe student checkpoints are Stage-1 outputs and are not stored inside WAN_REPO. The 720p launcher follows the same contract. Do not omit the low expert when the experiment is configured as joint.
© AlibabaResearch, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/sparkdiffusion-distill of AlibabaResearch/SparkDiffusion.
Open the folder on GitHubat commit 6149ac5
Sparkdiffusion Distill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sparkdiffusion Distill this skillAlibabaResearch/SparkDiffusion | 541 | — | ~876 | Automated safety check: Pass | Apache-2.0 | |
| Agent Prompt Quality Barmastra-ai/mastra | 29k | — | ~2k | Automated safety check: Pass | Custom licence | |
| Course Guidefancyboi999/ai-engineering-from-scratch-zh | 1.2k | — | ~948 | Automated safety check: Pass | MIT | |
| Advanced Evaluationguanyang/open-agent-hub | 977 | 2 repos | ~4.2k | Automated safety check: Pass | MIT | |
| Agentic Self Distillationburtenshaw/training-agents | 153 | — | ~354 | Automated safety check: Pass | Apache-2.0 | |
| nanoGPT Training GuideOrchestra-Research/AI-Research-SKILLs | 13k | 2 repos | ~1.7k | Automated safety check: Pass | MIT |
mastra-ai/mastra
Universal quality bar and final audit rubric for any agent system prompt.
fancyboi999/ai-engineering-from-scratch-zh
AI Engineering from Scratch 课程的主题路由器。给它一个主题、问题或正在处理的 bug, 它会指出精确教授它的课程,以及下一条正确命令。触发短语: “在哪里学习”、“哪节课涵盖”、“课程导航”、“我卡在”、“接下来该做什么”、 “教我 MCP”、“教我 Agent Skills”、“在哪里准备 Claude certification”,或 "where do I…
guanyang/open-agent-hub
This skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias mitigation, confidence scoring, and automated…
burtenshaw/training-agents
A skill your agent uses when designing or reviewing self-distillation workflows for agentic models, including trace collection, teacher or judge feedback, rejection sampling, critique, conversion to…
Orchestra-Research/AI-Research-SKILLs
Walks through nanoGPT, Karpathy's compact GPT implementation: training on Shakespeare, reproducing GPT-2, fine-tuning GPT-2 checkpoints and training on your own text.
fancyboi999/ai-engineering-from-scratch-zh
AI Engineering from Scratch 中 Agent Skills Engineering 路线的专注交互 tutor。
AlibabaResearch/SparkDiffusion
Configure and launch SparkDiffusion sparse finetuning for Wan 2.1 or Wan 2.2.
AlibabaResearch/SparkDiffusion
Run validated SparkDiffusion inference for Wan 2.1 or Wan 2.2 T2V/I2V models.
AlibabaResearch/SparkDiffusion
Prepare a SparkDiffusion checkout for training or inference.
Categories
Configure and launch SparkDiffusion few-step distillation for Wan 2.1 or Wan 2.2. Sparkdiffusion Distill is an agent skill from AlibabaResearch/SparkDiffusion.2.
Sparkdiffusion Distill fits situations like: A user asks to distill a sparse student against a dense teacher; high/low experts; resume a distillation run; validate its inputs.
Run `npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a claude-code`. Or copy the skill folder (.agents/skills/sparkdiffusion-distill in AlibabaResearch/SparkDiffusion) into .claude/skills/sparkdiffusion-distill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a codex`. Or copy the skill folder (.agents/skills/sparkdiffusion-distill in AlibabaResearch/SparkDiffusion) into .agents/skills/sparkdiffusion-distill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AlibabaResearch/SparkDiffusion --skill sparkdiffusion-distill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sparkdiffusion-distill, .gemini/skills/sparkdiffusion-distill, .github/skills/sparkdiffusion-distill and .opencode/skills/sparkdiffusion-distill in your project.
Going by SKILL.md and its folder, Sparkdiffusion Distill needs the command-line tools its instructions call (bash). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sparkdiffusion Distill is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 876 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sparkdiffusion Distill: Agent Prompt Quality Bar (mastra-ai/mastra, 29k stars), Course Guide (fancyboi999/ai-engineering-from-scratch-zh, 1.2k stars), Advanced Evaluation (guanyang/open-agent-hub, 977 stars) and Agentic Self Distillation (burtenshaw/training-agents, 153 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AlibabaResearch (a GitHub organization) maintains it in AlibabaResearch/SparkDiffusion, which has 541 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 9, 2026.
Source: AlibabaResearch/SparkDiffusion on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.