stateful-storage

stateful-storage is a skill for Claude Code from controlplane-com/ai-plugin. It costs 45 tokens per session (3,277 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 — 31 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 31 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,277 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.03277
Opus 5.5 $0.00018 $0.01311
Sonnet 5.5 $0.00009 $0.00655
Haiku 4.5 $0.00005 $0.00328

Measured 17d ago against content hash f6896fe24139, 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 17d 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

Tool availability: the snapshot tools, shrink_volumeset, and delete_volumeset_volume need ?toolsets=full; reconnect with it or use the CLI.

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 / 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).

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. 17d ago Changed · -32 lines f6896fe24139
  2. 1mo 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 (11 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 3,277 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

Other skills, from other repositories

ak-cloud-deploy

Deploy an Agent Kernel project to AWS, Azure, or GCP using Terraform modules, or to any Kubernetes cluster (on-prem, baremetal, EKS) using the official Helm chart. Supports serverless and containerized modes for all three clouds. AWS supports execution modes (restsync, restasync, async, stream), queue-based scalable…

yaalalabs/agent-kernel · 157 tokens

huawei-cloud-cce-env-assessment

A skill for huawei cloud container(CCE) assessment. It automatically collects metrics and configurations from containerized application environments on Huawei Cloud to generate a comprehensive assessment report. Use this when users want to evaluate if their Huawei Cloud applications align with cloud-native best…

huaweicloud/huaweicloud-skills · 69 tokens

serverless-expert

Design and implement production-grade serverless applications with optimal performance, cost efficiency, and scalability. Use when the user mentions serverless or FaaS, AWS Lambda, Azure Functions, Cloud Functions, cold starts, event-driven architecture, or API Gateway-fronted workloads.

personamanagmentlayer/pcl · 58 tokens

openpitrix

KubeSphere OpenPitrix application management Skill. Use when users ask about KubeSphere App Store, OpenPitrix, Helm/YAML application templates, application repositories, app versions, app releases, categories, review states, repository sync, or troubleshooting application installation and upgrade issues.

kubesphere/kubesphere · 60 tokens

kubesphere-openkruise

KubeSphere OpenKruise management Skill. Use when user asks to install or enable OpenKruise, check OpenKruise status, view kruise pods/logs/CRDs, create or update SidecarSet, manage sidecar injection, create or update CloneSet, perform in-place update or batch rollout, uninstall or remove OpenKruise, or troubleshoot…

kubesphere/kubesphere · 99 tokens

kubesphere-volcano

KubeSphere Volcano job management Skill. Use when user asks to create, list, update, delete Jobs (Volcano Jobs), manage Queues, create PyTorch/TensorFlow/MPI training jobs, or troubleshoot Volcano scheduling issues in KubeSphere. Includes built-in YAML templates, scheduling policy recommendations, and best practices…

kubesphere/kubesphere · 85 tokens