Skip to content

Process-based discrete-event simulation framework in Python for queues, resources, and time-driven systems.

CCM score
69 of 100
skills.sh installs
266
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers SimPy workflow from defining entities and resources to implementing generator processes and collecting monitoring data
  • Includes resource types (Resource, PriorityResource, PreemptiveResource, Container, Store, FilterStore, PriorityStore) with usage patterns and quick-reference code
  • Provides runnable patterns for customer-server queues, producer-consumer systems, and parallel task coordination using env.process and event combinators
  • Designed for modeling manufacturing, service operations, network traffic, and logistics where entities compete for shared resources over time

Install

$ npx -y skills add davila7/claude-code-templates --skill simpy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SimPy - Discrete-Event Simulation

Overview

SimPy is a process-based discrete-event simulation framework based on standard Python. Use SimPy to model systems where entities (customers, vehicles, packets, etc.) interact with each other and compete for shared resources (servers, machines, bandwidth, etc.) over time.

Core capabilities:

  • Process modeling using Python generator functions
  • Shared resource management (servers, containers, stores)
  • Event-driven scheduling and synchronization
  • Real-time simulations synchronized with wall-clock time
  • Comprehensive monitoring and data collection

When to Use This Skill

Use the SimPy skill when:

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What is the simpy skill used for?

The simpy skill guides an agent in building process-based discrete-event simulations in Python with SimPy. It covers systems where entities such as customers, vehicles or packets interact with shared resources over time, like manufacturing systems, service operations, network traffic and logistics.

How do I install the simpy skill?

Run npx -y skills add davila7/claude-code-templates --skill simpy -y in your project to install it. Once installed, the agent can help you write SimPy environments, processes, resources and queue models.

Which kinds of simulations is simpy not suited for?

The skill is not meant for continuous simulations with fixed time steps, where SciPy ODE solvers fit better. It also does not suit independent processes without resource sharing, or pure mathematical optimization, which SciPy optimize handles.

Where does simpy sit in its category?

simpy is listed under Data Science & Analytics on Claude Marketplaces, alongside skills such as azure-kusto and run-train. It stands apart by focusing on discrete-event simulation of queues, resources and time-based events in Python.

More from davila7/claude-code-templates

All 398