docker-deploy

docker-deploy is a skill for Claude Code, Codex from floomhq/moto. It costs 47 tokens per session (619 once invoked), scanned A, original, MIT.

A runbook for deploying self-hosted services in Docker, a system that packages an application and its dependencies into containers you can run locally or on a server.

In plain words
What is it for?
Use it to deploy web apps, APIs, databases, gateways, and other services with Docker, including copying files to a remote server and verifying health endpoints.
Why use it?
It gives a defined process for identifying the right project, rebuilding and restarting containers, preserving environment settings, and checking that the service responds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to deploy web apps, APIs, databases, gateways, and other services with Docker, including copying files to a remote server and verifying health endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/floomhq/moto/docker-deploy
View source ↗ floomhq/moto
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add floomhq/moto --skill docker-deploy
Clone the repo
git clone --depth 1 https://github.com/floomhq/moto

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/floomhq/moto/docker-deploy/github.svg)](https://agentmods.dev/skills/floomhq/moto/docker-deploy)
Your own site
<a href="https://agentmods.dev/skills/floomhq/moto/docker-deploy"><img src="https://agentmods.dev/badge/skills/floomhq/moto/docker-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/floomhq/moto/docker-deploy"><img src="https://agentmods.dev/badge/skills/floomhq/moto/docker-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00619
Opus 5.5 $0.00019 $0.00248
Sonnet 5.5 $0.00009 $0.00124
Haiku 4.5 $0.00005 $0.00062

Measured 3mo ago against content hash 4b4188ce4068, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-deploy scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "%{http_code}" http://localhost:3000
claude/skills/docker-deploy/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker Deploy Skill

Detect the target project, build, deploy, and verify. Never guess - confirm project from context or ask.

Projects

Example: Web App (Dev Server)

  • Path: ~/my-app/
  • Container: my-app
  • Ports: 3000->3000

Build and deploy:

cd ~/my-app
docker build -t my-app:latest .
docker stop my-app 2>/dev/null || true
docker rm my-app 2>/dev/null || true
docker run -d --name my-app -p 3000:3000 my-app:latest

Verify:

curl -s -o /dev/null -w "%{http_code}" http://localhost:3000

Example: API Service (Remote Server)

  • Source: /path/to/api/main.py
  • Deploy path (remote): /opt/my-api/
  • Container: my-api, port 8090

Deploy flow:

# 1. Copy updated file(s) to remote
scp /path/to/api/main.py remote-server:/opt/my-api/main.py

# 2. Rebuild and restart on remote
ssh remote-server "cd /opt/my-api && docker compose build && docker compose up -d"

Verify:

curl -s -o /dev/null -w "%{http_code}" https://api.example.com/health

Env vars: /opt/my-api/.env on remote (do not overwrite without reading first).


Example: Stateful Service (WhatsApp Gateway, DB, etc.)

  • Container: my-gateway, port 19000
  • Config: /opt/my-gateway/

CRITICAL: NEVER run docker-compose down or docker-compose up on stateful containers. This destroys session state (e.g., WhatsApp linking, DB data).

Restart only:

docker restart my-gateway

Workflow

  1. Detect project from user input.
  2. If ambiguous, ask: "Which project?"
  3. Run the build/deploy sequence for that project.
  4. Run verification step and show the HTTP status code or container status.
  5. Report result. If verification fails, check container logs.

Check logs if something breaks:

# Local containers
docker logs --tail 50 <container-name>

# Remote containers
ssh remote-server "docker logs --tail 50 <container-name>"

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 96 lines · 47 tokens per session scan A 4b4188ce4068

Subscribe to this mod's changes

docker-deploy is a skill published in the GitHub repository floomhq/moto (32 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 619 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

docker-deploy compared with skills from other repositories

docker-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docker-deployfloomhq/motoSkill325mo agoMITA47Claude Code, Codex
devopsxiaobei930/cc-bestSkill515mo agoMITA32Claude Code
memstack-deployment-docker-setupcwinvestments/memstackSkill43322d agoMITA62Claude Code
eval-agentsFlorianBruniaux/claude-code-ultimate-guideSkill7.6k2d agoCC-BY-SA-4.0A80Claude Code
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6k2d agoCC-BY-SA-4.0A41Claude Code
sandbox-unblockFlorianBruniaux/claude-code-ultimate-guideSkill7.6k2d agoCC-BY-SA-4.0A65Claude Code
self-assessmentFlorianBruniaux/claude-code-ultimate-guideSkill7.6k2d agoCC-BY-SA-4.0A12Claude Code, Codex