leonardodalinky/scider/physics-simulation
Claude Code and agent skill by leonardodalinky/scider
- community
Checking that the SKILL.md file is still in the repository.
Physics simulation and computational analysis — ODE/PDE solvers, molecular dynamics, Monte Carlo methods, signal processing, error propagation, and unit management. Use when working with physical simulation data or running computational physics experiments.
Install
npx vskill@latest install leonardodalinky/scider/physics-simulationSKILL.md
Physics Simulation
Overview
This skill covers computational physics workflows: from solving differential equations and analyzing simulation trajectories to signal processing and rigorous uncertainty quantification.
When to Use This Skill
- Analyzing or running physical simulations (MD, Monte Carlo, FEM)
- Solving ODEs or PDEs numerically
- Processing experimental physics data (spectra, time series, sensor data)
- Propagating measurement uncertainties
- Working with physical units and dimensional analysis
1. ODE Solvers with SciPy
Method Selection
| Method | Use when | Notes | |
|---|---|---|---|
RK45 | Non-stiff, smooth solutions | Default, good general purpose | |
RK23 | Non-stiff, less accuracy needed | Faster than RK45 | |
DOP853 | Non-stiff, high accuracy required | 8th order, fewer function evaluations | |
Radau | Stiff systems | Chemical kinetics, circuit simulation | |
BDF | Very stiff, large time spans | Implicit, variable order | |
LSODA | Unknown stiffness | Auto-switches between stiff/non-stiff |
Stiff system detection: If RK45 takes extremely small steps (t_eval coverage is sparse) or max_step warning appears → switch to Radau or BDF.
2. Molecular Dynamics
Trajectory Analysis with MDAnalysis
LAMMPS Output Parsing
3. Monte Carlo Methods
Metropolis Algorithm
Effective sample size = N / (2 × autocorrelation_time)
4. Signal Processing
Key rules:
- Nyquist: sample at ≥ 2× the highest frequency of interest
- Zero-phase filtering: use
sosfiltfilt(notlfilter) to avoid phase shift - Windowing for FFT of finite signals: apply Hanning/Hamming window to reduce spectral leakage
- Welch PSD: more stable estimate than single-shot FFT (averages over segments)
5. Error Propagation
With the uncertainties Library
χ² Fitting
Interpreting reduced χ²: ≈1.0 → good fit; << 1 → overfitting or overestimated errors; >> 1 → poor fit or underestimated errors.
6. Units and Dimensional Analysis
Best practices:
- Always specify units in variable names or comments when not using
pint - Check dimensional consistency before reporting results
- Be explicit about SI vs. CGS vs. natural units in all publications
7. Quick Diagnostics Script
Run the scripts/physics_eda.py script to inspect simulation output files:
It checks for NaN/Inf values, implausible ranges, autocorrelation (non-equilibration), and energy conservation drift.
Security
- Security scanPassed, 95 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 repositoryChecking.scider/skills/physics-simulation/SKILL.md
Popularity
- Repository stars
- 88
- Repository forks
- 7
- 7-day trend score
- 22
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/leonardodalinky/scider/physics-simulation)