support-staffing-model

support-staffing-model is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 84 tokens per session (795 once invoked), scanned A, original, MIT.

A staffing calculation for customer-support queues using Erlang C, a mathematical model for waiting lines. It estimates how many agents are needed to meet a target response-time service level.

In plain words
What is it for?
It helps test staffing levels under different contact volumes, account for breaks and other unavailable time, and check service level, wait time, and occupancy.
Why use it?
It avoids staffing based only on tickets per agent, which can leave queues overloaded and customers waiting too long.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/erlang_staffing.py plan staffing.xlsx --arrivals 120 --aht 6 --sla 0.8 --answer-in 60 --shrinkage 0.3.

Good fit It helps test staffing levels under different contact volumes, account for breaks and other unavailable time, and check service level, wait time, and occupancy.

Compare 6 cursor rules from other repositories ↓
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,357 stars · on GitHub · mohitagw15856.github.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills
agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/support-staffing-model

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for support-staffing-model

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/support-staffing-model/github.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/support-staffing-model)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/support-staffing-model"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/support-staffing-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for support-staffing-model

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/support-staffing-model"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/support-staffing-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.00795
Opus 5 $0.00042 $0.00398
Sonnet 5 $0.00017 $0.00159
Haiku 4.5 $0.00008 $0.00080

Measured 8d ago against content hash 730f1724e576, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

support-staffing-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

exports/cursor/pm-calculators/support-staffing-model/support-staffing-model.mdc · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Support Staffing Model

Queues are counterintuitive: at high occupancy, one extra contact per hour explodes wait times, and "tickets ÷ tickets-per-agent" staffing walks teams straight into the cliff. Erlang C is the century-old math call centers run on; this skill runs it for you, honestly labelled.

Required Inputs

  • Contacts per hour (peak hour, not daily average — queues die at peaks) and average handle time in minutes.
  • The SLA — "X% answered within Y seconds/minutes". If none exists, propose one before staffing to it.
  • Shrinkage — the fraction of paid time agents aren't available (meetings, breaks, training). Teams that skip this understaff by 30-40%; default 0.3.

Output Format

  1. The staffing table — for load scenarios (0.8×, 1×, 1.25×, 1.5×): agents on-queue, rostered headcount after shrinkage, achieved service level, average speed of answer, occupancy.
  2. The occupancy warning — anywhere occupancy exceeds ~90%, say plainly: the SLA may hold while the team burns out; staff for the humans.
  3. The folklore contrast — the naive tickets-per-agent number next to the Erlang answer, so the reader sees what the old method was hiding.
  4. Model limits, stated — M/M/c assumes Poisson arrivals; real queues are burstier, so these are floors.

Programmatic Helper

This skill ships scripts/erlang_staffing.pyzero dependencies; run it rather than approximating:

python3 scripts/erlang_staffing.py plan staffing.xlsx --arrivals 120 --aht 6 --sla 0.8 --answer-in 60 --shrinkage 0.3

Prints the base case (base 15 on-queue / 22 rostered · SL 81% · ASA 38s · occ 80%) and writes an .xlsx with editable assumption cells and the scenario table. Requires a code-execution environment.

Quality Checks

  • Numbers come from the script's Erlang C computation, quoted — never estimated in prose
  • Shrinkage is applied and its value stated; a 0% shrinkage plan is flagged as fiction
  • Occupancy appears next to every scenario, with the >90% burnout warning where it triggers
  • Peak-hour arrivals were used, or the answer says "daily average used — peaks will breach"
  • The M/M/c floor-not-ceiling caveat is present

Read the full file on GitHub · 49 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 49 lines · 84 tokens per session scan A 730f1724e576

Subscribe to this mod's changes

support-staffing-model is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,357 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 795 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.