capacity-planning

capacity-planning is a skill for Claude Code, Codex from anatolykoptev/dozor. It costs 59 tokens per session (1,122 once invoked), scanned A, original, MIT.

A way to estimate how quickly a server's disk and other resources are being used and when they may run out.

In plain words
What is it for?
Measuring disk growth, finding reclaimable space, reviewing service resource use, and estimating the days until available capacity is exhausted.
Why use it?
It helps teams spot future capacity problems before storage or memory exhaustion becomes an outage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Measuring disk growth, finding reclaimable space, reviewing service resource use, and estimating the days until available capacity is exhausted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anatolykoptev/dozor/capacity-planning
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.

Any agent
npx skills add anatolykoptev/dozor --skill capacity-planning
Clone the repo
git clone --depth 1 https://github.com/anatolykoptev/dozor

Made for: Claude Code, Codex.

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-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/anatolykoptev/dozor/capacity-planning/github.svg)](https://agentmods.dev/skills/anatolykoptev/dozor/capacity-planning)
Your own site
<a href="https://agentmods.dev/skills/anatolykoptev/dozor/capacity-planning"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/capacity-planning/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 capacity-planning

Your own site · 80×15
<a href="https://agentmods.dev/skills/anatolykoptev/dozor/capacity-planning"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/capacity-planning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,122 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.00059 $0.01122
Opus 5 $0.00030 $0.00561
Sonnet 5 $0.00012 $0.00224
Haiku 4.5 $0.00006 $0.00112

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

Security

Grade A, and why

capacity-planning 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 12d 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.

skills/capacity-planning/SKILL.md · 139 lines

How it starts

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

Capacity Planning

Predict resource exhaustion before it becomes an incident.

Quick Assessment

Run these in sequence:

1. server_inspect(mode: "overview")    — current snapshot
2. server_cleanup(report: true)        — reclaimable space
3. server_inspect(mode: "health")      — service resource usage

Disk Capacity

Measuring Growth

Use the overview data to estimate daily growth:

Source Typical growth Check with
Docker images/cache 500MB-2GB/week server_prune dry-run
Container logs 50-500MB/day server_inspect(mode: "overview")
Journal logs 10-100MB/day server_cleanup(targets: ["journal"], report: true)
Application data (databases, indexes) Varies server_container_exec
Build artifacts (go, npm) 200MB-1GB/build server_cleanup(targets: ["go", "npm"], report: true)

Time-to-Exhaustion

Days remaining = (Total - Used) / Daily growth rate
Days remaining Urgency Action
> 90 days Healthy No action
30-90 days Watch Schedule cleanup, report to user
14-30 days Warning Run cleanup, set up regular pruning
7-14 days Critical Immediate cleanup + report to user
< 7 days Emergency Aggressive cleanup + escalate

Reporting Format

Disk: XX% used (YY GB free of ZZ GB)
Growth estimate: ~A GB/day
Time to 90%: ~B days
Time to full: ~C days
Top consumers: [list with sizes]
Reclaimable now: D GB (cleanup dry-run)

Memory Capacity

Per-Service Baselines

Track memory usage from server_inspect(mode: "health"). Define baselines for your services:

Service type Normal range Concern threshold
Database (postgres, mysql) 200-500MB > 1GB
Vector store (qdrant, milvus) 300-800MB > 1.5GB
API service 100-300MB > 500MB
Worker/consumer 50-150MB > 300MB
Search engine 100-200MB > 400MB

Read the full file on GitHub · 139 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. 12d ago First seen · 139 lines · 59 tokens per session scan A 513e8005d541

Subscribe to this mod's changes

capacity-planning is a skill published in the GitHub repository anatolykoptev/dozor (5 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,122 once invoked, about $0.0003 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-31.