Skip to content
Skill

Package usage

Lists which Pulumi org stacks use a given package and at what version

Package usage 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 Package usage

This skill helps an agent audit a Pulumi organization for a specific package across many stacks. It queries the Pulumi Cloud API through the pulumi api command, which reuses existing Pulumi credentials and returns JSON. The agent first looks up the latest published version of the package in the registry, then pulls each stack that uses it along with the version it runs and the last update time.

The skill compares every stack's version against the latest release and presents the findings as a markdown table with a short summary of how many stacks are outdated. It is intended for read-only reporting; it does not change any project. When an actual version bump is needed in a single project, the skill points the agent to a separate provider-upgrade skill.

It expects an organization name, which it can take from context, a PULUMI_ORG variable, or by asking the user, and it works one package at a time. The skill itself ships as Markdown instructions with no scripts.

When your agent uses it

Track which stacks across a Pulumi organization use a specific package and at what versions. Use for cross-stack audits, identifying outdated or unmaintained package versions across many stacks, finding affected stacks before publishing breaking changes to a component package, or planning coordinated upgrade rollouts. Do NOT use for upgrading a cloud provider package (pulumi-aws, pulumi-azure-native, pulumi-gcp, pulumi-kubernetes, etc.) in a single project — use skill `provider-upgrade` instead. Do NOT use for general infrastructure creation, resource provisioning, or how-to questions about a package.

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 3 files (4 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/package-usage:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

Or copy the folder to ~/.gemini/skills/package-usage yourself.

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Latest version lookup
Finds the newest published version of a package in the Pulumi registry for the organization.
Cross-stack usage report
Lists each stack that depends on the package with its project, version and last update.
Outdated stack detection
Compares each stack's version to the latest release to flag stale deployments.
Markdown status table
Formats results as a table with a status column and a one-line summary.
Read-only auditing
Reports on usage without editing projects or performing upgrades.
Upgrade handoff
Directs single-project provider bumps to the separate provider-upgrade skill.

Good for

  • Find every stack in our org still on an old version of a component package
  • Check which stacks would be affected before publishing a breaking change to our package
  • Plan a staged rollout of a library upgrade across all production stacks
  • List all packages visible to our Pulumi organization and their latest versions

Package usage FAQ

What does the skill need to run?

It uses the pulumi api CLI subcommand, which authenticates with your existing Pulumi credentials, and it needs your organization name.

Does Package usage change any of my stacks or projects?

No. It queries usage and version data and reports on it. Actual upgrades are left to the provider-upgrade skill.

When should Package usage not be used?

It should not be used for upgrading a cloud provider package in one project, or for general infrastructure creation or how-to questions about a package.

Can Package usage check several packages at once?

Usage queries cover one package at a time, though it can list all packages visible to the organization.

How do I install Package usage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/package-usage to use it in all your projects, or to .claude/skills/package-usage 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 Package usage 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 Package usage?

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 Package usage?

The closest alternatives to Package usage are Provider upgrade, Pulumi automation API, Pulumi migrate from discovered stack, Pulumi debug failed operation 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