k8s-deploy

k8s-deploy is a skill for Claude Code from landim32/awesome-ai-skills. It costs 117 tokens per session (5,368 once invoked), scanned A, original, MIT.

A deployment procedure for publishing an API or frontend to a shared Kubernetes cluster. Kubernetes is a system for running containerised applications; this setup also uses Cloudflare Tunnel and an internal ingress controller to route traffic.

In plain words
What is it for?
Use it to create Kubernetes manifests and a GitHub Actions deployment pipeline for the shared DigitalOcean cluster. It covers containers, API and web services, normal routes, and streaming or WebSocket routes.
Why use it?
It avoids creating deployment files from scratch and gives projects a common layout for namespaces, services, access permissions, routing, and automated deployment.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the awesome-ai-skills plugin — 44 skills, 11 commands, 9 agents shipped together

Good fit Use it to create Kubernetes manifests and a GitHub Actions deployment pipeline for the shared DigitalOcean cluster. It covers containers, API and web services, normal routes, and streaming or WebSocket routes.

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

Made for: Claude Code.

Or install awesome-ai-skills, the plugin that ships this one along with the rest of its 44 skills, 11 commands, 9 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/k8s-deploy"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/k8s-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,368 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.00117 $0.05368
Opus 5.5 $0.00047 $0.02147
Sonnet 5.5 $0.00023 $0.01074
Haiku 4.5 $0.00012 $0.00537

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

Security

Grade A, and why

k8s-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 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (templates/bootstrap/make-kubeconfig.sh, templates/infra/install-cloudflared.sh, templates/infra/install-ingress.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

kubectl -n <app> run routecheck --restart=Never --image=curlimages/curl:8.17.0 --command -- sh -c \
skills/k8s-deploy/SKILL.md · 285 lines

How it starts

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

k8s-deploy — padrão emagine para o cluster Kubernetes

Padrão para publicar qualquer projeto no cluster compartilhado da emagine. Os templates ficam em templates/ (ao lado deste arquivo): copie, substitua os placeholders e adapte, em vez de escrever do zero.

0. Templates e placeholders

templates/
├── README.md                 → deploy/k8s/README.md
├── app/                      → deploy/k8s/__APP__/
│   ├── kustomization.yaml
│   ├── api-configmap.yaml  api-deployment.yaml  api-service.yaml
│   ├── web-deployment.yaml web-service.yaml
│   ├── ingress.yaml          # rotas normais (/api → API, / → web)
│   └── ingress-stream.yaml   # rotas SSE/WebSocket/long polling, sem buffer
├── bootstrap/                → deploy/k8s/bootstrap/
│   ├── namespace.yaml  deployer-rbac.yaml  make-kubeconfig.sh
├── workflow/deploy-prod.yml  → .github/workflows/deploy-prod.yml
└── infra/                    # infra COMPARTILHADA do cluster; só se o cluster ainda não a tiver
    ├── ingress-nginx-values.yaml  install-ingress.sh
    └── cloudflared.yaml  install-cloudflared.sh
Placeholder Significado Exemplo / padrão
__APP__ nome do projeto em minúsculas (DNS-1123): namespace e prefixo dos recursos (__APP__-api, __APP__-web, __APP__-deployer, __APP__-api-secrets, __APP__-api-env) meuapp
__APP_PREFIX__ prefixo MAIÚSCULO dos secrets exclusivos do projeto no GitHub (__APP_PREFIX___CONNECTION_STRING, __APP_PREFIX___JWT_SECRET) MEUAPP
__DOMAIN__ domínio público (host do Ingress, URL do environment) exemplo.com.br
__GHCR_OWNER__ dono das imagens no GHCR (ghcr.io/__GHCR_OWNER__/__APP__-api) emaginebr
__BACKEND_DIR__ contexto do build da imagem da API e pasta dos testes do backend backend
__FRONTEND_DIR__ contexto do build da imagem do frontend e pasta dos testes do frontend frontend

Fluxo, na raiz do projeto (SKILL_DIR = pasta desta skill):

APP=meuapp; PREFIX=MEUAPP; DOMAIN=exemplo.com.br; OWNER=emaginebr; BACKEND=backend; FRONTEND=frontend
mkdir -p "deploy/k8s/$APP" deploy/k8s/bootstrap .github/workflows
cp "$SKILL_DIR"/templates/app/*            "deploy/k8s/$APP/"
cp "$SKILL_DIR"/templates/bootstrap/*      deploy/k8s/bootstrap/
cp "$SKILL_DIR"/templates/README.md        deploy/k8s/README.md
cp "$SKILL_DIR"/templates/workflow/deploy-prod.yml .github/workflows/deploy-prod.yml
# 1º apaga a linha de cabeçalho dos templates; __APP_PREFIX__ ANTES de __APP__
find deploy/k8s .github/workflows/deploy-prod.yml -type f -exec sed -i \
  "/Template k8s-deploy · placeholders/d; s/__APP_PREFIX__/$PREFIX/g; s/__APP__/$APP/g; s/__DOMAIN__/$DOMAIN/g; s/__GHCR_OWNER__/$OWNER/g; s/__BACKEND_DIR__/$BACKEND/g; s/__FRONTEND_DIR__/$FRONTEND/g" {} +
grep -rn '__[A-Z_]*__' deploy/k8s .github/workflows/deploy-prod.yml || echo 'ok: nenhum placeholder restante'
kubectl kustomize "deploy/k8s/$APP" > /dev/null && bash -n deploy/k8s/bootstrap/make-kubeconfig.sh

Read the full file on GitHub · 285 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 · 285 lines · 117 tokens per session scan A b43eefa43a52

Subscribe to this mod's changes

k8s-deploy is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 5,368 once invoked, about $0.0005 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-11-27.

Related

k8s-deploy compared with skills from other repositories

k8s-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k8s-deploylandim32/awesome-ai-skillsSkill1todayMITA117Claude Code
devops-engineerJeffallan/claude-skillsSkill13ktodayMITA107Claude Code
kubernetes-specialistJeffallan/claude-skillsSkill13ktodayMITA79Claude Code
deployoliver-kriska/claude-elixir-phoenixSkill580todayMITA46Claude Code
factory-environment-maintenancecurie-eng/curieSkill54todayApache-2.0A46Claude Code
devops-specialisthuangwb8/skillsSkill516d agoMITA55Claude Code, Codex
devopsMindrally/skillsSkill3261mo agoApache-2.0A25Claude Code