deploy-production

deploy-production is a skill for Claude Code, Codex from thomascasali/claude-kb-workflow. It costs 47 tokens per session (1,726 once invoked), scanned A, original, MIT.

A deployment workflow for running Docker Compose applications behind Traefik, a proxy that routes web traffic, on a Linux VPS, or virtual private server.

In plain words
What is it for?
Use it for standard, no-cache, partial, or full deployments, including HTTPS setup with Let's Encrypt and migration to another VPS.
Why use it?
It organizes the steps needed to deploy backend, frontend, or complete applications and to troubleshoot production containers.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is env_file: ./backend/.env.

Good fit Use it for standard, no-cache, partial, or full deployments, including HTTPS setup with Let's Encrypt and migration to another VPS.

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/thomascasali/claude-kb-workflow
agentmods
npx agentmods add skills/thomascasali/claude-kb-workflow/deploy-production-skill

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomascasali/claude-kb-workflow/deploy-production-skill/github.svg)](https://agentmods.dev/skills/thomascasali/claude-kb-workflow/deploy-production-skill)
Your own site
<a href="https://agentmods.dev/skills/thomascasali/claude-kb-workflow/deploy-production-skill"><img src="https://agentmods.dev/badge/skills/thomascasali/claude-kb-workflow/deploy-production-skill/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 deploy-production

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomascasali/claude-kb-workflow/deploy-production-skill"><img src="https://agentmods.dev/badge/skills/thomascasali/claude-kb-workflow/deploy-production-skill.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 1,726 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.01726
Opus 5 $0.00023 $0.00863
Sonnet 5 $0.00009 $0.00345
Haiku 4.5 $0.00005 $0.00173

Measured 9d ago against content hash ddd6a03085a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

deploy-production 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 9d 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 https://api.DOMINIO.com/api/health
skills/deploy-production-skill/SKILL.md · 228 lines

How it starts

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

Deploy Production Skill

Quando usare questa skill

  • Deploy di qualsiasi progetto su VPS Linux con Docker Compose
  • Troubleshooting container Docker in produzione
  • Setup nuovo progetto su VPS esistente
  • Migrazione tra VPS

Infrastruttura VPS (esempio di organizzazione multi-VPS)

Ruolo Provider tipo Shell di default Note
VPS-A (es. produzione principale) Provider economico Europa spesso fish su immagini default — usare bash -c Configurare SSH su porta non standard (es. 2222)
VPS-B (es. produzione secondaria) Provider premium Europa bash SSH key + porta non standard
Edge (es. IoT / dev locale) Raspberry Pi / NUC bash LAN o tunnel SSH

Adatta la tabella al tuo setup. La logica della skill è agnostica rispetto al provider.

REGOLA FONDAMENTALE

deploy.sh è LOCALE (sul PC Windows), NON sul VPS!

Workflow Deploy Standard

1. Pre-deploy: Commit e Push

# SEMPRE: modifiche devono essere su Git PRIMA del deploy
cd D:/progetti/PROGETTO
git add -A && git commit -m "fix: descrizione" && git push origin main

2. Scelta Flag Deploy

# Solo backend (PHP/Node.js) — 15 secondi
./deploy.sh --backend-only

# Solo frontend (Vue/React rebuild) — 30-60 secondi
./deploy.sh --frontend-only

# Full deploy (entrambi) — 1-2 minuti
./deploy.sh

# Nuove dipendenze (composer/npm install) — 3-5 minuti
./deploy.sh --no-cache

# REGOLA: NON usare --no-cache per semplici modifiche codice!

3. Post-deploy: Verifica

# VPS_PORT="<porta-ssh>" (es. 22 o porta custom del VPS)

# Provider A (fish shell — SEMPRE bash -c)
ssh -p "$VPS_PORT" root@<VPS_A_IP> "bash -c 'cd /root/PROGETTO && docker compose ps'"

# Provider B (bash diretto)
ssh -p "$VPS_PORT" root@<VPS_B_IP> "cd /opt/PROGETTO && docker compose ps"

# Verifica logs
ssh -p "$VPS_PORT" root@VPS_IP "bash -c 'docker logs CONTAINER --tail 50'"

# Test endpoint
curl -s https://api.DOMINIO.com/api/health

Read the full file on GitHub · 228 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. 9d ago First seen · 228 lines · 47 tokens per session scan A ddd6a03085a5

Subscribe to this mod's changes

deploy-production is a skill published in the GitHub repository thomascasali/claude-kb-workflow (2 stars, last pushed 14d ago), licensed MIT. It adds 47 tokens to every session and 1,726 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

model-deployment

Deploy trained machine learning models as production-ready services using REST APIs, containers, serverless functions, and orchestration platforms. Use when the user requests model deployment or provides relevant inputs for this workflow.

seb1n/awesome-ai-agent-skills · 43 tokens

kubernetes

· Write/review Kubernetes manifests, Helm, Kustomize, Gateway API, ArgoCD, sealed secrets. Triggers: 'kubernetes', 'k8s', 'helm', 'kubectl', 'kubernetes deployment', 'pod', 'ingress', 'gateway api'.

iuliandita/skills · 61 tokens

factory-deployment

Deployment and infrastructure conventions across builds. Vercel + Neon for web (with PR branch DBs), Cloud Run for Python services (one service per entry-point variant), GitHub Actions matrix-deploy on merge, Terraform with environments/modules layout for AWS / compliance customers, RDS IAM authentication for AWS DBs…

nonlinear-xyz/factory-kit · 108 tokens

litestar-deployment

Auto-activate for Dockerfile, compose, Railway, Cloud Run, GKE, systemd, Kubernetes, Terraform, deploy scripts, or granian/litestar run at runtime. Not for packaging artifacts.

litestar-org/litestar-skills · 47 tokens

skill-base-web-deploy

Skill Base server deployment guide. Covers starting the Skill Base server (npx skill-base), Docker configuration, port mapping, SQLite database backup, and platform capabilities (collections, tags, GitHub import). For deploying and operating the Skill Base platform itself only.

ginuim/skill-base · 57 tokens

deploy-check

Deployment readiness check for Docker/Traefik projects. Use when: "deploy check", "deployment check", "ready for deployment", "deploy-check", "before deploy", "production ready".

claude-hangar/claude-hangar · 42 tokens