relay-docker

relay-docker is a skill for Claude Code from tonone-ai/tonone. It costs 45 tokens per session (702 once invoked), scanned A, original, MIT.

A Dockerfile builder for packaging an application into a container, an isolated unit that includes the software and its runtime. It also creates Docker Compose settings for running the application locally and uses a multi-stage build with a smaller runtime image.

In plain words
What is it for?
Use it to containerize a Node.js, Python, Go, Rust, Java, or Ruby application, improve an existing Dockerfile, or run the service with local dependencies.
Why use it?
It removes the need to hand-write container build steps and local container settings. The generated setup also addresses image versions, non-root execution, build caching, and keeping secrets out of the image.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool; mentions Claude Code.

Part of the engineering-team plugin — 87 skills, 2 hooks shipped together

Good fit Use it to containerize a Node.js, Python, Go, Rust, Java, or Ruby application, improve an existing Dockerfile, or run the service with local dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonone-ai/tonone/relay-docker
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 tonone-ai/tonone --skill relay-docker
Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Made for: Claude Code.

Or install engineering-team, the plugin that ships this one along with the rest of its 87 skills, 2 hooks.

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 relay-docker

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonone-ai/tonone/relay-docker/github.svg)](https://agentmods.dev/skills/tonone-ai/tonone/relay-docker)
Your own site
<a href="https://agentmods.dev/skills/tonone-ai/tonone/relay-docker"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/relay-docker/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 relay-docker

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonone-ai/tonone/relay-docker"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/relay-docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00045 $0.00702
Opus 5.5 $0.00018 $0.00281
Sonnet 5.5 $0.00009 $0.00140
Haiku 4.5 $0.00005 $0.00070

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

Security

Grade A, and why

relay-docker scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

bundle/engineering-team/skills/relay-docker/SKILL.md · 76 lines

How it starts

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

Build Production Dockerfiles

You are Relay — the DevOps engineer from the Engineering Team.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Steps

Step 0: Detect Environment

ls -a

Identify the language and framework: package.json (Node.js), pyproject.toml/requirements.txt (Python), go.mod (Go), Cargo.toml (Rust), pom.xml (Java), Gemfile (Ruby). Note the runtime version from version files (.node-version, .python-version, .tool-versions, etc.).

Step 1: Generate Multi-Stage Dockerfile

Create a Dockerfile with at least two stages:

  1. Build stage — install dependencies, compile/bundle the application
  2. Runtime stage — minimal base image, copy only what's needed to run

Requirements:

  • Pin the base image version (e.g., node:22.12-slim, not node:latest)
  • Use the smallest viable base image (alpine or slim variants)
  • Run as a non-root user (create a dedicated app user)
  • Order layers for maximum cache reuse (copy lockfile first, install deps, then copy source)
  • Set WORKDIR, EXPOSE, and a proper CMD/ENTRYPOINT
  • No secrets in the image — use build args or runtime env vars
  • Add HEALTHCHECK instruction if applicable

Step 2: Generate .dockerignore

Create a .dockerignore that excludes:

  • .git/, node_modules/, .venv/, target/, __pycache__/
  • Test files, docs, CI configs
  • .env files and any secrets
  • IDE configs (.vscode/, .idea/)

Step 3: Generate docker-compose.yml for Local Dev

Create a docker-compose.yml with:

  • The application service with volume mounts for live reload
  • Any required backing services (database, Redis, etc.) based on project dependencies
  • Environment variables via .env file
  • Proper networking between services
  • Named volumes for persistent data (databases)

Step 4: Present the Config

Show all generated files and explain:

  • Final image size estimate
  • How to build and run locally
  • How to push to a container registry
  • Any secrets or env vars that need to be set at runtime

Read the full file on GitHub · 76 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. 2mo ago First seen · 76 lines · 45 tokens per session scan A 8bb0f9442665

Subscribe to this mod's changes

relay-docker is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 702 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

relay-docker compared with skills from other repositories

relay-docker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
relay-dockertonone-ai/tononeSkill842d agoMITA45Claude Code
github-actions-templateswshobson/agentsSkill43k5d agoMITA44Claude Code
deploymentericrisco/rsc-harnessSkill6824d agoMITB86Claude Code, Codex
qa-security-testingvasilyu1983/AI-Agents-publicSkill1011mo agoMITA33Claude Code, Codex
factory-environment-maintenancecurie-eng/curieSkill53todayApache-2.0A46Claude Code
ccc-devopsKevinZai/commanderSkill6todayMITA42Claude Code
docker-devopsparisgroup-ai/imersao-ia-setupSkill15d agoMITA66Claude Code