simulation

simulation is a skill for Claude Code from queelius/claude-anvil. It costs 27 tokens per session (1,348 once invoked), scanned A, original, MIT.

A tool for designing Monte Carlo simulations, which repeatedly uses random samples to test how a method behaves. It focuses on validating theoretical results in statistical research, including sample size, convergence, and result presentation.

In plain words
What is it for?
Use it to plan statistical simulations, choose sample sizes, check convergence, and present simulation results in a methodology paper.
Why use it?
A formula or theorem may behave differently with real-sized samples than it does in theory. Simulations help reveal that behavior and test whether the expected results hold.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the papermill plugin — 13 skills, 14 agents shipped together

Good fit Use it to plan statistical simulations, choose sample sizes, check convergence, and present simulation results in a methodology paper.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/queelius/claude-anvil/simulation
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 queelius/claude-anvil --skill simulation
Clone the repo
git clone --depth 1 https://github.com/queelius/claude-anvil

Made for: Claude Code.

Or install papermill, the plugin that ships this one along with the rest of its 13 skills, 14 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/queelius/claude-anvil/simulation"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/simulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,348 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.00027 $0.01348
Opus 5.5 $0.00011 $0.00539
Sonnet 5.5 $0.00005 $0.00270
Haiku 4.5 $0.00003 $0.00135

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

Security

Grade A, and why

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

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.

papermill/skills/simulation/SKILL.md · 129 lines

How it starts

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

Monte Carlo Simulation Design

Help the researcher design rigorous Monte Carlo simulations to validate theoretical results. Simulations bridge the gap between theory and practice: they demonstrate that analytical formulas work as predicted and reveal finite-sample behavior.

Step 1: Read Context

Read .papermill/state.md (Read tool) for:

  • Thesis: What theoretical result needs validation.
  • Experiments: Any existing simulation experiments.

If .papermill/state.md does not exist, ask the user which theoretical result needs validation. Simulation design can proceed without the state file: suggest running /papermill:init afterward.

Scan the repository for existing simulation code and results (Glob/Read tools).

Step 2: Identify What to Validate

Ask: "Which theoretical result are you validating with this simulation?"

Common simulation targets in methodology papers:

  • Asymptotic distributions: Does the CLT approximation hold at finite n?
  • Estimator properties: Is the MLE unbiased? What is its MSE?
  • Covariance/information matrices: Does the empirical covariance match the theoretical Fisher information?
  • Confidence interval coverage: Do 95% CIs actually cover 95% of the time?
  • Power analysis: Can the test detect a given effect size?
  • Algorithm convergence: Does the optimizer find the right answer?

Step 3: Design the Simulation

Parameters

  • True parameter values: Choose several configurations spanning easy, moderate, and hard cases.
  • Sample sizes: Include small (n=20-50), moderate (n=100-500), and large (n=1000+) to show convergence.
  • Number of replications: Typically R=1,000-10,000. More replications reduce Monte Carlo error but cost time. The Monte Carlo standard error for a proportion p is sqrt(p(1-p)/R).

Data Generation

Specify exactly how to generate synthetic data:

  1. Set random seed for reproducibility.
  2. Generate from the known model with known true parameters.
  3. Apply the estimation/inference procedure to each replicate.
  4. Collect the quantities of interest.

Read the full file on GitHub · 129 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 Changed 9b6945f9518f
  2. 1mo ago First seen · 129 lines · 27 tokens per session scan A 0c45a8696adf

Subscribe to this mod's changes

simulation is a skill published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 28d ago), licensed MIT. It adds 27 tokens to every session and 1,348 once invoked, about $0.0001 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-10-19.

Related

simulation compared with skills from other repositories

simulation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simulationqueelius/claude-anvilSkill328d agoMITA27Claude Code
cpp-reinforcement-learningAznatkoiny/zAI-SkillsSkill1023d agoMITA131Claude Code
auto-researchchristyjacob4/claude-tricksSkill28mo agoMITA170Claude Code
alphaxiv-paper-lookupchristyjacob4/claude-tricksSkill28mo agoMITA40Claude Code
omh-geospatial-analysisrlaope/oh-my-hermesSkill6.2ktodayMITA19Claude Code
manim-videoWrongStack/WrongStackSkill446todayMITA101Claude Code, Codex
demoalivecontext/aliveSkill13213d agoMITA50Claude Code