Agent skill · Code Review & Quality

nonlinear-solvers

Select and configure nonlinear solvers for f(x)=0 or min F(x). Use for Newton methods, quasi-Newton (BFGS, L-BFGS), Broyden, Anderson acceleration, diagnosing convergence issues, choosing line search vs trust region, and analyzing Jacobian quality.

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

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

Facts
Files in the skill folder: 11
SKILL.md size: 7 KB
Bundled scripts: yes
Allowed tools: ReadBashWriteGrepGlob
Path: skills/nonlinear-solvers/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

# Nonlinear Solvers ## Goal Provide a universal workflow to select a nonlinear solver, configure globalization strategies, and diagnose convergence for root-finding, optimization, and least-squares problems. ## Requirements - Python 3.8+ - NumPy (for Jacobian diagnostics) - SciPy (optional, for advanced analysis) ## Inputs to Gather | Input | Description | Example | |-------|-------------|---------| | Problem type | Root-finding, optimization, least-squares | `root-finding` | | Problem size | Number of unknowns | `n = 10000` | | Jacobian availability | Analytic, finite-diff, unavailable | `analytic` | | Jacobian cost | Cheap or expensive to compute | `expensive` | | Constraints | None, bounds, equality, inequality | `none` | | Smoothness | Is objective/residual smooth? | `yes` | | Residual history | Sequence of residual norms | `1,0.1,0.01,...` | ## Decision Guidance ### Solver Selection Flowchart ``` Is Jacobian available and cheap? ├── YES → Problem size? │ ├── Small (n < 1000) → Newton (full) │ └── Large (n ≥ 1000) → Newton-Krylov └── NO → Is objective smooth? ├── YES → Memory limited? │ ├── YES → L-BFGS or Broyden │ └── NO → BFGS └── NO → Anderson acceleration or Picard ``` ###

What's inside
Steps it walks through
  1. Goal
  2. Requirements
  3. Inputs to Gather
  4. Decision Guidance
  5. Solver Selection Flowchart
  6. Quick Reference
  7. Script Outputs (JSON Fields)
  8. Workflow
  9. Conversational Workflow Example
  10. Pre-Solve Checklist
  11. CLI Examples
  12. Error Handling
  13. Interpretation Guidance
  14. Convergence Type
Ships with 10 files
  • references/convergence_diagnostics.md
  • references/globalization_strategies.md
  • references/method_catalog.md
  • references/solver_decision_tree.md
  • scripts/convergence_analyzer.py
  • scripts/globalization_advisor.py
  • scripts/jacobian_diagnostics.py
  • scripts/residual_monitor.py
  • scripts/solver_selector.py
  • scripts/step_quality.py
Commands it runs
python3 scripts/convergence_analyzer.py --residuals 1,0.8,0.6,0.5,0.4,0.3,0.2,0.15,0.12,0.1 --json
python3 scripts/globalization_advisor.py --problem-type root-finding --jacobian-quality ill-conditioned --previous-failures 0 --json
Select solver for large unconstrained optimization
python3 scripts/solver_selector.py --size 50000 --smooth --memory-limited --json
Analyze convergence from residual history
python3 scripts/convergence_analyzer.py --residuals 1,0.1,0.01,0.001,0.0001 --tolerance 1e-6 --json
Diagnose Jacobian quality
python3 scripts/jacobian_diagnostics.py --matrix jacobian.txt --json
Get globalization recommendation
python3 scripts/globalization_advisor.py --problem-type optimization --jacobian-quality good --json
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the nonlinear-solvers skill do?

Select and configure nonlinear solvers for f(x)=0 or min F(x). Use for Newton methods, quasi-Newton (BFGS, L-BFGS), Broyden, Anderson acceleration, diagnosing convergence issues, choosing line search vs trust region, and analyzing Jacobian quality.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill nonlinear-solvers --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