/pulumi:pulumi-deliveryfrom Pulumi
Authors, registers, runs, operates, debugs, and migrates Pulumi Delivery pipelines (delivery as code) using the delivery package. Use for setting up pipelines, promoting releases, registering with pulumi delivery register, dispatching runs, approving gates, retrying/canceling stages, or migrating from GitHub Actions or other CI.
Ships in Pulumi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pulumi Delivery runs a delivery pipeline as a Pulumi program. The program declares sources, stages, members and gates. Pulumi Cloud runs each release through the stages in order.
Delivery is in public preview. Resource inputs, API routes and behavior can change. When the installed SDK and this skill disagree, the SDK is correct: read the generated types in the installed package (for example node_modules/@pulumi/delivery/*.d.ts). The user documentation is at https://www.pulumi.com/docs/delivery/.
approval() gates need the Pro or Enterprise edition. decision() gates need the Pro edition or higher.pulumi delivery register and for a run from a checkout. Check with pulumi version.delivery/ directory, that declares one Pipeline. Its stack is the pipeline stack, for example acme/shop-delivery/main. The stack config key delivery:source says where the program lives (repository URL, branch, directory).pulumi delivery register on the pipeline stack stores the pipeline in Pulumi Cloud. It starts no run. After that, triggers start runs, and a push to the tracked branch updates the pipeline.pulumi up on the pipeline stack does not register. It starts a run from the checkout and waits until the run ends. The members run in Pulumi Cloud as the person who started it.<pipeline stack>-r<run number>. The service executes the program on it many times; each execution is a pass.from lists the stages it waits for. when is its gate. A stage deploys one run at a time. A newer release replaces a run that waits at the gate or in the queue of a stage: that run ends as superseded. A paused stage admits no new run.Stacks (updates existing target stacks), Job (runs a shell command), Artifact (publishes a value for other pipelines), Agent (runs a custom agent).GitHubSource, GitLabSource, BitbucketSource, AzureDevOpsSource) or another pipeline's stage (PipelineSource). A run locks the commit of each source. The sources form the release.trigger: true or trigger: { paths: [...] } on a source starts a run on push. A source without trigger never starts a run.when rule of a stage: approval(), manual(), decision(), allOf(), anyOf().Follow these. Each one prevents a failure that users hit.
pulumi delivery register, never with pulumi up. A plain pulumi up on a pipeline stack starts a run, and that run deploys.pulumi up, pulumi refresh or pulumi destroy on a run stack (<pipeline stack>-r<N>).pulumi stack init <org>/<project>/<stack>). A target cannot be a pipeline stack or a run stack.stack in a Stacks entry and pipeline in a PipelineSource as project/stack, in the organization of the pipeline. The provider adds the organization, so service messages show organization/project/stack.config. Registration rejects them. Pass secrets in environment, or keep them in the target stack's config file or ESC environment.apply.PipelineSources. Never pass a member output from one stage to a member in another stage. For a value from an earlier stage, read it in the target stack's own program with a stack reference, or put the Job in the same stage as the member it checks.trigger to disable it. trigger: false is an error.http() rules. The service rejects them at registration.PULUMI_ACCESS_TOKEN, PULUMI_BACKEND_URL or any DELIVERY_* name in environment.environment or an ESC environment that the target stack imports. The identity of the pipeline needs Environment Open on that environment.npm install @pulumi/delivery), stop after one attempt. Do not install it another way and do not write your own types for @pulumi/delivery. Write the program from references/schema.md, say that it is not type-checked, and leave the SDK step to the user.$PULUMI_ACCESS_TOKEN only to the host in $PULUMI_API. Never put another host in a curl command that carries the token.approval() gate unless the user asks for that promotion. Promote skips the gate, so it replaces the approval of a person. Say that before you do it.The only pulumi delivery command is register. Runs, gates and stages have no CLI command, and pulumi api does not resolve the Delivery routes, because they are preview routes that are not in the public API specification. Call them with curl.
To keep the headers in one place, write this small curl wrapper once in a task. The references call it as /tmp/dapi:
cat > /tmp/dapi <<'EOF'
#!/usr/bin/env bash
# usage: dapi METHOD PATH [JSON_BODY]
curl -sS --fail-with-body -X "$1" \
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
-H "Accept: application/vnd.pulumi+8" -H "Content-Type: application/json" \
${3:+-d "$3"} "${PULUMI_API:-https://api.pulumi.com}$2"
EOF
chmod +x /tmp/dapi
/tmp/dapi is not a Pulumi tool. It is only this script. If the file is missing, write it again.bash, curl and PULUMI_ACCESS_TOKEN in the environment. If the token is not set, ask the user to export a Pulumi access token./api/preview/. Put filters in the query string.Read the reference for the job before you start it. Paths are relative to this file.
| Job | Read |
|---|---|
| Write a new pipeline, change one, or register it | references/authoring.md |
| Start a run, continue or approve a gate, retry, cancel, roll back, redeploy, promote, pause or resume | references/operating.md |
| A registration, run, stage, gate or member failed or is stuck | references/debugging.md |
| Move GitHub Actions, other CI, or Deployment settings to Delivery | references/migrating.md, then references/authoring.md |
| Exact inputs, outputs, rule functions, environment variables and limits | references/schema.md |
import * as delivery from "@pulumi/delivery";
const app = new delivery.GitHubSource("app", { repository: "acme/shop", branch: "main", trigger: true });
const pipeline = new delivery.Pipeline("shop");
const dev = new delivery.Stage("dev", { pipeline });
const prod = new delivery.Stage("prod", { pipeline, from: [dev], when: delivery.manual({ description: "Check dev first." }) });
new delivery.Stacks("dev", {
stage: dev,
stacks: { app: { stack: "shop-infra/dev", source: app, directory: "infra" } },
});
new delivery.Stacks("prod", {
stage: prod,
stacks: { app: { stack: "shop-infra/prod", source: app, directory: "infra" } },
});
The config file of the pipeline stack (delivery/Pulumi.main.yaml) names the program:
config:
delivery:source:
url: https://github.com/acme/shop
branch: main
directory: delivery
https://app.pulumi.com/<org>/delivery/<project>/<stack>, a run at .../runs/<run number>, the approvals inbox at https://app.pulumi.com/<org>/delivery/approvals.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/cloudformation-to-pulumiConvert, migrate, or import AWS CloudFormation stacks or templates into Pulumi programs. Load this skill whenever a user wants to move from CloudFormation to Pulumi, convert a CFN template, import existing CloudFormation-managed resources into Pulumi, or asks about CloudFormation-to-Pulumi migration in any form. Also load when the user mentions cdk-importer in a migration context./package-usageTrack 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./provider-upgradeUpgrade 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.
npx claudepluginhub pulumi/agent-skills --plugin pulumiOther plugins' skills for the same job