autoscaling-capacity

autoscaling-capacity is a skill for Claude Code from controlplane-com/ai-plugin. It costs 57 tokens per session (2,894 once invoked), scanned A, original, MIT.

A guide for automatically adjusting the number of running application copies based on demand or resource use. It also covers choosing the right amount of CPU and memory for workloads.

In plain words
What is it for?
Use it to configure scaling by requests, concurrent requests, CPU, memory, latency, or events. It also covers scale-to-zero, minimum and maximum copies, KEDA, and workload right-sizing.
Why use it?
It helps keep applications responsive during busy periods and avoid running more capacity than needed. It brings scaling settings and capacity planning together.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cpln plugin — 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to configure scaling by requests, concurrent requests, CPU, memory, latency, or events. It also covers scale-to-zero, minimum and maximum copies, KEDA, and workload right-sizing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/controlplane-com/ai-plugin/autoscaling-capacity
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 controlplane-com/ai-plugin --skill autoscaling-capacity
Clone the repo
git clone --depth 1 https://github.com/controlplane-com/ai-plugin

Made for: Claude Code.

Or install cpln, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/autoscaling-capacity"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/autoscaling-capacity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,894 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.02894
Opus 5.5 $0.00023 $0.01158
Sonnet 5.5 $0.00011 $0.00579
Haiku 4.5 $0.00006 $0.00289

Measured 1mo ago against content hash b2096c929ca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autoscaling-capacity 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 1mo 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.

plugins/cpln/skills/autoscaling-capacity/SKILL.md · 144 lines

How it starts

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

Autoscaling & Capacity AI

Deep skill for scaling and resource optimization. Everything scaling lives in one block — spec.defaultOptions.autoscaling (with capacityAI beside it); spec.localOptions[] overrides it per location. The platform keeps the chosen metric near but below target. For workload types, production defaults, and the spec shape, start with the workload skill.

Picking a metric

Metric Scales on Types Notes
concurrency avg in-flight requests per replica serverless only (its default) pair with maxConcurrency for a hard per-replica cap
rps requests per second per replica all three consistent-response-time HTTP
cpu % of allocated CPU all three (stateful default) target ≤ 100; conflicts with Capacity AI (below)
memory % of allocated memory all three target ≤ 100
latency response time in ms at metricPercentile standard / stateful p50 (default) / p75 / p99; target is ms, not %
multi[] several metrics; highest replica count wins standard / stateful entries from cpu / memory / rps only, each at most once; replaces metric and top-level target
keda external / event-driven triggers standard / stateful GVC must enable KEDA first; target is rejected
disabled nothing — fixed at minScale all realized as min = max

If metric is omitted, serverless defaults to concurrency and stateful to cpu. Standard is the trap: with Capacity AI on (its default) an omitted metric resolves to disabled — min = max, no autoscaling — so always name the metric on a standard workload that must scale. A metric invalid for the workload type is rejected (e.g. concurrency on standard).

The metric constrains the type — decide them together. Type is chosen at creation and is immutable, so a metric-type mismatch is a type problem, not a metric problem. The most common case: concurrency-style scaling on a standard workload — the fix is to create the workload as serverless (concurrency lives only there) or use rps on standard (the closest equivalent), not to retry with the same pairing.

Read the full file on GitHub · 144 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. 1mo ago Changed · +5 lines b2096c929ca5
  2. 2mo ago Changed · -44 lines 8d8f71c146db
  3. 3mo ago First seen · 183 lines · 57 tokens per session scan A 8ba21891733c

Subscribe to this mod's changes

autoscaling-capacity is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 2,894 once invoked, about $0.0002 per session on Opus 5.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.

Related

autoscaling-capacity compared with skills from other repositories

autoscaling-capacity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autoscaling-capacitycontrolplane-com/ai-pluginSkill12yesterdayMITA57Claude Code
ak-cloud-deployyaalalabs/agent-kernelSkill195todayApache-2.0A204Claude Code, Codex
huawei-cloud-cce-env-assessmenthuaweicloud/huaweicloud-skillsSkill59todayMITA69Claude Code, Codex
cloud-native-aws-serverlessj4flmao/agent-skillsSkill4715d agoMITA84Claude Code, Codex
cloud-native-kubernetes-masteryj4flmao/agent-skillsSkill4715d agoMITA85Claude Code, Codex
cloud-native-azure-functionsj4flmao/agent-skillsSkill4715d agoMITA82Claude Code, Codex
cloud-native-security-defensivej4flmao/agent-skillsSkill4715d agoMITA91Claude Code, Codex