Agent skill

differentiation-schemes

Select and apply numerical differentiation schemes for PDE/ODE discretization. Use when choosing finite difference/volume/spectral schemes, building stencils, handling boundaries, estimating truncation error, or analyzing dispersion and dissipation.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codecan modify filesships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill differentiation-schemes --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 5 KB
Bundled scripts: yes
Allowed tools: ReadBashWriteGrepGlob
Path: skills/differentiation-schemes/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Differentiation Schemes ## Goal Provide a reliable workflow to select a differentiation scheme, generate stencils, and assess accuracy for simulation discretization. ## Requirements - Python 3.8+ - NumPy (for stencil computations) - No heavy dependencies ## Inputs to Gather | Input | Description | Example | |-------|-------------|---------| | Derivative order | First, second, etc. | `1` or `2` | | Target accuracy | Order of truncation error | `2` or `4` | | Grid type | Uniform, nonuniform | `uniform` | | Boundary type | Periodic, Dirichlet, Neumann | `periodic` | | Smoothness | Smooth or discontinuous | `smooth` | ## Decision Guidance ### Scheme Selection Flowchart ``` Is the field smooth? ├── YES → Is domain periodic? │ ├── YES → Use central differences or spectral │ └── NO → Use central interior + one-sided at boundaries └── NO → Are there shocks/discontinuities? ├── YES → Use upwind, TVD, or WENO └── NO → Use central with limiters ``` ### Quick Reference | Situation | Recommended Scheme | |-----------|-------------------| | Smooth, periodic | Central, spectral | | Smooth, bounded | Central + one-sided BCs | | Advection-dominated | Upwind | | Shocks/fronts | TVD, WENO | | High

What's inside
Steps it walks through
  1. Goal
  2. Requirements
  3. Inputs to Gather
  4. Decision Guidance
  5. Scheme Selection Flowchart
  6. Quick Reference
  7. Script Outputs (JSON Fields)
  8. Workflow
  9. Conversational Workflow Example
  10. Pre-Discretization Checklist
  11. CLI Examples
  12. Error Handling
  13. Interpretation Guidance
  14. Stencil Properties
Ships with 7 files
  • references/boundary_handling.md
  • references/error_guidance.md
  • references/scheme_selection.md
  • references/stencil_catalog.md
  • scripts/scheme_selector.py
  • scripts/stencil_generator.py
  • scripts/truncation_error.py
Commands it runs
python3 scripts/scheme_selector.py --smooth --periodic --order 2 --accuracy 4 --json
python3 scripts/stencil_generator.py --order 2 --accuracy 4 --scheme central --json
Select scheme for smooth periodic problem
python3 scripts/scheme_selector.py --smooth --periodic --order 1 --accuracy 4 --json
Generate central difference stencil for first derivative
python3 scripts/stencil_generator.py --order 1 --accuracy 2 --scheme central --json
Generate 4th-order second derivative stencil
Estimate truncation error
python3 scripts/truncation_error.py --dx 0.01 --order 2 --accuracy 2 --scale 1.0 --json
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the differentiation-schemes skill do?

Select and apply numerical differentiation schemes for PDE/ODE discretization. Use when choosing finite difference/volume/spectral schemes, building stencils, handling boundaries, estimating truncation error, or analyzing dispersion and dissipation.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill differentiation-schemes --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.

Keep going