# Pulumi esc

> Pulumi esc is an open-source agent skill for cloud and infrastructure. Guides an agent through Pulumi ESC environments, secrets, and OIDC credential setup. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/pulumi/agent-skills/tree/main/pulumi/skills/pulumi-esc
- **Repository:** https://github.com/pulumi/agent-skills
- **GitHub stars:** 82
- **License:** Apache-2.0
- **Skill name:** pulumi-esc
- **Collection:** https://github.com/pulumi/agent-skills
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent working knowledge of Pulumi ESC, the service for storing environments, secrets and configuration in one place and composing them through imports. It covers the pulumi env command family, the difference between reading a definition and resolving it, and how to link an environment to a Pulumi stack. It also documents YAML structure with reserved keys for environment variables, stack config and generated files, plus how to read another stack's outputs through the pulumi-stacks provider.

For credential work, the skill covers short-term OIDC logins for AWS, Azure and GCP and integrations with external secret stores such as AWS Secrets Manager, Azure Key Vault, HashiCorp Vault and 1Password. It includes guidance on handling expired logins and on confirming an existing environment points at the right account before using it. Linking an environment to a stack requires explicit user confirmation, and the skill directs the agent to verify resolved values afterwards.

The skill contains no scripts. It points the agent to the official Pulumi ESC documentation pages for full syntax and provider details, and it prefers CLI commands over direct API calls.

## When your agent uses it

> Guidance for working with Pulumi ESC (Environments, Secrets, and Configuration). Use when users ask about managing secrets, configuration, environments, short-term credentials, configuring OIDC for AWS, Azure, GCP, integrating with secret stores (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault, 1Password), or using ESC with Pulumi stacks.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/pulumi/agent-skills/tree/HEAD/pulumi/skills/pulumi-esc)
- [License: Apache-2.0](https://github.com/pulumi/agent-skills/tree/HEAD/pulumi/skills/pulumi-esc)

## Features

- **Environment composition:** Explains how to import and layer environments and define values, secrets and reserved keys.
- **Short-term cloud credentials:** Covers OIDC-based dynamic logins for AWS, Azure and GCP.
- **External secret store links:** Describes integration with AWS Secrets Manager, Azure Key Vault, Vault and 1Password.
- **Stack output consumption:** Shows how to read another stack's outputs through the pulumi-stacks provider.
- **Safe credential handling:** Sets rules for confirming environments and avoiding revealing secrets unnecessarily.
- **Credential troubleshooting:** Lists common ESC errors and the remediation steps to relay or verify.

## Good for

- Set up AWS OIDC credentials for a Pulumi stack using ESC
- Create a new ESC environment with secrets and layered imports
- Link an environment to a stack and verify the config resolves
- Pull outputs from a network stack into an application stack
- Troubleshoot a 'Secret decryption failed' or 'Environment not found' error

## Install

### Claude Code

This skill ships in the `pulumi` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pulumi/agent-skills
/plugin install pulumi@pulumi-agent-skills
```

Or copy only this skill to `~/.claude/skills/pulumi-esc`:

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

For one project only, put the folder in `.claude/skills/pulumi-esc` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pulumi-esc` to use it in every repository:

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

For one repository only, put the folder in `.agents/skills/pulumi-esc` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pulumi-esc` to use it in every project:

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

For one project only, put the folder in `.cursor/skills/pulumi-esc` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/pulumi/agent-skills.git --path pulumi/skills/pulumi-esc
```

Or copy the folder to `~/.gemini/skills/pulumi-esc` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pulumi-esc`:

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

For one project only, put the folder in `.github/skills/pulumi-esc` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pulumi/agent-skills.git
```

Then copy `agent-skills/pulumi/skills/pulumi-esc` into your agent's skills folder as `pulumi-esc`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It has no scripts and no tool restrictions are set. It relies on the pulumi CLI and directs the agent to fetch official Pulumi documentation pages for detailed syntax.

### Does Pulumi esc change credentials automatically?

No. Linking an environment to a stack needs explicit user confirmation, and the skill tells the agent never to pass --yes to skip that step.

### Which secret stores does Pulumi esc cover?

It names AWS Secrets Manager, Azure Key Vault, HashiCorp Vault and 1Password as integrations ESC can use.

### Which difference between pulumi env get and pulumi env open does Pulumi esc explain?

pulumi env get shows the static definition with secrets hidden, while pulumi env open resolves values and reveals secrets and dynamic credentials.

### How do I install Pulumi esc in Claude Code?

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

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 esc?

The closest alternatives to Pulumi esc are Pulumi overview, Pulumi best practices, Pulumi terraform to pulumi, Cloudformation to pulumi and Pulumi automation API.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Pulumi overview](https://ai-powered.com/skills/pulumi-overview): Pulumi overview is an open-source agent skill for cloud and infrastructure.
- [Pulumi best practices](https://ai-powered.com/skills/pulumi-best-practices): Pulumi best practices is an open-source agent skill for cloud and infrastructure.
- [Pulumi terraform to pulumi](https://ai-powered.com/skills/pulumi-terraform-to-pulumi): Pulumi terraform to pulumi is an open-source agent skill for cloud and infrastructure.
- [Cloudformation to pulumi](https://ai-powered.com/skills/cloudformation-to-pulumi): Cloudformation to pulumi is an open-source agent skill for cloud and infrastructure.
- [Pulumi automation API](https://ai-powered.com/skills/pulumi-automation-api): Pulumi automation API is an open-source agent skill for cloud and infrastructure.
- [Pulumi delivery](https://ai-powered.com/skills/pulumi-delivery): Pulumi delivery is an open-source agent skill for cloud and infrastructure.
- [Pulumi create agent](https://ai-powered.com/skills/pulumi-create-agent): Pulumi create agent is an open-source agent skill for cloud and infrastructure.
- [Pulumi migrate from discovered stack](https://ai-powered.com/skills/pulumi-migrate-from-discovered-stack): Pulumi migrate from discovered stack is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/pulumi-esc
