Skip to content
Skill

Pulumi cdk to pulumi

Guides an agent through migrating an AWS CDK app to Pulumi with a PR-ready report

Pulumi cdk to pulumi is an open-source agent skill for cloud and infrastructure. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
82
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Pulumi cdk to pulumi

This skill walks an agent through converting an AWS CDK application, including its stacks, constructs and synthesized CloudFormation templates, into a Pulumi program. The workflow starts by confirming credentials through Pulumi ESC and the AWS region, then synthesizes the CDK app with cdk synth, reads the stack manifest, and inventories the stack resources with the AWS CLI.

The conversion step relies on a cdk2pulumi tool, with the agent filling gaps by hand where the tool fails. The skill sets out how to handle CDK custom resources that rely on Lambda-backed handlers, preferring native Pulumi resources where a replacement exists and documenting the rest. It defaults to the aws-native provider and falls back to aws where needed, and it flags asset bundling steps that must be rebuilt in a CI pipeline or a Pulumi command.

After conversion, the agent can import existing resources with a cdk-importer tool and then run a preview to confirm there are no changes. The skill requires a final migration report covering resource mapping, provider choices, behavioral differences and validation steps. Users need an AWS account, CDK and Node tooling, and Pulumi access.

When your agent uses it

Load this skill when a user wants to migrate, convert, port, translate, or move an AWS CDK application (including CDK stacks, constructs, or CloudFormation-synthesized templates) to Pulumi. Phrases such as "convert CDK to Pulumi", "migrate CDK app", "port CDK stacks", "replace CDK with Pulumi", "stop using CDK". Do NOT load for general CDK questions, CDK-only help, or CDK vs Pulumi comparisons where no migration is requested.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (24 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the pulumi-migration plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add pulumi/agent-skills
/plugin install pulumi-migration@pulumi-agent-skills

Or copy only this skill to ~/.claude/skills/pulumi-cdk-to-pulumi:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pulumi-cdk-to-pulumi &&
cp -R "$tmp/migration/skills/pulumi-cdk-to-pulumi" ~/.claude/skills/pulumi-cdk-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/pulumi-cdk-to-pulumi inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pulumi-cdk-to-pulumi to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pulumi-cdk-to-pulumi &&
cp -R "$tmp/migration/skills/pulumi-cdk-to-pulumi" ~/.agents/skills/pulumi-cdk-to-pulumi &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/pulumi-cdk-to-pulumi inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pulumi-cdk-to-pulumi to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pulumi-cdk-to-pulumi &&
cp -R "$tmp/migration/skills/pulumi-cdk-to-pulumi" ~/.cursor/skills/pulumi-cdk-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pulumi-cdk-to-pulumi inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/pulumi/agent-skills.git --path migration/skills/pulumi-cdk-to-pulumi

Or copy the folder to ~/.gemini/skills/pulumi-cdk-to-pulumi yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pulumi-cdk-to-pulumi:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pulumi-cdk-to-pulumi &&
cp -R "$tmp/migration/skills/pulumi-cdk-to-pulumi" ~/.copilot/skills/pulumi-cdk-to-pulumi &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/pulumi-cdk-to-pulumi inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/pulumi/agent-skills.git

Then copy agent-skills/migration/skills/pulumi-cdk-to-pulumi into your agent's skills folder as pulumi-cdk-to-pulumi. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

CDK stack inventory
Synthesizes the CDK app and reads the manifest and CloudFormation resources for each stack and region.
Automated code conversion
Runs the cdk2pulumi tool and fills in resources it cannot convert by hand.
Custom resource handling
Maps common CDK Lambda-backed custom resource handlers to native Pulumi resources or documents them.
Asset and bundling review
Classifies Docker, static and bundled assets and flags build steps that need a Pulumi home.
Resource import and preview
Imports existing AWS resources with cdk-importer and checks that a preview shows no changes.
Migration report output
Produces a structured PR-ready report with resource mappings, provider decisions and validation steps.

Good for

  • Convert my AWS CDK TypeScript app into a Pulumi program
  • Port CDK stacks to Pulumi without recreating live AWS resources
  • Map CloudFormation resources from a CDK app to Pulumi equivalents
  • Write a migration report for a pull request moving off CDK
  • Check that imported stacks show no changes in pulumi preview

Pulumi cdk to pulumi FAQ

When does Pulumi cdk to pulumi trigger?

It loads when a user wants to migrate, convert, port or move an AWS CDK application to Pulumi. It does not load for general CDK questions, CDK-only help, or comparisons where no migration is requested.

What does the agent need before starting?

It asks for a Pulumi ESC environment with AWS credentials if none is given, and it confirms the AWS region because cdk synth results depend on it.

Does Pulumi cdk to pulumi deploy resources on its own?

The skill's steps run cdk synth, AWS CLI listings and pulumi preview, and it asks for targeted questions when artifacts such as cdk.out are missing. The migration workflow is designed to end with a preview that shows no changes after import.

Which provider does Pulumi cdk to pulumi prefer?

It defaults to aws-native whenever the resource type is available and uses the aws provider when aws-native lacks equivalent features.

How do I install Pulumi cdk to pulumi in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pulumi-cdk-to-pulumi to use it in all your projects, or to .claude/skills/pulumi-cdk-to-pulumi in one project. Or install the pulumi-migration plugin, which includes it: /plugin marketplace add pulumi/agent-skills, then /plugin install pulumi-migration@pulumi-agent-skills.

Does Pulumi cdk to pulumi run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Pulumi cdk to pulumi?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Pulumi cdk to pulumi?

The closest alternatives to Pulumi cdk to pulumi are Cloudformation to pulumi, Pulumi overview, Pulumi arm to pulumi, Pulumi migrate from discovered stack and Pulumi terraform to pulumi.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from pulumi/agent-skills

  1. Hands the current coding thread off to a new Pulumi Neo task

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  2. Guides an agent through converting AWS CloudFormation stacks into Pulumi programs

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  3. Guides an agent through converting or importing Azure ARM and Bicep templates into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  4. Guides an agent through migrating Terraform or OpenTofu projects and state into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  5. Guides an agent through upgrading a Pulumi provider repo to a new upstream version

    • Open source
    • 82 GitHub stars
    • Developer tools