/kamal-skills:kamalfrom kamal-skills
Start here for anything Kamal when the request is broad or it is unclear which Kamal skill fits. Reads the project's Kamal state (config/deploy.yml, .kamal/secrets, .kamal/hooks) and routes to the right skill in this pack, such as setup, config, deploy, rollback, proxy, secrets, env, accessories, servers, build, registry, ci-deploy, or server-hardening, and chains them for multi-step jobs like a first deploy or a 1.x upgrade. Use when the user says "help me with Kamal," "Kamal isn't working," "my Kamal deploy is broken," "what can you do with Kamal," "how do I use Kamal," "set up Kamal end to end," or names Kamal without a specific task. When the request already matches one skill (for example "roll back my deploy"), use that skill directly.
Ships in kamal-skills. 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.
You are the entry point to the Kamal skills pack. You do not answer Kamal questions from memory. You find out where the project stands, pick the skill that covers the request, and hand off to it. Every command, flag, and config key lives in the specific skills, which are grounded in the Kamal docs.
Check these before asking anything:
| Look at | It tells you |
|---|---|
config/deploy.yml | Missing means Kamal is not set up yet. Present means read service, servers, proxy, accessories, registry, builder. |
config/deploy.*.yml | Destinations (for example staging) in use. |
.kamal/secrets* | How secrets are supplied. |
.kamal/hooks/ | Custom scripts that run during deploys. |
A traefik: block in deploy.yml | A Kamal 1.x config that needs upgrading. |
.github/workflows/ | Whether deploys already run from CI. |
Match the request to one row and use that skill. If two rows fit, start with the first and mention the second.
| The user wants to... | Skill |
|---|---|
| Install Kamal or ship a first deploy on a new project | setup |
Write or understand config/deploy.yml, add a destination | config |
| Deploy, redeploy, or fix a deploy that fails or hangs | deploy |
| Undo a bad release or see which version is live | rollback |
| Route a domain, turn on HTTPS, fix healthchecks or timeouts | proxy |
| Store and load secrets, use a password manager | secrets |
| Set environment variables, clear or secret | env |
| Run a database, Redis, or another long-lived service | accessories |
| Add hosts, split web and worker roles | servers |
| Change how many hosts restart at once | rollout |
| Build the image, use a remote or multi-arch builder, cache builds | build |
| Push to Docker Hub, GHCR, ECR, or a local registry | registry |
| Connect over SSH with a different user, port, key, or jump host | ssh |
| Inspect, restart, exec into, or tail logs of running containers | app |
| Configure the Docker log driver or Kamal's output | logging |
| Run scheduled jobs | cron |
| Run a script before or after a deploy | hooks |
Shorten a long, repeated kamal command | aliases |
| Clean up old images and containers | prune |
| Tear the deployment down | remove |
| Move a Kamal 1.x project to 2.x | upgrade |
| Deploy from GitHub Actions after the tests pass | ci-deploy |
| Lock down a server's firewall, SSH, and updates | server-hardening |
Gate deploys on a local gh signoff (only when the user asks) | local-ci-deploy |
Commands without their own skill: deploy locks are in deploy, and kamal details and kamal audit are in app.
Some requests span several skills. Run them in this order and finish each before starting the next.
| Job | Order |
|---|---|
| First deploy of a new app | setup, then secrets, registry, and proxy as setup needs them, then deploy |
| Add a database or Redis to a live app | accessories, then env for the connection settings, then deploy |
| Add a custom domain with HTTPS | proxy, then deploy |
| Move from Kamal 1.x | upgrade, then deploy |
| Stop deploying from a laptop | ci-deploy (deploy by hand once first) |
| Prepare a new production server | server-hardening, then setup or deploy |
When the user says "Kamal is broken" without detail, get the failing command and its output first. Then route by where it failed:
| Failure shows up in | Start with |
|---|---|
| Building or pushing the image | build, then registry |
| Connecting to servers | ssh |
| Missing or wrong env values or secrets | secrets, then env |
| Healthcheck, timeout, or routing | proxy |
| The container starts and then exits | app (logs and details) |
| A hook script | hooks |
| The deploy lock | deploy |
Give a short map instead of a lecture: Kamal deploys Docker containers to your own servers over SSH, with zero-downtime cutover through kamal-proxy. List the rows from Step 2 that fit their project, and offer the next step from Step 3.
What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/accessoriesRun and manage accessory services — databases, Redis, search, and other long-lived dependencies your app needs — through Kamal's `accessories:` configuration and the `kamal accessory` command. Use this when the user says things like "add a MySQL/Postgres/Redis accessory," "run a database with Kamal," "kamal accessory boot," "set up a sidecar/companion service," "my app needs a cache or search container," "persist accessory data with volumes," or "reboot/restart/remove an accessory." Covers defining the accessory (image, host/hosts/role/roles/tag/tags, port, env, files, directories, volumes, network, options, registry, proxy) and operating it with boot, reboot, restart, start, stop, details, logs, exec, and remove. For passing configuration and credentials into accessories, see env and secrets. For scheduled jobs, see cron./aliasesDefine custom command aliases under the top-level `aliases` key in `config/deploy.yml` so a long, repeated `kamal` invocation becomes a single `kamal <name>`. Use it when the user says "add a Kamal alias," "shortcut kamal app exec," "make `kamal console` open a Rails console," "create a one-liner to deploy staging," "I keep retyping the same kamal command," or asks about the `aliases` config key, alias naming rules, or a `deploy -d staging` shortcut. Covers how an alias expands into a `kamal` subcommand, the lowercase letters/numbers/dashes/underscores naming rule, and the documented examples `console: app exec -i --reuse "bin/rails console"`, `uname: app exec -p -q -r web "uname -a"`, and `staging_deploy: deploy -d staging`. For the rest of `config/deploy.yml` and DRYing it up with YAML anchors, see config. For the underlying app exec / console / logs commands the aliases wrap, see app.npx claudepluginhub donnfelker/kamal-skills --plugin kamal-skillsOther plugins' skills for the same job