sciml-and-diffeq
Skill0 starsChanged 5 days agoMITView on GitHub
The SciML map: which of DifferentialEquations, ModelingToolkit, NeuralPDE, SciMLSensitivity, Optimization, or Catalyst solves which problem, and how their versions co-evolve. Use when choosing SciML packages.
In this repository55 other files it gives its agents.
- advanced-optimizationSkill
- bayesian-inferenceSkill
- bayesian-pinnSkill
- bayesian-ude-workflowSkill
- catalyst-reactionsSkill
- continuum-mechanics-and-rheologySkill
- control-theorySkill
- creating-julia-appSkill
- debugging-toolkitSkill
- differential-equationsSkill
- differentiationSkill
- equation-discoverySkill
- experiment-trackingSkill
- fem-feaSkill
- julia-graph-neural-networksSkill
- julia-languageSkill
- julia-ml-and-dlSkill
- julia-model-deploymentSkill
- julia-paper-implementationSkill
- julia-pro-helpSkill
- julia-pro-modeSkill
- julia-reinforcement-learningSkill
- modeling-toolkitSkill
- neural-pdeSkill
- nonlinear-dynamicsSkill
- numerical-methods-implementationSkill
- package-development-workflowSkill
- performance-tuningSkill
- physical-learning-systemsSkill
- playbook-debugSkill
- playbook-model-validateSkill
- playbook-package-releaseSkill
- playbook-paper-implementSkill
- playbook-perfSkill
- playbook-test-specSkill
- principle-both-sidesSkill
- principle-breakingSkill
- principle-file-is-truthSkill
- principle-gateSkill
- principle-limitsSkill
- principle-loud-failureSkill
- principle-one-stepSkill
- principle-proof-listSkill
- principle-rebuttalSkill
- principle-runtime-surfaceSkill
- principle-three-boundsSkill
- principle-three-clocksSkill
- scientific-visualizationSkill
- setup-julia-proSkill
- signal-processingSkill
- simulation-and-hpcSkill
- statistical-physicsSkill
- symbolic-mathSkill
- web-development-juliaSkill
- zarr-cloud-arraysSkill
The file
Files
The SciML map
SciML is one organisation with a shared solver interface and a dozen entry points. Choosing the wrong entry point is the most common waste: a ModelingToolkit model where a plain ODEProblem would do, or a neural closure where a fitted rate law does.
| Problem | Package | Notes |
| ODE, SDE, DAE, DDE, jump processes | DifferentialEquations.jl | solver choice and stiffness detection dominate results; see differential-equations |
| symbolic model, simplification, index reduction, Jacobians | ModelingToolkit.jl | pays when the structure must be analysed, not just integrated; see modeling-toolkit |
| gradient through a solver (fitting, UDE, adjoints) | SciMLSensitivity.jl | adjoint versus forward changes memory and accuracy; see sciml-modern-stack |
| parameter estimation, local and global optimisers | Optimization.jl | one interface over Optim, NLopt, BlackBoxOptim; see optimization-patterns |
| PDEs with a neural ansatz | NeuralPDE.jl | PINN, Bayesian PINN, method of lines; see neural-pde |
| reaction networks | Catalyst.jl | mass action and stochastic simulation; see catalyst-reactions |
| unknown model form | DataDrivenDiffEq.jl | SINDy; see equation-discovery |
| ecosystem overview, package roles | sciml-ecosystem | read this first if the table above does not settle it |
The co-evolution trap
SciML packages move together and break together. Pin them as a set in [compat] (DifferentialEquations, ModelingToolkit, SciMLSensitivity, Symbolics) and bump them in one commit with Pkg.test() green, not one at a time as each resolver complains. A mixed vintage produces method errors that look like your bug.
Choosing a level
- A single ODE with a hand-written right-hand side:
ODEProblemdirectly. ModelingToolkit adds compile time and no benefit. - Parameters to fit, or a model to linearise: ModelingToolkit, because the Jacobian and the structural information are the point.
- A missing term in the physics: UDE (neural closure) inside the SciMLSensitivity path, not a full black-box network.
- Noise or a jump process: the SDE or jump-problem interface, not an ODE with jitter added afterwards.
Done when
The level of the stack matches the problem (a plain ODEProblem for a hand-written right-hand side, ModelingToolkit when the symbolic structure is used, a UDE only when the physics is genuinely incomplete), the model was re-fitted after the data changed, and one solver family reproduced the other at tighter tolerance.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

