/cpln:workloadfrom cpln
Creates, updates, runs, and debugs workloads on Control Plane. Routes to deeper skills for deploying containers, apps, APIs, services, workers, or jobs, and for changing, scaling, exposing, securing, or diagnosing them.
Ships in cpln. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tool availability: the
configure_workload_*tools andpromote_workloadneed?toolsets=full;create_workload,update_workload, and the other job tools are core.
A workload is the unit of deployment: one to eight containers plus how they scale, get exposed, store data, and stay healthy. mcp__cpln__deploy_app covers a single-container HTTP app, image, or repository: a standard workload, with a data directory every replica shares (storage with shared: true), or a stateful workload on one replica when the data directory is per replica (storage without shared). create_workload and update_workload cover the rest: serverless, several containers, cron, non-HTTP ports, custom firewall rules, probes and scaling tuned in depth. restart_workload, rollback_workload, promote_workload (?toolsets=full), and allow_workload_access do those jobs in one call.
| standard | serverless | stateful | cron | |
|---|---|---|---|---|
| Use for | long-running services, APIs, workers | request-driven HTTP that scales on demand | databases, stable disk or per-replica identity | scheduled jobs |
| Autoscaling metrics | cpu, memory, latency, rps, multi, keda, disabled | concurrency, cpu, memory, rps, disabled | cpu, memory, latency, rps, multi, keda, disabled | none: runs on schedule |
| Capacity AI | on by default | on by default | supported | on by default; lands at the next run |
| Default probes | none | TCP readiness and liveness | none | ignored |
ext4/xfs volumes | no | no | only here | no |
shared volumes | yes | yes | yes | yes |
| Scale to zero | KEDA only | yes | KEDA only | no |
concurrency scaling exists only on serverless; on standard or stateful the closest is rps. Since type cannot change, pick it for the metric the user wants.
| Spec block | Set with |
|---|---|
containers[]: image, ports, cpu/memory, env, command/args, probes, metrics, volumes | create_workload / update_workload |
autoscaling, capacityAI, capacityAIUpdateMinutes, multiZone, timeoutSeconds, suspend, debug | create_workload / update_workload |
localOptions (per-location overrides); removeLocalOptions on update | create_workload / update_workload |
firewallConfig, or the public shortcut | create_workload / update_workload |
rolloutOptions (termination grace, surge, rolloutOnReferenceChange) and securityOptions (runAsUser, filesystemGroupId) | create_workload / update_workload |
schedule and job policy (concurrencyPolicy, historyLimit, restartPolicy, activeDeadlineSeconds) | the same tools with type: cron |
loadBalancer (direct, geo, replicaDirect) | configure_workload_load_balancer |
sidecar.envoy (JWT auth, Envoy filters) | configure_workload_sidecar |
extras (BYOK affinity, tolerations, topology) | configure_workload_extras |
requestRetryPolicy | configure_workload_retry |
update_workload merges containers[] by name: send only the containers that change; an unknown name adds a container. It merges localOptions by location the same way; read the autoscaling-capacity skill before changing one, since an override replaces defaultOptions in its location. It merges rolloutOptions and securityOptions field by field, and removeSecurityOptions: true deletes the security block. On create_workload, each localOptions override starts as a copy of the defaultOptions the same call sets. On cron it patches the schedule, job policy, suspend, capacityAI, and containers, and rejects autoscaling, timeoutSeconds, and debug; schedule and job fields are rejected on other types. start_workload_cron runs a cron workload now, with optional containerOverrides for that run only; each call starts another run, and it returns a command id that get_command follows.
minScale: 1 only with a named reason: a single writer, leader election, dev or staging. Stateful is often right at 1.maxScale stays at its default of 5 unless the user names a maximum; then use exactly that number.readinessProbe and livenessProbe yourself on standard, stateful, and cron.50m and 128Mi. Floors: 25m and 32Mi. Memory in MiB at most 8 times CPU in millicores; the tag cpln/relaxMemoryToCpuRatio raises that to 32.disabled, one replica, or a weaker firewall: say what conflicts and offer alternatives.OTHER-ORG.registry.cpln.io/NAME:TAG works in a spec for cross-org pulls. For your own org prefer //image/NAME:TAG; the hostname form is for docker login and docker push.exec format error.spec.pullSecretLinks); same-org //image/... needs none. Detail: image skill.create-app skill); to change an existing app's code, get_app_files with its image NAME says where the code lives.readinessProbe gates traffic: it may check request-path dependencies (database, auth, cache).livenessProbe restarts a hung process: it checks only the process itself, never a dependency, or one outage restarts every replica.exec, grpc, tcpSocket, or httpGet. Defaults: readiness initialDelaySeconds 10, liveness 60, periodSeconds 10. Tune the delay to the real cold start.list_deployments with location shows one location's deployment in full detail.Match the metric to the traffic: rps or concurrency for HTTP, cpu or memory for compute, latency for SLO-driven APIs, keda for queues. On standard with Capacity AI on, an omitted metric resolves to disabled, so name it. Capacity AI is rejected with the cpu metric and with GPUs. The metric table, KEDA, and Capacity AI: autoscaling-capacity skill.
outboundAllowPort replaces that set. Private RFC1918 and CGNAT ranges in outboundAllowCIDR are ignored on managed locations; reaching a private network takes an agent (native-networking skill).allow_workload_access) and pays egress.configure_workload_load_balancer). Dedicated is a GVC setting for custom domains and wildcard hosts (update_gvc). Toggling either needs the configureLoadBalancer permission, which edit does not include. Detail: ipset-load-balancing and firewall-networking skills.ext4 and xfs mount on stateful only; shared mounts on any type. At most 15 volumes per container; no two mounts may share or nest a path; /dev, /dev/log, /tmp, /var, and /var/log are rejected.ext4 and xfs only. Detail: stateful-storage skill.CPLN_ or be K_SERVICE, K_CONFIGURATION, or K_REVISION; they match ^[-._a-zA-Z][-._a-zA-Z0-9]*$, at most 120 characters. The platform injects CPLN_TOKEN, CPLN_ENDPOINT, CPLN_GLOBAL_ENDPOINT, CPLN_ORG, CPLN_GVC, CPLN_GVC_ALIAS, CPLN_LOCATION, CPLN_PROVIDER, CPLN_WORKLOAD, CPLN_WORKLOAD_VERSION, CPLN_IMAGE, CPLN_NAME, CPLN_MAIN on the first container, and PORT on standard when unset.curl -H "Authorization: Bearer $CPLN_TOKEN" $CPLN_ENDPOINT/org/$CPLN_ORG/.... CPLN_ENDPOINT is plain HTTP, and a call succeeds only where a policy grants the attached identity the permission; otherwise it returns 403.^[a-z]([-a-z0-9])*[a-z0-9]$, at most 64 characters, and cannot start with cpln- or debugger-. A workload name is at most 49 characters and cannot end with -headless.spec.rolloutOptions.terminationGracePeriodSeconds, 0 to 900, default 90. The shutdown sequence and its traps: workload-security skill.Changing a workload's type or name means delete and recreate. Recreating under the same name keeps its public URL and internal DNS name; a new name breaks every domain route, policy link, internal caller, and external client that used the old one.
containers[].metrics with port and path (default /metrics). List them with query_metrics without a query, then query them; measure before changing scaling.list_deployments names each location's running replicas, the --replica value for cpln workload exec and cpln workload connect; a command inside one goes through the CLI (cpln skill), with confirmation for anything that changes state.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub controlplane-com/ai-plugin --plugin cpln32 skills in this plugin
/access-controlPrimary skill for access control, policies, and RBAC on Control Plane. Use when the user asks about permissions, policies, service accounts, user access, group membership, bindings, who can do what, least-privilege, or IAM./audit-complianceAudit trail and compliance on Control Plane. Use when the user asks about audit logs, who changed what, change tracking, audit contexts, writing custom audit events, security monitoring, SOC 2, HIPAA, or PCI compliance./autoscaling-capacityWorkload autoscaling and Capacity AI on Control Plane. Use when the user asks about scaling up/down, min/max replicas, scale-to-zero, concurrency/RPS/CPU/memory/latency scaling, KEDA, event-driven scaling, or right-sizing./cdn-rate-limitingCDN caching and request rate limiting for Control Plane workloads. Use when the user asks about CDN, Cloudflare, CloudFront, edge caching, rate limiting, request throttling, per-key or per-route limits, or DDoS protection./cplnWrites cpln CLI commands and workflows for Control Plane. Use when the user asks about cpln login, cpln apply, cpln workload, CLI or CI/CD deploys, container debugging with cpln exec/logs, or any cpln resource command./create-appWrites, builds, and deploys an app the user asks for in the chat, with no repository and no image yet. Use when the user asks to create, generate, write, vibe-code, prototype, or scaffold an app, API, site, bot, game, or service and run it on Control Plane, or to change an app made this way.Other plugins' skills for the same job