vectorspacelab/arex-skill/autodiff-pde-residual
Claude Code and agent skill by vectorspacelab/arex-skill
- community
Checking that the SKILL.md file is still in the repository.
Compute Burgers-style PINN residual values and derivative diagnostics from differentiable or analytic surrogate predictions.
Install
npx vskill@latest install vectorspacelab/arex-skill/autodiff-pde-residualSKILL.md
The same SKILL.md was published earlier as vectorspacelab/arex-skill/autodiff-pde-residual.
Automatic Differentiation PDE Residual
Use this skill when a recovery harness needs the physics residual that turns a neural surrogate into a PINN. It is designed for Burgers-equation reduced recovery and can also serve as a template for other PDE residual builders. Do not use it to create data items or perform optimizer steps.
Inputs
- A surrogate with analytic derivative methods or a differentiable backend wrapper.
- Collocation coordinates with
tandxvalues. - PDE coefficients, especially Burgers viscosity
nu.
Outputs
- Residual values for each collocation point.
- Diagnostic derivatives
u,u_t,u_x, andu_xx. - Mean-squared residual loss helper for training objectives.
Workflow
- Evaluate the surrogate at each collocation point.
- Compute time and spatial derivatives using the available differentiable interface.
- Assemble
u_t + u * u_x - nu * u_xx. - Return residuals and diagnostics separately so recovery can log mechanism evidence.
Validation
Run python tests/test_residual.py or validate the tree with validate_skill_tree.py --run-tests.
Limitations
The included script uses an analytic tiny surrogate for deterministic reduced recovery. Full automatic differentiation backends can wrap the same residual contract when available.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/task-oriented/PaperBench/skills/pinn/skill/physics_informed_neural_networks/autodiff_pde_residual/SKILL.md
Popularity
- 7-day trend score
- 0
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/vectorspacelab/arex-skill/autodiff-pde-residual)