Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/controlplane-com/ai-pluginnpx agentmods add skills/controlplane-com/ai-plugin/environment-promotionWrote 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.
[](https://agentmods.dev/skills/controlplane-com/ai-plugin/environment-promotion)<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/environment-promotion"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/environment-promotion/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.
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/environment-promotion"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/environment-promotion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 124 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.02261 |
| Opus 5.5 | $0.00018 | $0.00904 |
| Sonnet 5.5 | $0.00009 | $0.00452 |
| Haiku 4.5 | $0.00005 | $0.00226 |
Grade A, and why
environment-promotion 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Environment Promotion
Control Plane has no built-in promote or rollback primitive — promotion is applying the same artifacts (image + manifests) to the next environment. Two topologies exist: org-per-environment (the documented best practice) and GVC-per-environment. The recurring failure is image access: a staging/prod org cannot pull the dev org's images until you either copy the image or wire up a cross-org pull secret.
Choosing a topology
| Topology | Isolation | Image sharing | Best for |
|---|---|---|---|
| Org per environment (recommended) | Strongest — policies, secrets, users, audit fully separate | cpln image copy or cross-org pull secret |
Production, compliance-sensitive teams |
| GVC per environment (one org) | Weak — shared org policies and access | Same org registry; no pull secret needed | Small teams, rapid iteration |
With org-per-environment, GVCs and workloads keep identical names in every org, so the same manifests apply unchanged — no environment suffixes in resource names. Org creation is account-level: Console, or cpln org create --accountId ID --invitee EMAIL.
Promoting manifests
Keep manifests in git and apply them per environment — cpln apply is idempotent (PUT upsert) and resolves resource ordering:
cpln apply --file ./manifests/ --org my-org-staging --gvc my-gvc --ready # org-per-env: same files, next org
cpln apply --file ./manifests/ --org my-org --gvc staging-gvc --ready # gvc-per-env: same files, next GVC
- Bootstrap manifests from a live environment with
cpln <resource> get REF -o yaml-slim(plainyamloutput breaks apply). - Environment differences (env vars, scaling, firewall) belong in the manifests per environment — or patch after apply with
mcp__cpln__update_workload/mcp__cpln__update_gvc(both PATCH semantics). - For IaC-based promotion, export live resources to Terraform with
mcp__cpln__export_terraform: one self link, bulk by path depth (a whole GVC or org), or amanifestconverted to HCL after a dry-run validation. An unsupported kind is rejected with the supported list. - One workload into another GVC:
mcp__cpln__promote_workload(needs?toolsets=full;workload,gvc,targetGvc, optionalimageandenvoverrides) copies the spec without its identity orcpln/tags, points internal firewall links to workloads of the source GVC at the same names in the target, creates or updates the target, grants its secret references, and waits. Each volume set it mounts is created in the target GVC from the source's settings, custom encryption keys included, or updated to them (capacity only grows; an existing one keeps its own keys); data is never copied. Before anything is written it refuses a referenced secret that does not exist, an existing{targetGvc}-{workload}-secrets-policypolicy of another target kind, an existing target workload of another type, and a target volume set with another file system or performance class or one another workload uses.
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.
- 1mo ago Changed 38a37cdd134c
- 1mo ago Changed 328db1828ae7
- 2mo ago Changed · -30 lines b7b40d1bdf87
- 2mo ago Changed c96a8a2ae270
- 3mo ago First seen · 144 lines · 46 tokens per session scan A 138ef34180a8
environment-promotion is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 2,261 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.
environment-promotion compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| environment-promotioncontrolplane-com/ai-plugin | Skill | 12 | yesterday | MIT | A | 46 | Claude Code |
| ak-cloud-deployyaalalabs/agent-kernel | Skill | 195 | today | Apache-2.0 | A | 204 | Claude Code, Codex |
| huawei-cloud-cce-env-assessmenthuaweicloud/huaweicloud-skills | Skill | 59 | today | MIT | A | 69 | Claude Code, Codex |
| cloud-native-aws-serverlessj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 84 | Claude Code, Codex |
| cloud-native-kubernetes-masteryj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 85 | Claude Code, Codex |
| cloud-native-azure-functionsj4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 82 | Claude Code, Codex |
| cloud-native-security-defensivej4flmao/agent-skills | Skill | 47 | 15d ago | MIT | A | 91 | Claude Code, Codex |