
Pulumi automation API
Teaches your agent to run Pulumi deployments programmatically with the Automation API
Pulumi automation API 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 Pulumi automation API
This skill guides an agent through the Pulumi Automation API, which exposes stack operations such as up, destroy and config as code rather than CLI commands. It explains when that approach fits better than shell scripts, such as sequencing several stacks, embedding infrastructure provisioning in an application, or building an internal portal for developers.
The material covers two source styles: a local source that points at an existing Pulumi project directory, and an inline source where the Pulumi program lives inside the orchestrator. It also shows patterns for deploying stacks in dependency order, running independent stacks in parallel, setting configuration and secrets from code, reading outputs, handling failed updates, and streaming output during long operations.
The examples are written in TypeScript using the @pulumi/pulumi automation module, and the skill notes that the orchestrator can be written in a different language from the Pulumi programs it manages. Users need an existing Pulumi setup and the relevant cloud provider packages for the resources they deploy.
When your agent uses it
Load this skill when a user asks how to run Pulumi programmatically, embed Pulumi in an application, orchestrate multiple stacks in code, build a self-service infrastructure portal, replace pulumi CLI shell scripts with code, or use the Pulumi Automation API (LocalWorkspace, createOrSelectStack, inline programs). Also load for questions about multi-stack sequencing, parallel deployments, or passing outputs between stacks via code.
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 (9 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-skillsOr copy only this skill to ~/.claude/skills/pulumi-automation-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pulumi-automation-api &&
cp -R "$tmp/pulumi/skills/pulumi-automation-api" ~/.claude/skills/pulumi-automation-api &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/pulumi-automation-api inside it instead.
Copy the skill folder to ~/.agents/skills/pulumi-automation-api 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/pulumi-automation-api &&
cp -R "$tmp/pulumi/skills/pulumi-automation-api" ~/.agents/skills/pulumi-automation-api &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/pulumi-automation-api inside it instead.
Copy the skill folder to ~/.cursor/skills/pulumi-automation-api 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/pulumi-automation-api &&
cp -R "$tmp/pulumi/skills/pulumi-automation-api" ~/.cursor/skills/pulumi-automation-api &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/pulumi-automation-api inside it instead.
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/pulumi-automation-apiOr copy the folder to ~/.gemini/skills/pulumi-automation-api yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pulumi-automation-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pulumi-automation-api &&
cp -R "$tmp/pulumi/skills/pulumi-automation-api" ~/.copilot/skills/pulumi-automation-api &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/pulumi-automation-api inside it instead.
Get the folder:
git clone --depth 1 https://github.com/pulumi/agent-skills.gitThen copy agent-skills/pulumi/skills/pulumi-automation-api into your agent's skills folder as pulumi-automation-api. Agents that support SKILL.md read one folder per skill.
What it does
- Local and inline sources
- Covers running an existing Pulumi project by directory or embedding the program inside the orchestrator.
- Multi-stack sequencing
- Shows deploying stacks in dependency order and tearing them down in reverse.
- Parallel stack deployments
- Demonstrates running independent stacks concurrently with Promise.all.
- Configuration and secrets
- Explains setting stack config values, including secret values, from code before an update.
- Reading stack outputs
- Shows retrieving outputs from a stack after an update or from its current state.
- Error handling and streaming
- Covers checking the update result for failures and streaming operation output in real time.
Good for
- Deploy a VPC, Kubernetes platform and application stack in order from one script
- Build a web portal where developers provision per-environment infrastructure
- Replace a Makefile that chains pulumi commands with a typed TypeScript orchestrator
- Tear down several stacks in reverse dependency order
- Pass stack outputs from one deployment into the configuration of the next
Pulumi automation API FAQ
When should I use the Automation API instead of the Pulumi CLI?
The skill suggests it for multi-stack orchestration, self-service platforms, embedded infrastructure and replacing fragile Bash or Makefile scripts. It advises against it for a single project with standard deployment needs.
Can the orchestrator use a different language from my Pulumi program?
Yes. The skill gives an example of a Go orchestrator managing a TypeScript Pulumi program.
Does Pulumi automation API run any scripts?
No. It contains no scripts and provides code examples and guidance only.
How do I install Pulumi automation API in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/pulumi-automation-api to use it in all your projects, or to .claude/skills/pulumi-automation-api 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 Pulumi automation API 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 Pulumi automation API?
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 Pulumi automation API?
The closest alternatives to Pulumi automation API are Pulumi delivery, Pulumi best practices, Pulumi overview, Pulumi component and Pulumi setup agent automation.
Where this comes from
- Description: from the skill's own SKILL.md.
More from pulumi/agent-skills

Hands the current coding thread off to a new Pulumi Neo task
- Open source
- 82 GitHub stars
- Cloud and infrastructure

Guides an agent through converting AWS CloudFormation stacks into Pulumi programs
- Open source
- 82 GitHub stars
- Cloud and infrastructure

Guides an agent through converting or importing Azure ARM and Bicep templates into Pulumi
- Open source
- 82 GitHub stars
- Cloud and infrastructure

Guides an agent through migrating an AWS CDK app to Pulumi with a PR-ready report
- Open source
- 82 GitHub stars
- Cloud and infrastructure

Guides an agent to import a discovered CloudFormation or ARM stack into Pulumi
- Open source
- 82 GitHub stars
- Cloud and infrastructure

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

