stateful-storage

stateful-storage is a skill for Claude Code from controlplane-com/ai-plugin. It costs 45 tokens per session (3,482 once invoked), scanned A, original, MIT.

A storage-management guide for Control Plane, a platform for running workloads such as applications and databases. It explains how to create, mount, expand, snapshot, restore, and remove persistent volumes, which keep data after a workload restarts.

In plain words
What is it for?
Use it when setting up disks or shared storage, mounting volumes, expanding or shrinking them, managing snapshots, choosing filesystems, or backing up workload data.
Why use it?
It helps avoid losing workload data and prevents configuration mistakes when changing storage. It also explains which storage settings cannot be changed after creation.

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 when setting up disks or shared storage, mounting volumes, expanding or shrinking them, managing snapshots, choosing filesystems, or backing up workload data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/controlplane-com/ai-plugin/stateful-storage
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 stateful-storage
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 stateful-storage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/stateful-storage"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/stateful-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,482 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.00045 $0.03482
Opus 5.5 $0.00018 $0.01393
Sonnet 5.5 $0.00009 $0.00696
Haiku 4.5 $0.00005 $0.00348

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

Security

Grade A, and why

stateful-storage 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/stateful-storage/SKILL.md · 172 lines

How it starts

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

Stateful Storage & VolumeSets

A VolumeSet is GVC-scoped persistent storage for workloads. The workload skill covers the basics (stateful type, reserved mount paths, the 15-volume limit, create-then-verify); this skill is the full volume-set detail. The one trap that drives most rework: fileSystemType and performanceClass are immutable (a PATCH that changes either returns HTTP 400) — to change either you must create a new volumeset, and the old data does not carry over. Choose both at creation.

Most databases don't need this skill: mcp__cpln__add_database installs Postgres, MySQL, MariaDB, MongoDB, or Redis with the volume set and generated credentials wired, and the template-catalog skill covers the rest. An app that only needs a data directory passes storage to mcp__cpln__deploy_app, which creates and mounts the volume set and picks the workload type. Hand-build only for anything else.

Filesystem types and performance classes

Filesystem Access Workloads Volumes provisioned Snapshots / shrink / copy / delete-volume
ext4 read-write-once one stateful/vm workload one per replica, per location yes
xfs read-write-once one stateful/vm workload one per replica, per location yes
shared read-write-many any workload type, many at once one per location (shared by all replicas) no — expand only
Performance class Min Max Filesystems
general-purpose-ssd 10 GB 65536 GB ext4, xfs
high-throughput-ssd 200 GB 65536 GB ext4, xfs
shared 10 GB 65536 GB shared (auto-set)

When fileSystemType: shared, performanceClass is auto-set to shared — do not specify another. Data is per-location and never replicated across locations; for cross-location redundancy, replicate at the application layer (e.g. WAL streaming).

Create a volumeset

mcp__cpln__mount_volumeset_to_workload creates the volume set when given a size and mounts it in the same call (see Mount below); mcp__cpln__create_volumeset (needs ?toolsets=full) creates one alone. MCP create/mount tools default fileSystemType to xfs and performanceClass to general-purpose-ssd; the raw API/cpln apply default is ext4. YAML for IaC / CLI fallback:

Read the full file on GitHub · 172 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 66db664b444f
  2. 2mo ago Changed · -32 lines f6896fe24139
  3. 3mo ago First seen · 204 lines · 45 tokens per session scan A 60e674b5854a

Subscribe to this mod's changes

stateful-storage is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 3,482 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

stateful-storage compared with skills from other repositories

stateful-storage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stateful-storagecontrolplane-com/ai-pluginSkill12yesterdayMITA45Claude 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