Skip to content
Skill

Provider upgrade

Guides safe Pulumi provider upgrades and reconciles the resulting preview diffs

Provider upgrade is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

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

Similar skills

About Provider upgrade

This skill walks an agent through bumping a Pulumi provider SDK to a newer version, whether the dependency lives in package.json, requirements.txt, pyproject.toml, go.mod or Pulumi.yaml. It works from a loop: update the dependency, run a preview with refresh and program execution, then sort every non-same resource into code-caused changes or provider-caused changes before deciding on a fix.

The agent is directed to treat an upgrade as a translation of existing code into the new API so that the preview shows no difference. It covers handling new resources that need imports, removed resource types that require state cleanup, and the rule that deletes and replacements must be resolved before a pull request is opened. Accepted remaining diffs need a citation from an upgrade guide or provider documentation, and the skill ends with a structured upgrade summary.

The skill references supporting files for diagnostic investigation and a provider-specific guide for pulumi-gcp v10. It is written for Pulumi programs and expects access to the Pulumi CLI and the project's package manager.

When your agent uses it

Upgrade any Pulumi provider to a newer version and reconcile the resulting diff. Use when users want to upgrade or update a provider (including editing package.json, requirements.txt, pyproject.toml, go.mod, or Pulumi.yaml to bump a provider SDK), check for breaking changes before or during an upgrade, fix resources that broke after a provider upgrade, or resolve unexpected replacements, creates, or deletes in a post-upgrade preview, including pulumi-gcp v10 errors such as a missing gcp.notebooks or gcp.iap.Brand type or a required secretDataWoVersion. Applies to all providers (aws, azure-native, gcp, kubernetes, aws-native, cloudflare, datadog, etc.) — not just Tier 1. Do NOT use for querying which stacks use what package versions; use skill `package-usage` for cross-stack audits. Do NOT use for general infrastructure tasks.

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 5 files (39 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 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@pulumi-agent-skills

Or copy only this skill to ~/.claude/skills/provider-upgrade:

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

For one project only, put the folder in .claude/skills/provider-upgrade inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/provider-upgrade 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/provider-upgrade &&
cp -R "$tmp/pulumi/skills/provider-upgrade" ~/.agents/skills/provider-upgrade &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/provider-upgrade inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/provider-upgrade 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/provider-upgrade &&
cp -R "$tmp/pulumi/skills/provider-upgrade" ~/.cursor/skills/provider-upgrade &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/provider-upgrade 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 pulumi/skills/provider-upgrade

Or copy the folder to ~/.gemini/skills/provider-upgrade yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/provider-upgrade 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/pulumi/skills/provider-upgrade into your agent's skills folder as provider-upgrade. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Dependency bump workflow
Steps for updating a provider version across npm, pip, Go, .NET, Java and YAML projects.
Diff categorization checkpoint
Sorts each non-same preview resource into changes from code edits or from the provider upgrade itself.
Replacement and delete guards
Prevents leaving destructive deletes or replacements in the final preview before a pull request.
Import and state cleanup guidance
Explains when to adopt existing cloud resources with imports or remove stale resources from state.
Upgrade summary template
Produces a structured report of code changes, remaining diffs and manual steps.
Provider-specific reference notes
Points to a pulumi-gcp v10 guide and a diagnostic toolbox for investigating differences.

Good for

  • Upgrade the aws provider from one major version to the next
  • Fix a preview that shows unexpected replacements after a provider bump
  • Resolve a missing gcp.iap.Brand type after upgrading pulumi-gcp to v10
  • Check whether a post-upgrade preview diff is a safe no-op
  • Prepare a pull request summarizing a Pulumi provider upgrade

Provider upgrade FAQ

Does the skill run pulumi up?

No. It instructs the agent not to run pulumi up, since upgrades change source code that should go through review and CI/CD deployment.

Which preview flags does Provider upgrade require?

It requires running pulumi preview with --refresh and --run-program so that cloud state is refreshed and the program executes before diffing.

Which providers does Provider upgrade apply to?

The description says it applies to all Pulumi providers, including aws, azure-native, gcp, kubernetes, aws-native, cloudflare and datadog, not only the Tier 1 providers.

What should Provider upgrade not be used for?

The skill says not to use it for querying which stacks use which package versions, which is the job of the separate package-usage skill, or for general infrastructure tasks.

How do I install Provider upgrade in Claude Code?

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

Does Provider upgrade 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 Provider upgrade?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Provider upgrade?

The closest alternatives to Provider upgrade are Pulumi upgrade provider, Package usage, Pulumi debug failed operation, Pulumi best practices and Pulumi overview.

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 an AWS CDK app to Pulumi with a PR-ready report

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

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure