kamal
A portable agent skill for setting up and managing Kamal deployments — covering Kamal 2.x and 1.9.x. Works with Claude Code, Cursor, GitHub Copilot, Codex, Amp, and any agentic coding tool that can read markdown files.
What it covers
- Zero-downtime deploys, rolling deploys, and rollbacks
- First-time setup (
kamal setup) through day-to-day operations kamal-proxyconfiguration, Let's Encrypt SSL, and custom certificates- Secrets management (
.kamal/secrets, vault adapters: 1Password, AWS, GCP, Vault, and more) - Accessories (databases, Redis, etc.)
- Deploy hooks with sample scripts
- Remote builders and multiarch builds (Apple Silicon → amd64)
- Asset bridging to prevent 404s during rolling deploys
- Multi-environment deployments (destinations)
- Full Kamal 1.9.x syntax + step-by-step v1 → v2 upgrade guide
Layout
SKILL.md # hub: version detection, setup workflow, cheatsheet, gotchas (agent entrypoint)
references/
configuration.md # complete deploy.yml key reference with full example
commands.md # every CLI command, subcommand, and flag
workflows.md # setup / deploy / rollback / rolling / multi-server
secrets-and-hooks.md # .kamal/secrets, vault adapters, hooks + sample scripts
proxy-and-ssl.md # kamal-proxy, Let's Encrypt, streaming, per-role proxy
builders.md # build strategies, remote builder, multiarch, asset bridging
troubleshooting.md # 10 common issues, debugging techniques, log commands
kamal-v1.md # Kamal 1.9.x syntax + v1→v2 upgrade procedure
assets/
deploy.yml # annotated v2 starter config (framework-agnostic)
deploy.v1.yml # annotated v1 starter config (Traefik block)
secrets.example # .kamal/secrets template with vault adapter patterns
hooks/ # executable pre-connect, pre-deploy, post-deploy samplesThe agent loads SKILL.md up front and opens the matching references/ file on demand, so the entrypoint stays lean while the full knowledge base is always available.
Kamal version support
The skill defaults to Kamal 2.x (current). Full Kamal 1.9.x syntax — including the traefik: block, .env-based secrets, kamal env push, and the complete v1→v2 upgrade procedure — is in references/kamal-v1.md.
Install
See the collection README. In short:
npx skills add eagerworks/skills --skill kamal