k8s-generator

k8s-generator is a skill for Claude Code from glincker/claude-code-marketplace. It costs 22 tokens per session (1,491 once invoked), scanned A, original, Apache-2.0.

A tool that generates Kubernetes configuration files for running an application, including deployments, networking, settings, secrets, health checks, and scaling.

In plain words
What is it for?
Use it to create Deployments, Services, ConfigMaps, Secrets, Ingress rules, resource limits, health probes, and a Horizontal Pod Autoscaler.
Why use it?
It reduces the manual work of translating an application's Docker, port, environment, and storage needs into Kubernetes manifests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - ../../base.

Good fit Use it to create Deployments, Services, ConfigMaps, Secrets, Ingress rules, resource limits, health probes, and a Horizontal Pod Autoscaler.

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/glincker/claude-code-marketplace
agentmods
npx agentmods add skills/glincker/claude-code-marketplace/k8s-generator

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin k8s-generator/plugin install k8s-generator after adding the marketplace above.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/k8s-generator/github.svg)](https://agentmods.dev/skills/glincker/claude-code-marketplace/k8s-generator)
Your own site
<a href="https://agentmods.dev/skills/glincker/claude-code-marketplace/k8s-generator"><img src="https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/k8s-generator/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-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/glincker/claude-code-marketplace/k8s-generator"><img src="https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/k8s-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00022 $0.01491
Opus 5 $0.00011 $0.00745
Sonnet 5 $0.00004 $0.00298
Haiku 4.5 $0.00002 $0.00149

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

Security

Grade A, and why

k8s-generator scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/devops/k8s-generator/SKILL.md · 286 lines

How it starts

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

Kubernetes Generator

Generate complete Kubernetes manifests by analyzing your application. Creates Deployments, Services, ConfigMaps, Secrets, Ingress, and HPA with production best practices.

What This Skill Does

  • Auto-generates K8s manifests from project analysis
  • Creates proper resource limits and requests
  • Implements health checks (liveness/readiness probes)
  • Generates ConfigMaps and Secrets management
  • Includes Horizontal Pod Autoscaler (HPA)
  • Follows 12-factor app principles

Instructions

Phase 1: Application Analysis

Analyze the application to determine requirements:

# Detect application type
Use Glob/Grep to find:
- Dockerfile → Container config
- .env → Environment variables
- Port bindings
- Volume requirements

Phase 2: Generate Core Manifests

Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: myapp
  labels:
    app: myapp
spec:
  replicas: 3
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
    spec:
      containers:
      - name: myapp
        image: myapp:latest
        ports:
        - containerPort: 3000
        resources:
          requests:
            memory: "128Mi"
            cpu: "100m"
          limits:
            memory: "256Mi"
            cpu: "200m"
        livenessProbe:
          httpGet:
            path: /health
            port: 3000
          initialDelaySeconds: 30
          periodSeconds: 10
        readinessProbe:
          httpGet:
            path: /ready
            port: 3000
          initialDelaySeconds: 5
          periodSeconds: 5
        envFrom:
        - configMapRef:
            name: myapp-config
        - secretRef:
            name: myapp-secrets

Service:

apiVersion: v1
kind: Service
metadata:
  name: myapp
spec:
  selector:
    app: myapp
  ports:
  - protocol: TCP
    port: 80
    targetPort: 3000
  type: ClusterIP

ConfigMap:

apiVersion: v1
kind: ConfigMap
metadata:
  name: myapp-config
data:
  NODE_ENV: production
  LOG_LEVEL: info
  API_URL: https://api.example.com

Read the full file on GitHub · 286 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 286 lines · 22 tokens per session scan A 9f164b7a1cea

Subscribe to this mod's changes

k8s-generator is a skill published in the GitHub repository glincker/claude-code-marketplace (36 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,491 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.