tao-finetune-anomalygennext

tao-finetune-anomalygennext is a skill for Claude Code from NVIDIA-TAO/tao-skill-bank. It costs 58 tokens per session (1,234 once invoked), scanned A, original, Apache-2.0.

A preparation workflow for fine-tuning AnomalyGenNext with a user's defect images, masks, validation data, and optional recipe. Fine-tuning means adapting an existing model to a specific task.

In plain words
What is it for?
Use it when AnomalyGenNext needs task-specific texture and defect weights and the required checkpoints, image masks, and validation JSONL files are available.
Why use it?
It checks the dataset and fixes the identities of the validation data, model checkpoint, defect types, and training setup before training is run.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the tao-skills plugin — 82 skills shipped together , and of tao-skill-bank

Good fit Use it when AnomalyGenNext needs task-specific texture and defect weights and the required checkpoints, image masks, and validation JSONL files are available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA-TAO/tao-skill-bank --skill tao-finetune-anomalygennext
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-TAO/tao-skill-bank

Made for: Claude Code.

Or install tao-skills, the plugin that ships this one along with the rest of its 82 skills.

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 tao-finetune-anomalygennext

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext/github.svg)](https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext)
Your own site
<a href="https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext"><img src="https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext/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 tao-finetune-anomalygennext

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext"><img src="https://agentmods.dev/badge/skills/nvidia-tao/tao-skill-bank/tao-finetune-anomalygennext.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 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.
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.00058 $0.01234
Opus 5.5 $0.00023 $0.00494
Sonnet 5.5 $0.00012 $0.00247
Haiku 4.5 $0.00006 $0.00123

Measured 21d ago against content hash dad884f08c93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tao-finetune-anomalygennext 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 21d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/finetune_anomalygennext.sh, scripts/prepare_finetune_recipe.py, scripts/tests/test_nn_improvement.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.

skills/data/tao-finetune-anomalygennext/SKILL.md · 124 lines

How it starts

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

Fine-tune AnomalyGenNext

This leaf prepares a user-owned dataset and optional recipe for task-specific AnomalyGenNext LoRA training. The pinned image is declared in references/skill_info.yaml; do not replace it with the older 1.0 release. Read references/input-contract.md when validating a dataset or adapting a recipe, and references/container-runtime.md before submission.

Inputs

DATASET/
  defect_spec.jsonl
  TEXTURE/
    clean_image/*
    anomaly_image/DEFECT/*
    mask/DEFECT/*
VALIDATION/testcase.jsonl

Also supply a DCP-format Cosmos3-Nano base checkpoint directory containing checkpoint.json, model/.metadata, and at least one model/*.distcp shard, Wan2.2_VAE.pth, and a complete checkpoint root containing the required Qwen tokenizer model assets under hf/ plus facebook/dinov2-large/ for validation. The hf/ directory name is part of the upstream image's fixed checkpoint layout. The validation JSONL must contain image_filename, mask_filename, and anomaly_type; each trained TEXTURE+DEFECT needs at least three rows. A separately stored defect spec is accepted with --defect-spec.

If the official Cosmos3-Nano checkpoint is not already staged in DCP format, run the converter shipped in the pinned AnomalyGenNext image and write its output to a mounted, persistent directory:

python -m cosmos_framework.scripts.convert_model_to_dcp \
  -o /models/Cosmos3-Nano-dcp \
  --checkpoint-path Cosmos3-Nano

The registered Cosmos3-Nano name resolves the official checkpoint. To convert an already-staged Hugging Face checkpoint instead, replace it with that directory's absolute container path. Use the converter output as --base-checkpoint; preparation verifies checkpoint.json, model/.metadata, and the generated model/*.distcp shards before GPU work.

Dataset and validation images and masks must use .jpg, .jpeg, or .png, matching the extensions supported by the AnomalyGenNext 1.1 runtime loader. Every mask pixel must be binary 0 or 255; palette or grayscale masks with intermediate values are rejected before training. Each mask must contain both values, so empty/all-zero and full/all-255 masks are also rejected.

Read the full file on GitHub · 124 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. 21d ago Changed · +19 lines dad884f08c93
  2. 22d ago Changed · +7 lines d5983c8945c8
  3. 24d ago Changed · +5 lines b0cc3144586c
  4. 1mo ago First seen · 93 lines · 58 tokens per session scan A a90785dc1529

Subscribe to this mod's changes

tao-finetune-anomalygennext is a skill published in the GitHub repository NVIDIA-TAO/tao-skill-bank (97 stars, last pushed 5d ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,234 once invoked, about $0.0002 per session on Opus 5.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-09-10.

Related

Other skills, from other repositories

huawei-cloud-cloudrobo-train

Manage CloudRobo model training tasks and simulation reinforcement learning (SimRL) tasks — create pretrain (TRAINFROMSCRATCH) and finetune (MODELTUNING) tasks with FFT/SFT/LORA/QLORA/DEEPSPEED methods; manage the full task lifecycle (create/read/update/delete/stop/restart/resume/draft); save and resubmit draft…

huaweicloud/huaweicloud-skills · 264 tokens

tinker-research

Pi overlay for Tinker post-training. Use when the user wants to plan SFT/RL/DPO/distillation, pick a model, or run experiments from Pi. Canonical methodology lives in Tinker Cookbook — do not reinvent it here.

gvkhosla/pi-tinker · 54 tokens

huggingface-transformers

Use Hugging Face Transformers pipelines, tokenizers, and AutoModel interfaces for inference and fine-tuning workflows.

alivirgo/Major-AI-Skills · 28 tokens

Data Validation

Data quality checks to run before modeling — distribution summaries, leakage detection, class balance.

niels-emmer/myace · 20 tokens

zero_shot_mutation_workflow

Zero-shot mutation engineering with VenusFactory PLMs. Use when the user wants beneficial mutations, directed evolution candidates, or stability/fitness ranking from a FASTA sequence or PDB structure. Do NOT use for ProteinMPNN inverse folding (proteinmpnndesignworkflow), sequence homology search…

ai4protein/VenusFactory2 · 80 tokens

venus_finetune_workflow

Fine-tune and run custom protein models on VenusFactory (CSV/HF → config → train → predict). Use when the user brings labeled sequences, wants adapter training (ProtT5/ESM2/Ankh/QLoRA notes), or batch inference with a trained config. Do NOT use for zero-shot mutation without labels (zeroshotmutationworkflow) or…

ai4protein/VenusFactory2 · 96 tokens