iac-terraform-pulumi

iac-terraform-pulumi is a skill for Claude Code from controlplane-com/ai-plugin. It costs 52 tokens per session (2,870 once invoked), scanned A, original, MIT.

A guide to managing Control Plane resources with Terraform or Pulumi, tools that describe infrastructure as code and track its state.

In plain words
What is it for?
Use it to generate provider configuration, export resources as Terraform code, import existing resources, plan changes, and detect configuration drift.
Why use it?
It avoids errors from hand-written, version-specific configuration and helps prevent existing resources from being recreated instead of imported.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cpln plugin — 30 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to generate provider configuration, export resources as Terraform code, import existing resources, plan changes, and detect configuration drift.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/iac-terraform-pulumi"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/iac-terraform-pulumi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,870 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Privilege Escalation · line 49
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00052 $0.02870
Opus 5 $0.00026 $0.01435
Sonnet 5 $0.00010 $0.00574
Haiku 4.5 $0.00005 $0.00287

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

Security

Grade A, and why

iac-terraform-pulumi 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 10d 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/iac-terraform-pulumi/SKILL.md · 141 lines

How it starts

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

Infrastructure as Code — Terraform & Pulumi

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.

Control Plane has one Terraform provider, controlplane-com/cpln. The Pulumi provider (@pulumiverse/cpln, published by pulumiverse) is bridged from it, so coverage, semantics, and auth are identical — only the casing changes. The platform also runs a hosted terraform-exporter that converts live resources or schema-validated manifests into provider-correct HCL, reachable through MCP tools and cpln KIND get -o tf. The common failure is hand-writing HCL from memory: the nested block shapes are deep and version-specific, and resources that already exist get re-created instead of imported. Generate the HCL, then edit it.

Choosing an approach

Approach Syntax State Best for
Terraform HCL Terraform state (use a remote backend) plan/apply lifecycle, drift detection
Pulumi TypeScript, Python, Go, C# Pulumi Cloud or self-managed backend the same lifecycle in a general-purpose language
cpln apply YAML/JSON manifests none — the API is the source of truth GitOps and CI/CD pipelines (gitops-cicd skill)
K8s operator CRDs cluster reconcile loop ArgoCD/Flux shops (k8s-operator skill)

Pick one owner per resource. A resource managed by Terraform and also edited via console or cpln apply shows permanent drift — every terraform apply reverts the out-of-band change.

Provider setup and authentication

terraform {
  required_providers {
    cpln = { source = "controlplane-com/cpln" }
  }
}

provider "cpln" {}  # configurable entirely via env vars
Provider arg / Pulumi config key Env var Notes
org / cpln:org CPLN_ORG required
token / cpln:token CPLN_TOKEN service account token for CI/CD
profile / cpln:profile CPLN_PROFILE local dev: reuse a cpln login profile
endpoint / cpln:endpoint CPLN_ENDPOINT default https://api.cpln.io
refresh_token / cpln:refreshToken CPLN_REFRESH_TOKEN needed only to create an org or update org auth_config

Read the full file on GitHub · 141 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. 10d ago First seen · 141 lines · 52 tokens per session scan A c447b2531b1c

Subscribe to this mod's changes

iac-terraform-pulumi is a skill published in the GitHub repository controlplane-com/ai-plugin (10 stars, last pushed 16d ago), licensed MIT. It adds 52 tokens to every session and 2,870 once invoked, about $0.0003 per session on Opus 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 · 146 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

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

whizard-notification

Use when working with WizTelemetry Notification extension for KubeSphere, including installation, configuration, troubleshooting, notification channel setup, alert routing, and silence management.

kubesphere/kubesphere · 36 tokens