parameter-optimization

parameter-optimization is a skill for Claude Code from HeshamFS/materials-simulation-skills. It costs 127 tokens per session (3,333 once invoked), scanned A, original, Apache-2.0.

A workflow for choosing simulation parameters through designed experiments, sensitivity analysis, and optimization. Designed experiments are planned runs that test parameter effects efficiently.

In plain words
What is it for?
It creates factorial, quasi-random, or Latin Hypercube sample plans, ranks parameter influence, and recommends an optimization method based on dimensions, noise, constraints, and budget.
Why use it?
It reduces guesswork when calibrating a simulation and helps spend a limited number of runs on the most informative tests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the simulation-workflow plugin — 7 skills shipped together , and of reproducible-campaigns, full

Good fit It creates factorial, quasi-random, or Latin Hypercube sample plans, ranks parameter influence, and recommends an optimization method based on dimensions, noise, constraints, and budget.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heshamfs/materials-simulation-skills/parameter-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HeshamFS/materials-simulation-skills --skill parameter-optimization
Clone the repo
git clone --depth 1 https://github.com/HeshamFS/materials-simulation-skills

Made for: Claude Code.

Or install simulation-workflow, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for parameter-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/heshamfs/materials-simulation-skills/parameter-optimization/github.svg)](https://agentmods.dev/skills/heshamfs/materials-simulation-skills/parameter-optimization)
Your own site
<a href="https://agentmods.dev/skills/heshamfs/materials-simulation-skills/parameter-optimization"><img src="https://agentmods.dev/badge/skills/heshamfs/materials-simulation-skills/parameter-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for parameter-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/heshamfs/materials-simulation-skills/parameter-optimization"><img src="https://agentmods.dev/badge/skills/heshamfs/materials-simulation-skills/parameter-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.03333
Opus 5.5 $0.00051 $0.01333
Sonnet 5.5 $0.00025 $0.00667
Haiku 4.5 $0.00013 $0.00333

Measured 1mo ago against content hash c3441ef9657c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

parameter-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/doe_generator.py, scripts/optimizer_selector.py, scripts/sensitivity_summary.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/simulation-workflow/parameter-optimization/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Parameter Optimization

Goal

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

Requirements

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

Inputs to Gather

Before running any scripts, collect from the user:

Input Description Example
Parameter bounds Min/max for each parameter with units kappa: [0.1, 10.0] W/mK
Evaluation budget Max number of simulations allowed 50 runs
Noise level Stochasticity of simulation outputs low, medium, high
Constraints Feasibility rules or forbidden regions kappa + 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)
Method Best For Avoid When
lhs General exploration, moderate dimensions (3-20) Need exact grid coverage
quasi-random Sensitivity analysis, uniform coverage (preferred) Very high dimensions (>20)
sobol Deprecated alias of quasi-random (emits a warning) New code (use quasi-random)
factorial Low dimension (<4), need all corners High dimension (exponential growth)

Factorial sizing: the factorial grid is levels evenly spaced values per parameter, producing exactly levels ** params samples. Set the resolution explicitly with --levels (e.g. --params 2 --levels 4 -> 16 samples). If you use --budget instead, the script back-computes levels = round(budget ** (1/params)) and warns whenever the realized sample count differs from the requested budget (e.g. --budget 20 --params 2 realizes 16 samples). For an exact design, pass a perfect power (--budget 16) or, preferably, --levels.

Read the full file on GitHub · 231 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 231 lines · 127 tokens per session scan A c3441ef9657c

Subscribe to this mod's changes

parameter-optimization is a skill published in the GitHub repository HeshamFS/materials-simulation-skills (74 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 127 tokens to every session and 3,333 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories