simpy
Skill by K-Dense-AI
Builds, inspects, tests, and analyzes process-based discrete-event simulations with SimPy 4.1.2. It is for developers and analysts modeling queues, resources, and event-driven systems.
Install simpy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/simpy ~/.claude/skills/simpyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/simpy ~/.gemini/antigravity-cli/skills/simpyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through building discrete-event simulations with SimPy. It covers generator-based processes, event scheduling, shared resources such as queues and stores, interrupts, and monitoring. It stresses bounding every run by time, entity, event, and replication limits, so endless processes cannot hang a model.
The skill also bundles small Python CLIs that use only SimPy and the standard library. They run a fixed built-in queue scenario, run independent replications with Student-t intervals, summarize event traces, and validate simulation config files. The skill is aimed at people doing operations, logistics, or queueing studies who need reproducible output analysis. It states that SimPy does not choose a valid conceptual model, so modeling judgment stays with the user.
Written from the project's SKILL.md and checked against it.
What it can do
- Build bounded modelsWrites SimPy process-based models with explicit time, entity, and event caps.
- Shared resourcesExplains Resource, PriorityResource, PreemptiveResource, Container, Store, FilterStore, and PriorityStore.
- InterruptsGuides handling of process interrupts and preemption causes.
- MonitoringDescribes time-weighted queue measurements and state-transition instrumentation.
- Independent replicationsRuns replications and reports intervals from replication-level estimates.
- Bounded queue scenarioRuns a deterministic built-in queue scenario through bounded_queue_scenario.py.
- Event trace summarySummarizes local event trace artifacts with event_trace_summary.py.
- Config validationValidates simulation config JSON files without running simulations.
- Real-time executionDescribes RealtimeEnvironment use and timing test considerations.
What you need
- Python 3.10 or later for the bundled CLIs
- uv
- SimPy 4.1.2
Try asking
- Build a bounded SimPy queue model with two servers and a 480 minute horizon
- Run independent replications of my queue model and report confidence intervals
- Validate my simulation config JSON before running anything
Good to know
- Bundled CLIs use a fixed built-in queue model or summarize local artifacts.
- CLIs reject URLs, symlinks, non-finite numbers, and unbounded time, event, entity, or replication settings.
- The replication runner refuses intervals from a single replication.
- Intervals quantify Monte Carlo uncertainty only. They do not validate the model or identify causal effects.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/simpy/SKILL.md, skills/simpy/scripts/_common.py, skills/simpy/scripts/basic_simulation_template.py, skills/simpy/scripts/bounded_queue_scenario.py, skills/simpy/scripts/event_trace_summary.py, skills/simpy/scripts/replication_runner.py, skills/simpy/scripts/resource_monitor.py, skills/simpy/scripts/validate_simulation_config.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash Glob
-
SKILL.md14 KB -
references/cli-guide.md9 KB -
references/events.md8 KB -
references/monitoring.md9 KB -
references/process-interaction.md8 KB
Show all 16 files
-
references/real-time.md5 KB -
references/resources.md9 KB -
references/simulation-methodology.md12 KB -
references/sources.md13 KB -
scripts/_common.py15 KB -
scripts/basic_simulation_template.py14 KB -
scripts/bounded_queue_scenario.py4 KB -
scripts/event_trace_summary.py11 KB -
scripts/replication_runner.py6 KB -
scripts/resource_monitor.py16 KB -
scripts/validate_simulation_config.py4 KB
Alternatives to simpy
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
simpy: common questions
Does this skill make network calls or run my Python code?
The source says the bundled CLIs make no network calls. They never execute user Python, import plugins, or evaluate config text.
Does SimPy choose my model assumptions for me?
No. The source says SimPy does not choose a valid conceptual model, input distributions, warm-up, run length, or replication count.
Which SimPy version does the skill target?
The source names SimPy 4.1.2 as the latest stable release, reviewed on 2026-10-01, and says to use the versioned 4.1.2 documentation.
How do I install simpy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is simpy free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is simpy safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to simpy?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
