capacity-check

capacity-check is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 12 tokens per session (694 once invoked), scanned A, original, Apache-2.0.

A command that examines Auvik interface statistics to find links with high or recurring network utilization. It compares traffic rates with link speed and reports sustained and peak usage.

In plain words
What is it for?
Use it during incident investigation or capacity planning to find congested uplinks, WAN links, and network trunks.
Why use it?
It helps explain slow network performance and identify links that may need more capacity before they become a larger problem.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the auvik plugin — 1 skill, 5 commands, 3 agents shipped together

Good fit Use it during incident investigation or capacity planning to find congested uplinks, WAN links, and network trunks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/capacity-check
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.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install auvik, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 3 agents.

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 capacity-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/capacity-check.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/capacity-check)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/capacity-check"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/capacity-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 694 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.00012 $0.00694
Opus 5 $0.00006 $0.00347
Sonnet 5 $0.00002 $0.00139
Haiku 4.5 $0.00001 $0.00069

Measured 4d ago against content hash 76b76c55328f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

capacity-check 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 4d 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/auvik/auvik/commands/capacity-check.md · 75 lines

How it starts

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

Auvik Capacity Check

Pull interface statistics for a tenant and flag any link running hot. The output supports both incident response ("why is the network slow right now?") and capacity planning ("which links will we need to upgrade in the next quarter?").

Prerequisites

  • Tools: auvik_interfaces_list, auvik_statistics_interface, auvik_devices_get, auvik_statistics_device

Steps

  1. Enumerate interfaces

    Call auvik_interfaces_list for the tenant. Filter to interfaces that are admin-up and oper-up - down links produce no utilization signal. Prioritize uplinks, WAN interfaces, and trunks; deprioritize user-facing access ports unless the user specifically asked.

  2. Pull statistics

    For each candidate interface call auvik_statistics_interface over window. Pull at minimum bandwidthInRate and bandwidthOutRate (or the equivalent fields the response exposes), plus error/discard counters if available.

  3. Compute utilization

    For each sample, utilization = max(in, out) / linkSpeed. Track:

    • Peak utilization in the window
    • Sustained utilization at the 95th percentile (the standard MSP framing)
    • Count of intervals above 70%
  4. Classify each interface

    • Saturated - p95 > 70%, or peak > 90% with > 5% of intervals above 70%. Flag for upgrade.
    • Warm - p95 between 40% and 70%. Monitor; consider for upgrade if growth trend is upward.
    • Cool - p95 < 40%. Healthy.
  5. Surface error and discard hotspots separately

    An interface that is not saturated but is dropping packets or seeing CRC errors is a different problem (cable, optic, duplex mismatch) - flag it in its own section.

  6. Cross-reference device health

    For each device owning a saturated interface, call auvik_statistics_device to check CPU and memory in the same window. A saturated link on a CPU-bound device is a different conversation than a saturated link on a healthy device.

  7. Output

    Sections:

    • Saturated interfaces - table with device, interface, link speed, p95, peak, % time above 70%
    • Warm interfaces - same table, watchlist
    • Error/discard hotspots - device, interface, error count, error rate
    • Devices with elevated CPU/memory that own saturated interfaces

Read the full file on GitHub · 75 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. 4d ago First seen · 75 lines · 12 tokens per session scan A 76b76c55328f

Subscribe to this mod's changes

capacity-check is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 5d ago), licensed Apache-2.0. It adds 12 tokens to every session and 694 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-09-04.