Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
NVIDIA Warp Gradient DebuggingSkill
Summary
Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Features
- Compares autodiff against finite differences on a shrunk reproduction
- Uses the signature of the wrongness to prune hypotheses before reading code
- Maps surface symptoms (diverging training, biased fits) to gradient causes
- Covers wp.Tape issues, gradcheck failures and NaN/zero/exploding gradients
- Documents Warp 1.17 behaviour changes with workarounds for older versions
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Description
Anything trained, optimised, calibrated or fitted through NVIDIA Warp kernels depends on wp.Tape gradients. When such a workflow misbehaves, the forward simulation usually looks perfectly healthy while the backward pass silently reads clobbered values, skips arrays or double-counts adjoints — so engineers spend days tuning physics constants and loss functions when the real cause is a two-line taping-pattern fix.
This skill exists to find that fix with evidence. Its central discipline is measure before hypothesising: run a shrunk reproduction, compare autodiff against finite differences, and let the signature of the wrongness prune the hypothesis space. NVIDIA's guidance is explicit that plausible-looking diagnoses read off the source are very often wrong, and that an unverified "fix" which merely perturbs the numbers wastes everyone's time.
The leap it is built to make. Users rarely say the word "gradient" — they say "the sim explodes" or "the fit gets dragged toward outliers". The skill treats the surface symptom as a gradient problem until proven otherwise: training that diverges, NaNs or will not train at all; loss that stalls or plateaus above the expected value; fits that converge to a wrong or biased answer or underperform a reference implementation; pipelines that work at small scale but fail at production scale or fail a QA recheck. It also handles the explicit symptoms — exploding, NaN/inf, zero or subtly wrong gradients, and wp.autograd.gradcheck failures.
Version sensitivity is documented. Warp 1.13 is the minimum and 1.17+ is recommended for reliable verification: copy-adjoint accumulation, overwrite-warning call sites, read-flag lifetime and gradcheck's restore_inputs all changed in 1.17, and the references carry version caveats plus workarounds for older releases.
Out of scope: forward-only Warp work, build and install problems, and autograd issues in other frameworks that do not involve Warp. Authored by the NVIDIA Warp team, Apache-2.0.
Related Skills
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
Persistent cross-session memory for coding agents: hooks capture each session, a local SQLite + vector store compresses it, and a mem-search skill reads it back.
