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 — 80 skills 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 80 skills.

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 17d 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 17d 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. 17d 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 (76 stars, last pushed 9d 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

Other skills, from other repositories

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

wshobson/agents · 44 tokens

qa-security-testing

Builds security testing pipelines for SAST, DAST, SCA, secrets, containers. Use when wiring scanners into CI or regression gates.

vasilyu1983/AI-Agents-public · 33 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens

ccc-devops

DevOps domain router: picks the right specialist for CI/CD pipelines, zero-downtime deploys, Docker and container security, AWS, Terraform, Prometheus/Grafana monitoring, networking and runbooks, then loads it. Use when the user wants to set up, harden or plan infrastructure or delivery.

KevinZai/commander · 67 tokens

infra-standards

Infrastructure, container, and CI/CD discipline — IaC, Dockerfiles and compose files, CI pipelines, platform deploy config, env/secrets handling. INVOKE PROACTIVELY when creating or editing any such file (.tf, .bicep, Dockerfile, docker-compose, .github/workflows/, vercel.json) — even when nobody says "infra". Not for…

PrabhdeepSingh/claude-plugins · 106 tokens

docker-devops

Create optimized Docker configurations, docker-compose setups, Kubernetes manifests, and CI/CD pipelines. Use when containerizing applications, setting up deployment infrastructure, or automating builds. Triggers on: Docker, Dockerfile, container, docker-compose, Kubernetes, k8s, CI/CD, GitHub Actions, deployment.

parisgroup-ai/imersao-ia-setup · 66 tokens