queue-status

queue-status is a command for coding agents from WYRE-AI/msp-claude-plugins. It costs 11 tokens per session (473 once invoked), scanned A, original, Apache-2.0.

A read-only snapshot of staffing and current call load for one or more 3CX call queues. A queue is a shared line where incoming calls wait for available agents.

In plain words
What is it for?
Use it to check queue staffing, logged-in agents, active calls, and queues that have calls waiting without any logged-in agents.
Why use it?
It distinguishes the number of assigned agents from the agents actually logged in and shows when calls have no available staff.

Command

Part of the 3cx plugin — 4 skills, 3 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/queue-status
Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Or install 3cx, the plugin that ships this one along with the rest of its 4 skills, 3 commands.

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 queue-status

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/queue-status.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/queue-status)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/queue-status"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/queue-status.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00473
Opus 5 $0.00005 $0.00236
Sonnet 5 $0.00002 $0.00095
Haiku 4.5 $0.00001 $0.00047

Measured 3d ago against content hash 23879f50c2db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

queue-status 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 3d 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.

msp-claude-plugins/3cx/3cx/commands/queue-status.md · 65 lines

What it actually says

Queue Status

A read-only staffing snapshot for one queue, or every queue the connected account can access if none is specified: who's logged in, and how many calls are active against it right now.

Prerequisites

  • A 3CX PBX connected (directly or through Conduit's BYO connector) with a valid, authenticated MCP session — see the api-patterns skill
  • MCP tools available for listing queues, a queue's agents, and currently active calls (see the calls-queues skill)

Steps

  1. Resolve the queue(s) in scope

    If a queue name or ID was given, use it directly. Otherwise, list queues the user can access/manage and cover all of them.

  2. Pull staffing for each queue

    List each queue's agents. Note which are logged in versus logged out — a queue can look adequately staffed by headcount while most agents are actually logged out.

  3. Cross-reference active call load

    List currently active calls and match them against the queue(s) in scope, where the tool's response makes that association available.

  4. Report

    For each queue: agent count, logged-in count, and active call count. Flag any queue with active calls but zero logged-in agents — that's the pattern that actually matters, not raw call volume.

Examples

/queue-status
/queue-status "Support"
/queue-status queue-42

Error Handling

  • Queue not found: Re-list queues the user can access/manage — the requested name or ID may not match, or may belong to a queue this connection's account can't see.
  • No active calls returned but the queue is known to be busy: Confirm the MCP session hasn't gone stale (see /pbx-health-check) before reporting the queue as idle.
  • /find-contact — resolve who a specific agent extension belongs to
  • /pbx-health-check — broader PBX liveness check if queue data looks stale or missing
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. 3d ago First seen · 65 lines · 11 tokens per session scan A 23879f50c2db

Subscribe to this mod's changes

queue-status is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (43 stars, last pushed 3d ago), licensed Apache-2.0. It adds 11 tokens to every session and 473 once invoked, about $0.0001 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-08-30.