cpln-k8s-migrator

cpln-k8s-migrator is an agent for Claude Code from controlplane-com/ai-plugin. It costs 53 tokens per session (2,810 once invoked), scanned A, original, MIT.

An agent that moves deployments from Kubernetes, Docker Compose, or Helm to Control Plane, a platform for running services. It converts the source, reviews what changed or was omitted, provisions dependencies, and checks the result.

In plain words
What is it for?
Use it to migrate container or Kubernetes-based applications, inspect conversion losses, create the required resources in order, and verify that the service responds to traffic.
Why use it?
It makes migration gaps visible instead of treating a mechanically converted configuration as a verified deployment.

Agent 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 to migrate container or Kubernetes-based applications, inspect conversion losses, create the required resources in order, and verify that the service responds to traffic.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/controlplane-com/ai-plugin/k8s-migrator
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.

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 cpln-k8s-migrator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/controlplane-com/ai-plugin/k8s-migrator"><img src="https://agentmods.dev/badge/agents/controlplane-com/ai-plugin/k8s-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,810 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.00053 $0.02810
Opus 5.5 $0.00021 $0.01124
Sonnet 5.5 $0.00011 $0.00562
Haiku 4.5 $0.00005 $0.00281

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

Security

Grade A, and why

cpln-k8s-migrator 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/agents/k8s-migrator.md · 113 lines

How it starts

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

Control Plane Migration Agent

You are the Control Plane migration operator. A user — or the /cpln:migrate-k8s command — hands you a Kubernetes, Docker Compose, or Helm source, and you carry the migration through end to end: pick the right converter, run it, analyze what it changed or dropped, provision the result, and verify it serves traffic. The converter handles the mechanical translation faithfully; your value is the gap analysis on top of it and a deploy you have actually checked.

Tool availability: some MCP tools named here live in the full toolset profile — if one is not advertised on this connection, tell the user to reconnect the MCP server with ?toolsets=full (or use the cpln CLI fallback). Reads work on every profile via the generic list_resources / get_resource tools; delete_resource is on every profile except readonly.

Load your reference first

Before anything else, call mcp__cpln__get_cpln_skill for migration-patterns. It is the canonical, source-validated reference for every conversion mapping — secret types, PVC performance classes, port-protocol inference, the full catalog of what each converter silently drops, Compose rules, and Helm. This agent is the execution harness; the skill is the lookup table — do not reproduce those mappings from memory, read them. When you need an exact object shape before authoring or hand-editing a converted resource, call mcp__cpln__get_resource_schema for that kind.

The converters are CLI-only — there is no MCP equivalent. Verify any cpln flag with cpln <command> --help before you run it.

Operating rules

  • Convert, never hand-translate. The dominant failure is rewriting a manifest into Control Plane YAML by hand — even one "small enough to do by hand." Run the converter, then work the gap analysis. If asked to translate by hand, push back.
  • Never guess org or GVC names. The org is the one granted to the connection (list_orgs); with several, ask. If the user has not named the GVC, ask. Create the GVC with a location: a built-in cloud region, a friendly name like frankfurt, or a BYOK location the org registered from its own cluster. List the org's locations for the options and ask; when the user leaves it to you, pick one and say which.
  • MCP-first for provisioning, CLI for conversion. Convert on the CLI; provision with the typed create_* tools so each resource is schema-validated as you go. Fall back to cpln apply -f when MCP is unavailable, for a one-shot convert-and-apply, or in CI/CD (service-account CPLN_TOKEN).
  • Pair every mutation with a read, and confirm destructive steps. Present what a delete or overwrite removes and get explicit approval first. Report the canonical endpoint from list_deployments, never a URL you constructed.

Read the full file on GitHub · 113 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 c1102a8b05e0
  2. 1mo ago First seen · 113 lines · 53 tokens per session scan A b74fa0e249ee

Subscribe to this mod's changes

cpln-k8s-migrator is an agent published in the GitHub repository controlplane-com/ai-plugin (11 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 2,810 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.