kubernetes-deployment

kubernetes-deployment is a skill for Claude Code from atretyak1985/swarmery. It costs 68 tokens per session (3,477 once invoked), scanned B, original, Apache-2.0.

A guide for managing Kubernetes clusters, which run containerised applications across one or more machines. It covers local Minikube, edge k3s, and staging cluster infrastructure.

In plain words
What is it for?
Use it to manage cluster lifecycles, debug Minikube tunnels and ingress connections, configure GCP firewall rules and NetworkPolicies, and prepare bootstrap secrets.
Why use it?
It helps diagnose cluster connectivity, firewall, secret, policy, and version problems before they are mistaken for application deployment issues.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the infra-pack plugin — 11 skills, 1 command, 3 agents shipped together

Good fit Use it to manage cluster lifecycles, debug Minikube tunnels and ingress connections, configure GCP firewall rules and NetworkPolicies, and prepare bootstrap secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atretyak1985/swarmery/kubernetes-deployment
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 atretyak1985/swarmery --skill kubernetes-deployment
Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install infra-pack, the plugin that ships this one along with the rest of its 11 skills, 1 command, 3 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 kubernetes-deployment

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/kubernetes-deployment"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/kubernetes-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,477 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00068 $0.03477
Opus 5 $0.00034 $0.01739
Sonnet 5 $0.00014 $0.00695
Haiku 4.5 $0.00007 $0.00348

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

Security

Grade B, and why

kubernetes-deployment scanned grade B 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 8d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

2. **Pre-flight checks** -- For bootstrap-secrets: verify which secrets exist using the bootstrap-secret probe pattern. For connectivity debugging: check minikube-tunnel status (`sudo systemctl status minikube-tunnel`).
plugins/infra-pack/skills/kubernetes-deployment/SKILL.md · 241 lines

How it starts

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

Purpose

Provides cluster-level Kubernetes infrastructure operations for the platform, producing diagnostic reports or verified shell command sequences for Minikube/k3s cluster management, GCP firewall rules, minikube tunnel debugging, bootstrap-secret patterns, and NetworkPolicy configuration. This skill handles the infrastructure layer beneath Helm deploys; it defers Helm upgrade orchestration to deployment and chart template authoring to helm-chart-expert.

When to use this skill

  • Trigger A -- Managing Minikube (local), k3s (edge device), or staging (cloud VM + Minikube; project.json → cloud.envAlias) cluster infrastructure
  • Trigger B -- Creating or debugging GCP firewall rules for the staging VM
  • Trigger C -- Diagnosing minikube tunnel or ingress-nginx connectivity issues
  • Trigger D -- Running bootstrap-secret scripts before first deploy
  • Trigger E -- Configuring NetworkPolicy namespace selectors
  • Trigger F -- Diagnosing cluster/versions drift after a failed verify step

When NOT to use this skill

  • Anti-trigger A -- Helm upgrade orchestration (deploy-and-verify cycle) -> use deployment instead
  • Anti-trigger B -- Writing or debugging Helm chart templates or _helpers.tpl -> use helm-chart-expert instead
  • Anti-trigger C -- Building or pushing Docker images -> use docker-build instead
  • Anti-trigger D -- Configuring Keycloak realm, clients, or Auth.js -> use keycloak instead
  • Anti-trigger E -- Detecting IaC config drift -> use infrastructure-as-code instead
  • Anti-trigger F -- Checking migration safety -> use migration-check instead
  • Anti-trigger G -- Staging-environment operational recovery (SSH runbooks, secret rotation, VM troubleshooting) -> follow the project's environment runbooks
  • Anti-trigger H -- Promoting an image across environments (dev -> staging -> production) -> use release-promotion instead

Required environment

  • Runtime mount: .claude/skills/kubernetes-deployment/SKILL.md
  • Tools / libraries: helm (v3.10+), kubectl (v1.28+), gcloud CLI, bash
  • Scripts: the infrastructure repo's files/initEnv.sh, files/updateEnv.sh, and bootstrap-secret script (project.json → repos)
  • KUBECONFIG: $REPO_ROOT/<terraform-repo>/environments/$ENV/.minikube/remote-minikube-config.yaml (for the staging cluster)
  • Reversibility profile: hard-to-reverse -- GCP firewall changes and cluster reconfiguration affect shared infrastructure; confirm before applying

Read the full file on GitHub · 241 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. 8d ago First seen · 241 lines · 68 tokens per session scan B 86e31e092ab3

Subscribe to this mod's changes

kubernetes-deployment is a skill published in the GitHub repository atretyak1985/swarmery (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 68 tokens to every session and 3,477 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

tailscale

This skill should be used when managing Tailscale mesh VPN networks. Use when the user asks to "check tailscale status", "list tailscale devices", "ping a device", "send file via tailscale", "tailscale funnel", "tailscale serve", "create auth key", "check who's online", "tailscale exit node", "Magic DNS", or mentions…

jmagar/claude-homelab · 93 tokens

gws-script

Apps Script: Deploy and manage Google Apps Script projects with gws script +push.

fakoli/fakoli-plugins · 21 tokens

linkerd-patterns

Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.

wshobson/agents · 41 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-resource-manager-durabletask-dotnet

Azure Resource Manager SDK for Durable Task Scheduler in .NET. Use for MANAGEMENT PLANE operations: creating/managing Durable Task Schedulers, Task Hubs, and retention policies via Azure Resource Manager. Triggers: "Durable Task Scheduler", "create scheduler", "task hub", "DurableTaskSchedulerResource", "provision…

microsoft/skills · 84 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens