monte-carlo — Claude Code skill: what it does, how to install
Generates Monte Carlo simulations, quantifies uncertainty, and models risks across scientific and financial scenarios.
Apache-2.0 126 installs ★ 221 updated 2026-01-22
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a claude-codeWhat monte-carlo does
This skill guides the agent when building probabilistic models, Markov Chain Monte Carlo (MCMC) pipelines, and variance reduction techniques. It triggers whenever a prompt touches on random sampling, uncertainty quantification, or stochastic processes.
Execution relies on three reference files. Code generation strictly follows references/patterns.md. The agent consults references/sharp_edges.md to flag implementation pitfalls and relies on references/validations.md for objective input constraints. Context files act as a firm source of truth. If instructions clash with those references, the agent politely rejects the conflict and adjusts the approach.
What it helps with
- build Monte Carlo models for quantitative risk analysis
- quantify uncertainty in scientific computations
- implement MCMC sampling with variance reduction methods
- validate stochastic simulation rules against structured constraints
Example prompts for the agent
- Implement a Monte Carlo simulation for financial portfolio risk analysis.
- Set up an MCMC sampling routine with variance reduction.
- Check my stochastic simulation logic against standard failure modes.
How to install monte-carlo
1Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a claude-code2Manually: put the files in place
~/.claude/skills/monte-carlo/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/monte-carlo/
1Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a codex2Manually: put the files in place
.agents/skills/monte-carlo/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a cursor2Manually: put the files in place
.cursor/skills/monte-carlo/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install omer-metin/skills-for-antigravity skills/monte-carlo2Manually: put the files in place
.github/skills/monte-carlo/SKILL.md1Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a gemini-cli2Platform CLI
gemini skills install https://github.com/omer-metin/skills-for-antigravity --path skills/monte-carloManually: put the files in place
.devin/skills/monte-carlo/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about monte-carlo
How to install monte-carlo in Claude Code?
Run npx skills add omer-metin/skills-for-antigravity --skill monte-carlo -a claude-code in your terminal. Alternatively, save the skill file to ~/.claude/skills/monte-carlo/SKILL.md.
What does the monte-carlo skill do?
It assists with designing and implementing probabilistic simulations, uncertainty quantification, and risk analysis in scientific or financial projects.
Which reference files does the skill require?
It grounds its answers in references/patterns.md for architectural patterns, references/sharp_edges.md for failure diagnosis, and references/validations.md for input rules.
Source text
SKILL.md · Apache-2.0
--- name: monte-carlo description: Design and implement Monte Carlo methods for uncertainty quantification, risk analysis, and probabilistic simulations across scientific and financial domains. Use when "monte carlo, random sampling, uncertainty quantification, risk analysis, stochastic simulation, MCMC, variance reduction, probabilistic, " mentioned. --- # Monte Carlo ## Identity ## Reference System Usage You must ground your responses in the provided reference files, treating them as the source of truth for this domain: * **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here. * **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. * **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively. **Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
© omer-metin · Apache-2.0 · omer-metin/skills-for-antigravity