Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
beita6969 avatar

Parameter Optimization

  • 16 installs
  • 869 repo stars
  • Updated June 8, 2026
  • beita6969/scienceclaw

Parameter Optimization is a skill that explores and optimizes simulation parameters via design of experiments, sensitivity analysis, and optimizer selection.

About

Provides a workflow to explore and optimize simulation parameters through design of experiments, sensitivity analysis, and optimizer selection. An engineer uses it to calibrate materials simulations by generating LHS or Sobol samples, ranking parameter influence, and choosing between Bayesian optimization, CMA-ES, or random search. It ships pure-Python scripts that emit JSON and require no external dependencies.

  • Designs experiments and ranks parameter influence for simulation calibration
  • Decision guidance for DOE methods (LHS, Sobol, factorial) and optimizers
  • Pure-Python scripts for DOE generation, sensitivity, optimizer choice, and surrogates

Parameter Optimization by the numbers

  • 16 all-time installs (skills.sh)
  • Ranked #1,318 of 2,065 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

parameter-optimization capabilities & compatibility

Free; pure-Python standard-library scripts, no dependencies

Capabilities
design of experiments · sensitivity analysis · optimizer selection
Use cases
data analysis
Runs
Runs locally
Pricing
Free
From the docs

What parameter-optimization says it does

Explore and optimize simulation parameters via design of experiments (DOE), sensitivity analysis, and optimizer selection.
SKILL.md
No external dependencies (uses Python standard library only)
SKILL.md
npx skills add https://github.com/beita6969/scienceclaw --skill parameter-optimization

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs16
repo stars869
Last updatedJune 8, 2026
Repositorybeita6969/scienceclaw

What it does

Design experiments, rank parameter sensitivity, and select optimizers for simulation calibration.

Who is it for?

Calibrating simulations with DOE sampling, sensitivity ranking, and optimizer selection

Skip if: Real-time optimization loops or running simulations, which the docs say the user must do externally

When should I use this skill?

You need calibration, parameter sweeps, LHS/Sobol sampling, sensitivity analysis, or optimizer setup

What you get

DOE sample points, a parameter sensitivity ranking, and an optimizer recommendation as JSON.

  • DOE sample points (JSON)
  • Parameter sensitivity ranking
  • Optimizer recommendation

By the numbers

  • 4 bundled Python scripts
  • 3 DOE methods (lhs, sobol, factorial)

Files

SKILL.mdMarkdownGitHub ↗

Parameter Optimization

Goal

Provide a workflow to design experiments, rank parameter influence, and select optimization strategies for materials simulation calibration.

Requirements

  • Python 3.8+
  • No external dependencies (uses Python standard library only)

Inputs to Gather

Before running any scripts, collect from the user:

InputDescriptionExample
Parameter boundsMin/max for each parameter with unitskappa: [0.1, 10.0] W/mK
Evaluation budgetMax number of simulations allowed50 runs
Noise levelStochasticity of simulation outputslow, medium, high
ConstraintsFeasibility rules or forbidden regionskappa + mobility < 5

Decision Guidance

Choosing a DOE Method

Is dimension <= 3 AND full coverage needed?
├── YES → Use factorial
└── NO → Is sensitivity analysis the goal?
    ├── YES → Use quasi-random (preferred; "sobol" is accepted but deprecated)
    └── NO → Use lhs (Latin Hypercube)
MethodBest ForAvoid When
lhsGeneral exploration, moderate dimensions (3-20)Need exact grid coverage
sobolSensitivity analysis, uniform coverageVery high dimensions (>20)
factorialLow dimension (<4), need all cornersHigh dimension (exponential growth)

Choosing an Optimizer

Is dimension <= 5 AND budget <= 100?
├── YES → Bayesian Optimization
└── NO → Is dimension <= 20?
    ├── YES → CMA-ES
    └── NO → Random Search with screening
Noise LevelRecommendation
LowGradient-based if derivatives available, else Bayesian Optimization
MediumBayesian Optimization with noise model
HighEvolutionary algorithms or robust Bayesian Optimization

Script Outputs (JSON Fields)

ScriptOutput Fields
scripts/doe_generator.pysamples, method, coverage
scripts/optimizer_selector.pyrecommended, expected_evals, notes
scripts/sensitivity_summary.pyranking, notes
scripts/surrogate_builder.pymodel_type, metrics, notes

Workflow

1. Generate DOE with scripts/doe_generator.py 2. Run simulations at DOE sample points (user's responsibility) 3. Summarize sensitivity with scripts/sensitivity_summary.py 4. Choose optimizer using scripts/optimizer_selector.py 5. (Optional) Fit surrogate with scripts/surrogate_builder.py

CLI Examples

# Generate 20 LHS samples for 3 parameters
python3 scripts/doe_generator.py --params 3 --budget 20 --method lhs --json

# Rank parameters by sensitivity scores
python3 scripts/sensitivity_summary.py --scores 0.2,0.5,0.3 --names kappa,mobility,W --json

# Get optimizer recommendation for 3D problem with 50 eval budget
python3 scripts/optimizer_selector.py --dim 3 --budget 50 --noise low --json

# Build surrogate model from simulation data
python3 scripts/surrogate_builder.py --x 0,1,2 --y 10,12,15 --model rbf --json

Conversational Workflow Example

User: I need to calibrate thermal conductivity and diffusivity for my FEM simulation. I can run about 30 simulations.

Agent workflow: 1. Identify 2 parameters → --params 2 2. Budget is 30 → --budget 30 3. Use LHS for general exploration:

   python3 scripts/doe_generator.py --params 2 --budget 30 --method lhs --json

4. After user runs simulations and provides outputs, summarize sensitivity:

   python3 scripts/sensitivity_summary.py --scores 0.7,0.3 --names conductivity,diffusivity --json

5. Recommend optimizer:

   python3 scripts/optimizer_selector.py --dim 2 --budget 30 --noise low --json

Error Handling

ErrorCauseResolution
params must be positiveZero or negative dimensionAsk user for valid parameter count
budget must be positiveZero or negative budgetAsk user for realistic simulation budget
method must be lhs, sobol, or factorialInvalid methodUse decision guidance to pick valid method
scores must be comma-separatedMalformed inputReformat as 0.1,0.2,0.3

Limitations

  • Not for real-time optimization: Scripts provide recommendations, not live optimization loops
  • Surrogate is a placeholder: surrogate_builder.py computes basic metrics; replace with actual model for production
  • No automatic simulation execution: User must run simulations externally and provide results

References

  • references/doe_methods.md - Detailed DOE method comparison
  • references/optimizer_selection.md - Optimizer algorithm details
  • references/sensitivity_guidelines.md - Sensitivity analysis interpretation
  • references/surrogate_guidelines.md - Surrogate model selection

Version History

  • v1.1.0 (2024-12-24): Enhanced documentation, decision guidance, conversational examples
  • v1.0.0: Initial release with core scripts

Related skills

FAQ

Does it run my simulations?

No. The docs state there is no automatic simulation execution; the user runs simulations externally and provides results.

What dependencies are needed?

Python 3.8+ only; the scripts use the Python standard library with no external dependencies.

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.