pulumi-cdk-to-pulumi

pulumi-cdk-to-pulumi is a skill for Claude Code, Codex from pulumi/agent-skills. It costs 118 tokens per session (2,837 once invoked), scanned A, original, Apache-2.0.

A procedure for moving an AWS CDK application to Pulumi. AWS CDK is a programming framework that generates AWS infrastructure definitions.

In plain words
What is it for?
Use it to convert CDK stacks or constructs, map AWS resources to Pulumi code, and produce a migration report with validation guidance.
Why use it?
It helps check that the migration accounts for every generated cloud resource and documents differences or missing steps.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the pulumi-migration plugin — 5 skills shipped together

not rated 82repo today A scan Socket: passSnyk: passSkillSpector: warn 118 tokens original Apache-2.0

Good fit Use it to convert CDK stacks or constructs, map AWS resources to Pulumi code, and produce a migration report with validation guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pulumi/agent-skills/pulumi-cdk-to-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 pulumi/agent-skills --skill pulumi-cdk-to-pulumi
Clone the repo
git clone --depth 1 https://github.com/pulumi/agent-skills

Made for: Claude Code, Codex.

Or install pulumi-migration, the plugin that ships this one along with the rest of its 5 skills.

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 pulumi-cdk-to-pulumi

README.md
[![agentmods](https://agentmods.dev/badge/skills/pulumi/agent-skills/pulumi-cdk-to-pulumi/github.svg)](https://agentmods.dev/skills/pulumi/agent-skills/pulumi-cdk-to-pulumi)
Your own site
<a href="https://agentmods.dev/skills/pulumi/agent-skills/pulumi-cdk-to-pulumi"><img src="https://agentmods.dev/badge/skills/pulumi/agent-skills/pulumi-cdk-to-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 pulumi-cdk-to-pulumi

Your own site · 80×15
<a href="https://agentmods.dev/skills/pulumi/agent-skills/pulumi-cdk-to-pulumi"><img src="https://agentmods.dev/badge/skills/pulumi/agent-skills/pulumi-cdk-to-pulumi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,837 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
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
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 51
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00118 $0.02837
Opus 5.5 $0.00047 $0.01135
Sonnet 5.5 $0.00024 $0.00567
Haiku 4.5 $0.00012 $0.00284

Measured 3mo ago against content hash 7710b575e4ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pulumi-cdk-to-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 3mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

migration/skills/pulumi-cdk-to-pulumi/SKILL.md · 277 lines

How it starts

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

CRITICAL SUCCESS REQUIREMENTS

The migration output MUST meet all of the following:

  1. Complete Resource Coverage

    • Every CloudFormation resource synthesized by CDK MUST:
      • Be represented in the Pulumi program OR
      • Be explicitly justified in the final report.
  2. Successful Deployment

    • The produced Pulumi program must be structurally valid and capable of a successful pulumi up (assuming proper config).
  3. Final Migration Report

    • Always output a formal migration report suitable for a Pull Request.
    • Include:
      • CDK → Pulumi resource mapping
      • Provider decisions (aws-native vs aws)
      • Behavioral differences
      • Missing or manually required steps
      • Validation instructions

WHEN INFORMATION IS MISSING

If a user-provided CDK project is incomplete, ambiguous, or missing artifacts (such as cdk.out), ask targeted questions before generating Pulumi code.

MIGRATION WORKFLOW

Follow this workflow exactly and in this order:

1. INFORMATION GATHERING

1.1 Verify AWS Credentials (ESC)

Running AWS commands (e.g., aws cloudformation list-stack-resources) and CDK commands (e.g. cdk synth) requires credentials loaded via Pulumi ESC.

  • If the user has already provided an ESC environment, use it.
  • If no ESC environment is specified, ask the user which ESC environment to use before proceeding with AWS commands.

You MUST confirm the AWS region with the user. The cdk synth results may be incorrect if ran with the wrong AWS Region.

1.2 Synthesize CDK

Run/inspect:

npx cdk synth --quiet
  • ALWAYS run synth with --quiet to prevent the template from being output on stdout.

If failing, inspect cdk.json or package.json for custom synth behavior.

1.3 Identify CDK Stacks & Environments

Read cdk.out/manifest.json:

jq '.artifacts | to_entries | map(select(.value.type == "aws:cloudformation:stack") | {displayName: .key, environment: .value.environment}) | .[]' cdk.out/manifest.json

Read the full file on GitHub · 277 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 277 lines · 118 tokens per session scan A 7710b575e4ea

Subscribe to this mod's changes

pulumi-cdk-to-pulumi is a skill published in the GitHub repository pulumi/agent-skills (82 stars, last pushed today), licensed Apache-2.0. It adds 118 tokens to every session and 2,837 once invoked, about $0.0005 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-30.

Related

pulumi-cdk-to-pulumi compared with skills from other repositories

pulumi-cdk-to-pulumi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pulumi-cdk-to-pulumipulumi/agent-skillsSkill82todayApache-2.0A118Claude Code, Codex
infrastructure-as-code-guardianJPeetz/agent-skillsSkill214d agononeA106Claude Code, Codex
terraform-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A53Claude Code
terraform-docspledgeandgrow/pledge-skillsSkill114mo agoMITA29Claude Code, Codex
Terraform Infrastructure as Codebobmatnyc/mcp-skillsetSkill198mo agoMITA36Claude Code, Codex
activate-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA45Claude Code
telephony-and-conferencingcbrock84/headcountSkill2.6k3d agoMITA85Claude Code