numerical-integration
Select and configure time integration methods for ODE/PDE simulations. Use when choosing explicit/implicit schemes, setting error tolerances, adapting time steps, diagnosing integration accuracy, planning IMEX splitting, or handling stiff/non-stiff coupled systems.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill numerical-integration --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Numerical Integration ## Goal Provide a reliable workflow to select integrators, set tolerances, and manage adaptive time stepping for time-dependent simulations. ## Requirements - Python 3.8+ - NumPy (for some scripts) - No heavy dependencies for core functionality ## Inputs to Gather | Input | Description | Example | |-------|-------------|---------| | Problem type | ODE/PDE, stiff/non-stiff | `stiff PDE` | | Jacobian available | Can compute ∂f/∂u? | `yes` | | Target accuracy | Desired error level | `1e-6` | | Constraints | Memory, implicit allowed? | `implicit OK` | | Time scale | Characteristic time | `1e-3 s` | ## Decision Guidance ### Choosing an Integrator ``` Is the problem stiff? ├── YES → Is Jacobian available? │ ├── YES → Use Rosenbrock or BDF │ └── NO → Use BDF with numerical Jacobian └── NO → Is high accuracy needed? ├── YES → Use RK45 or DOP853 └── NO → Use RK4 or Adams-Bashforth ``` ### Stiff vs Non-Stiff Detection | Symptom | Likely Stiff | Action | |---------|--------------|--------| | dt shrinks to tiny values | Yes | Switch to implicit | | Eigenvalues span many decades | Yes | Use BDF/Radau | | Smooth solution, reasonable dt | No | Stay explicit | ## Script Out
- Goal
- Requirements
- Inputs to Gather
- Decision Guidance
- Choosing an Integrator
- Stiff vs Non-Stiff Detection
- Script Outputs (JSON Fields)
- Workflow
- Conversational Workflow Example
- Pre-Integration Checklist
- CLI Examples
- Error Handling
- Interpretation Guidance
- Error Norm Values
python3 scripts/integrator_selector.py --stiff --jacobian-available --accuracy high --json python3 scripts/imex_split_planner.py --stiff-terms diffusion --nonstiff-terms reaction --coupling weak --json Select integrator for stiff problem with Jacobian Compute scaled error norm python3 scripts/error_norm.py --error 0.01,0.02 --solution 1.0,2.0 --rtol 1e-3 --atol 1e-6 --json Adaptive step control with PI controller python3 scripts/adaptive_step_controller.py --dt 1e-2 --error-norm 0.8 --order 4 --controller pi --json Plan IMEX splitting python3 scripts/imex_split_planner.py --stiff-terms diffusion,elastic --nonstiff-terms reaction --coupling strong --json Estimate splitting error
What does the numerical-integration skill do?
Select and configure time integration methods for ODE/PDE simulations. Use when choosing explicit/implicit schemes, setting error tolerances, adapting time steps, diagnosing integration accuracy, planning IMEX splitting, or handling stiff/non-stiff coupled systems.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill numerical-integration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
