deploy

deploy is a skill for Claude Code, Codex from Benja-Pauls/SerpentStack. It costs 43 tokens per session (997 once invoked), scanned A, original, MIT.

A deployment skill for building Docker images and releasing them to AWS using Amazon ECR and Terraform. Docker packages an application into a runnable image; ECR stores those images, and Terraform describes infrastructure as code.

In plain words
What is it for?
Deploying to development, staging, or production; checking deployment status; rolling back; and running the deployment checklist.
Why use it?
It gathers the build, release, environment checks, rollback, and deployment-review steps into one process instead of requiring them to be managed separately.

Skill for Claude CodeCodex

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

Good fit Deploying to development, staging, or production; checking deployment status; rolling back; and running the deployment checklist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benja-pauls/serpentstack/deploy
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 Benja-Pauls/SerpentStack --skill deploy
Clone the repo
git clone --depth 1 https://github.com/Benja-Pauls/SerpentStack

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benja-pauls/serpentstack/deploy"><img src="https://agentmods.dev/badge/skills/benja-pauls/serpentstack/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 997 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.00043 $0.00997
Opus 5.5 $0.00017 $0.00399
Sonnet 5.5 $0.00009 $0.00199
Haiku 4.5 $0.00004 $0.00100

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

Security

Grade A, and why

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 -sf $APP_URL/api/v1/health | jq .
.skills/deploy/SKILL.md · 134 lines

How it starts

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

Deploy

Build, push, and deploy SerpentStack to AWS using Docker and Terraform.

Environments

  • dev -- automatic deploys from main, auto-approve on apply
  • staging -- manual trigger, shows plan for review before apply
  • prod -- manual trigger, requires plan review before apply

All Terraform config lives in infra/environments/{env}/.

Quick Deploy

make deploy              # Deploy to dev (default)
make deploy env=staging  # Deploy to staging
make deploy env=prod     # Deploy to production

Or use the GitHub Actions CD pipeline — it runs automatically on push to main when AWS credentials are configured as repository secrets.

Step-by-Step Manual Deploy

Step 1: Build Docker Images

docker build -t serpentstack-backend:latest ./backend
docker build -t serpentstack-frontend:latest ./frontend

Tag with the git SHA for traceability:

GIT_SHA=$(git rev-parse --short HEAD)
docker tag serpentstack-backend:latest serpentstack-backend:$GIT_SHA
docker tag serpentstack-frontend:latest serpentstack-frontend:$GIT_SHA

Step 2: Push to ECR

Authenticate with ECR (replace ACCOUNT_ID and REGION):

aws ecr get-login-password --region $AWS_REGION | \
  docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com

Tag and push both images:

docker tag serpentstack-backend:$GIT_SHA $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/serpentstack-backend:$GIT_SHA
docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/serpentstack-backend:$GIT_SHA

docker tag serpentstack-frontend:$GIT_SHA $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/serpentstack-frontend:$GIT_SHA
docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/serpentstack-frontend:$GIT_SHA

Step 3: Terraform Plan

cd infra/environments/{env}
terraform init
terraform plan -var="app_image_tag=$GIT_SHA" -out=tfplan

Review the plan output carefully. Look for:

  • Resources being destroyed: unexpected destroys indicate a config drift. Investigate before proceeding.
  • Security group changes: verify no ports are being opened unintentionally.
  • Database modifications: any RDS changes should be treated as high-risk.

Read the full file on GitHub · 134 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 · 134 lines · 43 tokens per session scan A d3ce51340f91

Subscribe to this mod's changes

deploy is a skill published in the GitHub repository Benja-Pauls/SerpentStack (2 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 997 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-31.

Related

Other skills, from other repositories

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

yaml

Skill "yaml" from dhaupin/vant, covering yaml, when to use, what to do, 1. syntax and 2. anchors.

dhaupin/vant · 5 tokens

securing-cloud-and-supply-chain

A guide to protecting cloud infrastructure and the software supply chain, the systems and dependencies used to build and deliver software.

telagod/code-abyss · 85 tokens

provisioning-infrastructure

Cloud-native infrastructure knowledge reference covering Kubernetes, Helm, Kustomize, Operators, CRDs, GitOps (ArgoCD, Flux), and IaC (Terraform, Pulumi, CDK). Use when provisioning infrastructure, managing clusters, or working with GitOps workflows.

telagod/code-abyss · 61 tokens

devops

CI/CD, container orchestration, cloud architecture, monitoring, infrastructure security, and platform automation skills. Docker, Kubernetes, Terraform, GitHub Actions. Triggers on: CI/CD, Docker, Kubernetes, Terraform, deploy, monitoring, infra, GitOps, observability, SRE.

fatihkan/badi · 0 tokens

devops

Deploy and manage infrastructure with Docker, Kubernetes, CI/CD pipelines, and cloud services. Use when containerizing, deploying, or managing production infrastructure.

ihatesea69/kiro-kit · 32 tokens