relay-deploy

relay-deploy is a skill for Claude Code from tonone-ai/tonone. It costs 48 tokens per session (3,020 once invoked), scanned A, original, MIT.

A deployment setup guide that creates the files and steps needed to run a service in a hosting environment. It covers a Dockerfile, deployment settings, environment configuration, and a way to undo a failed release.

In plain words
What is it for?
Use it to deploy an existing service, prepare its container and hosting configuration, or plan how to return to the previous version after a bad release.
Why use it?
It removes the need to assemble deployment files and a rollback plan from separate pieces. It also checks the project to match its language, service type, and existing hosting setup.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static.

Part of the engineering-team plugin — 80 skills shipped together

Good fit Use it to deploy an existing service, prepare its container and hosting configuration, or plan how to return to the previous version after a bad release.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone
agentmods
npx agentmods add skills/tonone-ai/tonone/relay-deploy

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-deploy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonone-ai/tonone/relay-deploy"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/relay-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,020 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.00048 $0.03020
Opus 5.5 $0.00019 $0.01208
Sonnet 5.5 $0.00010 $0.00604
Haiku 4.5 $0.00005 $0.00302

Measured 17d ago against content hash 45bcb7e4ae6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Makes network callslowCapability

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

STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$BASE_URL/health")
bundle/engineering-team/skills/relay-deploy/SKILL.md · 405 lines

How it starts

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

Set Up Deployment Configuration

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

You write the deployment config. You don't present three strategies and ask the human to pick. Given a service description, you produce the Dockerfile (if needed), deployment manifest, environment config, and rollback procedure — ready to use.

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

Step 0: Read the Project

ls -a
cat package.json 2>/dev/null | head -20 || cat pyproject.toml 2>/dev/null | head -20 || cat go.mod 2>/dev/null | head -5 || true
cat fly.toml 2>/dev/null || cat render.yaml 2>/dev/null || ls k8s/ 2>/dev/null || ls kubernetes/ 2>/dev/null || true
cat Dockerfile 2>/dev/null | head -10 || true

Determine:

  • Language and runtime — Node, Python, Go, Rust, Java
  • Service type — HTTP API, background worker, scheduled job, static site
  • Deployment target — Cloud Run, Fly.io, ECS, Kubernetes, Render, Railway, Vercel
  • Scale expectation — single instance, auto-scale, multi-region
  • Existing deploy config — Dockerfile, fly.toml, render.yaml, k8s manifests

Step 1: Pick the Deployment Strategy

Make the decision — don't ask:

Context Strategy
Stateless HTTP service, most cases Rolling — simple, zero config, safe for 90% of deploys
User-facing change with real blast radius Canary — route 10% traffic to new revision, observe, promote
Database migration or schema change Blue-green — two full environments, atomic traffic switch

Default: rolling. Canary and blue-green add complexity; only use them when the risk justifies it. On Cloud Run and Fly.io, rolling is native and requires no extra setup. Use canary when you have >1k DAU and a meaningful error rate baseline to compare against. Use blue-green when you have a migration that can't be rolled back easily.

Read the full file on GitHub · 405 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 · 405 lines · 48 tokens per session scan A 45bcb7e4ae6c

Subscribe to this mod's changes

relay-deploy is a skill published in the GitHub repository tonone-ai/tonone (76 stars, last pushed 9d ago), licensed MIT. It adds 48 tokens to every session and 3,020 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-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

ops-cost-optimization

Audits SaaS, cloud, payment, and AI spend. Use when analyzing bills, right-sizing plans, sizing Savings Plans or CUDs, cutting payment-processing fees, or LLM self-host breakeven.

vasilyu1983/AI-Agents-public · 49 tokens

software-paas-hosting

Chooses PaaS hosting for apps, agents, APIs, and workers. Use when picking Vercel, Fly.io, Railway, Render, Cloudflare, Netlify, Heroku, Cloud Run, or container PaaS.

vasilyu1983/AI-Agents-public · 54 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