Claude Code SimPy Skill for a Single-Server Queue
Model arrival processes and a shared service resource, then record arrival, service start, and departure times. Check waiting logic before comparing capacity.
中文Install in Claude Code
Use Claude Code with the full pinned skill and a Python environment with SimPy. Bring arrival times, service durations, and resource capacity.
- Get the complete `cli-tool/components/skills/scientific/simpy` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/simpy/SKILL.md`, open Claude Code at the project root, and call `/simpy`.
Example task
One fictional counter serves A from arrival at minute zero for four minutes. B arrives at minute one and needs two minutes. Record service start, departure, and waiting for both.What to check
A starts at zero, departs at four, and waits zero. B starts at four, departs at six, and waits three minutes. With capacity two, neither waits.
Original SKILL.md on GitHub · Updated
Frequently asked question
How should queue wait be calculated?
Subtract arrival time from service-start time. Record service duration separately so the two costs are visible.