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 1mo 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 1mo 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. 1mo 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 4mo 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

Other skills, from other repositories

devops

DevOps patterns: containerization, CI/CD, deployment strategies, monitoring. Use when containerizing apps, setting up pipelines, or deploying services.

xiaobei930/cc-best · 32 tokens

memstack-deployment-docker-setup

Use this skill when the user says 'Docker', 'Dockerfile', 'docker-compose', 'containerize', 'docker-setup', or needs to containerize an application with optimized Docker images and compose configurations. Do NOT use for serverless or static site deployments.

cwinvestments/memstack · 62 tokens

eval-agents

Audit custom subagent definitions for Claude Code (.claude/agents/.md) and Codex (.codex/agents/.toml): loadability against the native schema, description overlap, model tier, tool scope, and headless-safe instructions. Use when onboarding to a project with agents, after adding or importing agents, or when the parent…

FlorianBruniaux/claude-code-ultimate-guide · 80 tokens

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

FlorianBruniaux/claude-code-ultimate-guide · 24 tokens

sandbox-unblock

Diagnostic protocol to run before reporting a sandbox blocker or asking for a configuration change. Eleven checks that eliminate false positives, then a report template the person holding the settings can act on. On one measured day, six of eight reported blockers turned out to be false, all from the same handful of…

FlorianBruniaux/claude-code-ultimate-guide · 65 tokens

self-assessment

Interactive skill assessment with personalized learning path generation.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens