simulation-runner

simulation-runner is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 90 tokens per session (1,287 once invoked), scanned A, original, Apache-2.0.

A local tool for running experiments on an already-solved mathematical model. It varies parameters, generates random samples for Monte Carlo analysis, and tests how outputs change when inputs are perturbed.

In plain words
What is it for?
Use it for parameter sweeps, Monte Carlo simulations, and one-at-a-time sensitivity analysis, with results such as averages, percentiles, and threshold probabilities.
Why use it?
It helps reveal whether a model's results remain stable when conditions or assumptions change. It is intended for local experiments, not production load testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/simulation.py --spec model.json --param rate --range 0.1 5.0 --steps 10.

Good fit Use it for parameter sweeps, Monte Carlo simulations, and one-at-a-time sensitivity analysis, with results such as averages, percentiles, and threshold probabilities.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/simulation-runner

Made for: Claude Code, Codex.

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 simulation-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/simulation-runner/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/simulation-runner)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/simulation-runner"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/simulation-runner/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 simulation-runner

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/simulation-runner"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/simulation-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,287 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.00090 $0.01287
Opus 5.5 $0.00036 $0.00515
Sonnet 5.5 $0.00018 $0.00257
Haiku 4.5 $0.00009 $0.00129

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

Security

Grade A, and why

simulation-runner 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 2mo ago.

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.

site/skills/programming/math/simulation-runner/SKILL.md · 122 lines

How it starts

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

Simulation Runner

Parameter sweeps, Monte Carlo, and sensitivity analysis.

Input Checklist

Input Required Description
spec No Model-spec JSON (read by parameter sweep / sensitivity)
mode No sweep / monte-carlo / sensitivity (determined by parameters); default auto
output No Write results to a file; default stdout

When missing, ask all at once: "Please provide: (1) the model or parameters to test (spec path, or give parameters directly in the command). Everything else uses defaults."

Pre-flight Checks

python3 --version
python3 -c "import numpy; print('numpy', numpy.__version__)"
test -f scripts/simulation.py && echo "OK script present"
  • Expected: version number printed; numpy <version> printed; the script exists.
  • On failure: missing numpy → pip install numpy; script missing → STOP and report.

Workflow

Step 1: Parameter Sweep

python3 scripts/simulation.py --spec model.json --param rate --range 0.1 5.0 --steps 10
  • Action: sample --steps points along --param between --range LO HI, recording the objective value.
  • Expected: output a sequence of objective values corresponding to each sampled point.
  • On failure: --range needs two floats → supply LO HI; the spec lacks the --param field → confirm the field name.

Step 2: Monte Carlo

python3 scripts/simulation.py --monte-carlo --n 10000 --mu 0 --sigma 1 --threshold 2
  • Action: generate --n random samples (mean --mu, std --sigma), and compute P(exceeding threshold) and quantiles.
  • Expected: output mean / std / p95 / p_exceed / threshold.
  • On failure: anomalous result (e.g. p_exceed not in 0~1) → check the --sigma/--threshold magnitudes.

Step 3: Sensitivity Analysis (OAT)

python3 scripts/simulation.py --sensitivity rate,noise,decay --perturbation 0.1
  • Action: perturb each parameter individually by ±--perturbation (default 0.1 = 10%) and measure the output change.
  • Expected: output a sensitivity ranking of each parameter.
  • On failure: a parameter name isn't in the spec → align the --sensitivity list with the spec fields.

Read the full file on GitHub · 122 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. 2mo ago Changed · -160 tokens per session b2e4bcce4624
  2. 2mo ago First seen · 122 lines · 250 tokens per session scan A 97372f023d0d

Subscribe to this mod's changes

simulation-runner is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,287 once invoked, about $0.0004 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-09-19.

Related

simulation-runner compared with skills from other repositories

simulation-runner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simulation-runnerMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A90Claude Code, Codex
drug-discoveryNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
sglang-diffusion-cache-ditsgl-project/sglangSkill39ktodayApache-2.0A161Claude Code
detecting-pv-signalsmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A218Claude Code
coding-icd10maziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A209Claude Code
deidentifying-clinical-textmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A144Claude Code
extracting-sdohmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A163Claude Code