# sealos-deploy

Deploys workspace code to Sealos Cloud from a Brain Devbox sandbox using MCP tools. Needed when running in SEALAI_DEPLOY_MODE=managed.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 479 installs · ★ 83
- Author: labring
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/labring/sealos-skills/tree/HEAD/plugins/sealos/skills/sealos-deploy/SKILL.md
- Updated: 2026-09-28
- HTML: https://affpapa.org/en/nevibecode/skills/sealos-deploy

## What it does

The skill functions as the executor half of a deployment pipeline managed by Brain on Sealos Cloud. It activates strictly when `SEALAI_DEPLOY_MODE` is set to `managed` or when explicitly called. The agent reviews the project, pulls store templates for standard apps, or builds custom code with Kaniko without needing a local Docker daemon.

All configurations write to `$SEALAI_DEPLOY_WORKSPACE/.sealos/template/index.yaml` under the `app.sealos.io/v1/Template` specification. Custom user inputs are declared under `spec.inputs` so the Brain platform collects them through its own forms. The workflow stays non-interactive: the agent calculates the SHA-256 digest of the manifest and triggers the `template_ready` MCP tool to hand over control.

Execution stops immediately with a fatal error if either `template_ready` or `deployment_completed` MCP tools are missing. Outside a Brain Devbox sandbox, standard deployments should use the sibling `use-sealos` skill instead.

## Requirements
- Works with: Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add labring/sealos-skills --skill sealos-deploy -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sealos-deploy/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sealos-deploy/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add labring/sealos-skills --skill sealos-deploy -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sealos-deploy/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add labring/sealos-skills --skill sealos-deploy -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sealos-deploy/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install labring/sealos-skills sealos-deploy
```

2. **Manually: put the files in place**
- File: `.github/skills/sealos-deploy/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add labring/sealos-skills --skill sealos-deploy -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/labring/sealos-skills --path plugins/sealos/skills/sealos-deploy
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sealos-deploy/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add labring/sealos-skills --skill sealos-deploy -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/labring/sealos-skills/tree/HEAD/plugins/sealos/skills/sealos-deploy/SKILL.md

## When to use it
- build container images with Kaniko without a Docker daemon
- generate canonical templates at .sealos/template/index.yaml
- coordinate non-interactive deployments with Brain via MCP tools
- deploy sandbox workspaces into a target Sealos namespace

## Example prompts
- /sealos-deploy
- Deploy the current workspace to Sealos using the managed pipeline
- Run the managed deployment executor for this Brain Devbox project

## Similar
- [rollback-deploy](https://affpapa.org/en/nevibecode/commands/rollback-deploy.md) — command · 260 installs
- [blue-green-deploy](https://affpapa.org/en/nevibecode/skills/blue-green-deploy.md) — skill · 332 installs
- [k8s-manifest-generator](https://affpapa.org/en/nevibecode/skills/k8s-manifest-generator.md) — skill · 11166 installs
- [dt-obs-kubernetes](https://affpapa.org/en/nevibecode/skills/dt-obs-kubernetes.md) — skill · 2600 installs
- [devops-deployment](https://affpapa.org/en/nevibecode/skills/devops-deployment.md) — skill · 1600 installs
- [kubernetes-skill](https://affpapa.org/en/nevibecode/skills/kubernetes-skill.md) — skill · 1400 installs

From the same set: [labring/sealos-skills](https://affpapa.org/en/nevibecode/by/labring/sealos-skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
