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
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 apifor 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-upgradefor bumping a package in a single project
Install
$ npx -y skills add pulumi/agent-skills --skill package-usage -yInstalls 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 packagestacks: 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 12Similar to Package Usage
More DevOps & Cloudprovider-upgradeSkillpulumi/agent-skills919 installsUpgrades a Pulumi provider to a newer version, then reconciles the resulting preview diff with the code.
pulumi-upgrade-providerSkillpulumi/agent-skills723 installsUpgrade a Pulumi provider repository with the upgrade-provider tool, fixing failures until a local result is ready.
Package Latest Version CheckMCP serveropencurrentLatest published versions of npm and PyPI packages, with deprecation and yank status.
azure-upgradeSkillmicrosoft/azure-skills681.6K installsAssesses and upgrades Azure workloads between plans, SKUs, and SDKs, with approval gates on source changes.