Skip to content
pulumi avatar

Package Usage

Track which stacks across a Pulumi organization run a given package, and at what versions.

CCM score
68 of 100
skills.sh installs
894
GitHub stars
82
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers cross-stack audits that flag outdated or unmaintained package versions and identify affected stacks before breaking changes
  • Queries the Pulumi Cloud API via pulumi api for the latest package version and per-stack usage, one package at a time
  • Compares each stack's version against the latest and reports results in a Project, Stack, Current, Latest, Status table
  • Does not perform upgrades; hands off to provider-upgrade for bumping a package in a single project

Install

$ npx -y skills add pulumi/agent-skills --skill package-usage -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

API Reference

Query the Pulumi Cloud API with the pulumi api CLI subcommand. It authenticates with your existing Pulumi credentials and returns JSON.

Get the latest version of a package

pulumi api /api/registry/packages -F name={package_name} -F orgLogin={orgName}

Include orgLogin with the user's organization name. Omit -F name=... to list all packages visible to the organization (useful when the user has not named a specific package). The response contains a packages array. Each entry has a version field (the latest version), plus name, publisher, source, and packageStatus.

Get stack usage for a package

pulumi api /api/orgs/{orgName}/packages/usage -F packageName={package_name}

Replace {orgName} with the org name from context, PULUMI_ORG, or ask the user. packageName is required; query one package at a time.

Response fields:

  • packageName: The queried package
  • stacks: Array of {stackName, projectName, version, lastUpdate}
  • totalStacks: Total count

Workflow: Find outdated stacks

Use when the user wants to know which stacks are using an outdated version of a package.

Details

Repository
github.com/pulumi/agent-skills
Category
DevOps & Cloud
First seen
Jun 3, 2026

Questions

What is package-usage?

package-usage is an agent skill listed on Claude Marketplaces in the DevOps & Cloud category. The listing describes package-usage like this: Track which stacks across a Pulumi organization use a specific package and at what versions.

How do I install package-usage?

Run npx -y skills add pulumi/agent-skills --skill package-usage -y in a project to install package-usage. After that, the agent can use package-usage in that project.

Which category is package-usage in?

package-usage is in the DevOps & Cloud category on Claude Marketplaces. Other listings in that category next to package-usage include azure-diagnostics, azure-prepare and azure-deploy.

Where is the source code of package-usage?

The source code of package-usage is on GitHub at https://github.com/pulumi/agent-skills. The pulumi account on GitHub publishes package-usage.

More from pulumi/agent-skills

All 12

Similar to Package Usage

More DevOps & Cloud