vectorspacelab/arex-skill/autodiff-pde-residual

Claude Code and agent skill by vectorspacelab/arex-skill

Trust tier 3
  • community
Source check pending

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-residual

SKILL.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 t and x values.
  • PDE coefficients, especially Burgers viscosity nu.

Outputs

  • Residual values for each collocation point.
  • Diagnostic derivatives u, u_t, u_x, and u_xx.
  • Mean-squared residual loss helper for training objectives.

Workflow

  1. Evaluate the surrogate at each collocation point.
  2. Compute time and spatial derivatives using the available differentiable interface.
  3. Assemble u_t + u * u_x - nu * u_xx.
  4. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vectorspacelab/arex-skill/autodiff-pde-residual/badge)](https://verified-skill.com/skills/vectorspacelab/arex-skill/autodiff-pde-residual)

Something wrong with this skill or its page? Tell us.