isaac-sim/isaacsim/validation-diff-gifs
Claude Code and agent skill by isaac-sim/isaacsim
- community
Checking that the SKILL.md file is still in the repository.
Pixel-diff GIFs comparing validation captures to golden images. Use to triage benchmark or regression image failures.
Install
npx vskill@latest install isaac-sim/isaacsim/validation-diff-gifsSKILL.md
The same SKILL.md was published earlier as isaac-sim/isaacsim/validation-diff-gifs.
Validation Difference GIFs
Purpose
Animate pixel differences between validation captures and golden images to quickly localize benchmark visual regressions.
Limitations
- Sensitive to tolerance settings and driver/GPU differences in captures.
- Requires existing golden image directories from a benchmark run.
Troubleshooting
| Error / symptom | Cause | Solution | |
|---|---|---|---|
| No golden directory | Benchmark not run with validation | Generate captures before diffing | |
| Full-frame red diff | Tolerance too tight or lighting drift | Adjust per-channel threshold; relight scene | |
| GIF empty | Zero changed pixels | Confirm capture and golden paths match resolution | |
| "All frames passed" (SDG) | QA report shows no failures | Thresholds may need tightening; pass - to diff all frames | |
| jq not found (SDG) | QA report filtering requires jq | Install jq or omit the qa_report argument to diff all frames |
Generate per-camera GIF animations showing the pixel-wise difference between captured benchmark images and their golden references. Useful for debugging validation tolerance failures.
Available Scripts
| Script | Purpose | Arguments | |
|---|---|---|---|
scripts/generate_diff_gifs.sh | Benchmark per-camera diff GIFs (nested Robots/ layout) | positional args per script header | |
scripts/sdg_tolerance_diff_gifs.sh | SDG golden-set diff GIFs (flat rgb/ layout), optionally filtered to QA-failed frames | positional args per script header |
Running scripts
From agent runtimes that expose skill execution helpers, invoke helpers with run_script():
From a built Isaac Sim tree, run the same file with ./python.sh (Linux) or python.bat (Windows) from _build/*/release, or execute shell helpers directly when they do not require the simulator.
Prerequisites
- ImageMagick (
composite,convert) must be available onPATH. - A completed validation capture run with matching directory structure to the golden data.
Paths
Captures and golden data live under the Isaac Sim build release directory:
Both share a parallel directory tree (e.g. Robots/Robot_0/.../front_hawk/left/camera_left/rgb/).
Usage
Find the latest capture
Run the script
The bundled script is resolved via ${CLAUDE_SKILL_DIR}; falls back to the canonical repo path skills/validation-diff-gifs/scripts/:
| Argument | Default | Description | |
|---|---|---|---|
captured_run_dir | (required) | Root of the capture run | |
golden_benchmark_dir | (required) | Root of the golden data for the benchmark | |
amplify | 10 | Multiply pixel differences by this factor for visibility | |
fps | 5 | Frame rate for the output GIF |
Example
Output
For each rgb/ directory under the capture, a diff_animation.gif is written alongside the captured PNGs:
- Black pixels = identical between captured and golden
- Brighter pixels = larger difference (amplified by the
amplifyfactor)
SDG Golden-Set Tolerance Diffs
When production_capture_qa.py (from the data-collection-sim skill) produces a failing qa_report.json, use the SDG script to generate diffs only for the frames that tripped tolerance thresholds:
| Argument | Default | Description | |
|---|---|---|---|
sdg_output_dir | (required) | SDG capture output (flat: rgb/, distance_to_image_plane/, etc.) | |
sdg_golden_dir | (required) | Golden reference with the same flat layout | |
qa_report.json | (optional) | Path to QA report; only failed frames are diffed. Pass - to diff all. | |
amplify | 10 | Pixel difference multiplier | |
fps | 5 | Output GIF frame rate |
SDG Example (CI integration)
SDG Output Structure
Prerequisites (SDG script)
- ImageMagick (
composite,convert) jq(only when passing aqa_report.json)- Python 3 with
numpy(for depth.npydiffing);Pillowoptional but recommended
Interpreting results
- Uniform low-level noise across the frame → rendering non-determinism (likely acceptable)
- Bright regions concentrated on object edges → sub-pixel movement differences
- Entire frame bright → wrong timestamp match or completely different camera pose
- One camera consistently worse than others → possible per-camera issue (tick rate, initialization)
- SDG: clustered failures at specific frame indices → seed-dependent pose or lighting issue
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/validation-diff-gifs/SKILL.md
Popularity
- Repository stars
- 3,682
- Repository forks
- 501
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/isaac-sim/isaacsim/validation-diff-gifs)