Individual skill
tao-generate-anomalies
Full PAIDF AnomalyGen pipeline — fine-tune on a new anomaly dataset, generate synthetic anomaly images (SDG), evaluate quality (nn_score), and search per-sample (guidance, crop_ratio) parameters. Three modes: full (Phase 0→7: finetune then generate), finetune_only (Phase 0→1: train only), inference_only (Phase 0, 2→7: generate from an existing checkpoint). Use when the user asks to "fine-tune AnomalyGen", "generate anomaly images", "run PAIDF SDG", "evaluate SDG output quality", "run per-sample search", or run any part of the AnomalyGen pipeline, even if they only mention one phase.
skills/tao-generate-anomalies/SKILL.md
Source commit 25340619336e89bcc40365c28bfe9e790430468e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,886
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- coding-agents Repository topic
- cuda Repository topic
- developer-tools Repository topic
- llm Repository topic
- omniverse Repository topic
- tao Declared skill tag
- data Declared skill tag
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
BENCHMARK.mddoc · 7,959 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesSKILL.mdcore · 19,584 bytesassets/ag_config.yamlasset · 1,388 bytesassets/defect_spec_template.jsonlasset · 462 bytesconfig/skillspector-baseline.yamlasset · 1,738 bytesevals/evals.jsonasset · 789 bytesreferences/datasets.mddoc · 4,958 bytesreferences/docker.mddoc · 3,625 bytesreferences/error-handling.mddoc · 1,963 bytesreferences/eval.mddoc · 7,590 bytesreferences/finetune-commands.mddoc · 2,337 bytesreferences/finetune.mddoc · 8,413 bytesreferences/guard-and-custom-counts.mddoc · 2,040 bytesreferences/inference-commands.mddoc · 1,438 bytesreferences/inference.mddoc · 15,235 bytesreferences/output-layout.mddoc · 3,908 bytesreferences/prep-testcase.mddoc · 7,738 bytesreferences/sdg-inference.mddoc · 4,883 bytesreferences/sdg-refine.mddoc · 4,975 bytesreferences/setup.mddoc · 4,075 bytesskill-card.mddoc · 5,606 bytesskill.oms.sigasset · 8,657 bytes
Read excerpt
# TAO Generate Anomalies
> **Standalone install?** If this session was not initialized by the TAO skill bank plugin, run the `tao-setup` skill first (host preflight, credentials, cross-skill discovery).
Multi-phase pipeline (0–7); the `mode` flag selects which phases run.
| Phase | What runs | Mode(s) |
|---|---|---|
| 0 | Verify / download pretrained checkpoints | all |
| 1 | Fine-tune on `dataset_dir` | `full`, `finetune_only` |
| 2 | Prepare inference JSONL (AMP routing) | `full`, `inference_only` |
| 3 | SDG — generate synthetic anomaly images → `original/` | `full`, `inference_only` |
| 4 | Eval `original/` — emit `per_sample.csv` + `eval.log`, merge `nn_score` into `SDG_result.csv` | `full`, `inference_only` |
| 5 | Per-sample `(guidance, crop_ratio)` search rounds → `rounds/round_NN/` (each round runs SDG + eval) | `full`, `inference_only` |