happy-sim-scaffold

Generate Python discrete-event simulation code using the happysimulator library.

11|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/adamfilli/happy-simulator --skill happy-sim-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: happy-sim-scaffold
Source: https://github.com/adamfilli/happy-simulator/tree/main/.claude/skills/happy-sim-scaffold
Command: npx skills add https://github.com/adamfilli/happy-simulator --skill happy-sim-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of discrete-event simulations using the happysimulator library, transforming high-level descriptions into runnable Python code.

Core Features & Use Cases

  • Code Generation: Generates a complete, well-structured Python simulation file based on user input.
  • Component Catalog: Leverages a rich set of pre-built happysimulator components for various domains like queuing, networking, and industrial processes.
  • Use Case: Describe a factory production line with specific machines, queues, and arrival rates, and the Skill will generate the Python code to simulate it.

Quick Start

Use the happy-sim-scaffold skill to generate a Python simulation for a coffee shop with a single barista and a queue.

Frequently Asked Questions about happy-sim-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Python code for a discrete-event simulation?

To generate discrete-event simulation code, you provide a high-level description of your system. This Skill transforms that text into a complete, runnable Python file using the happysimulator library to model complex dynamics.

What is discrete-event simulation used for in Python?

Discrete-event simulation in Python models complex systems like factory production lines, networking, and behavioral dynamics. It tracks state changes at specific event times, facilitating analysis of queuing and industrial processes.

Can I use built-in components for queuing and networking simulations?

Yes, you can use built-in components for queuing and networking simulations. The generated code leverages a rich catalog of pre-built happysimulator components to ensure efficiency and reproducibility across various domains.

How do I model a production line with specific machines and arrival rates?

To model a production line, you describe the specific machines, queues, and arrival rates in text. The Skill processes this description to generate the Python code needed to simulate the industrial process accurately.

Does the generated simulation code follow strict coding conventions?

Yes, the generated simulation code follows strict coding conventions for time, events, and generators. This prioritization of built-in components ensures the discrete-event simulation runs efficiently and remains reproducible.