k8s-yaml-generator

k8s-yaml-generator is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 58 tokens per session (3,553 once invoked), scanned A, original, MIT.

A toolkit for creating Kubernetes YAML manifests, which declare how applications should run in a Kubernetes cluster. It covers workloads, networking, configuration, limits, policies, and custom resources.

In plain words
What is it for?
It is for creating Deployments, Services, ConfigMaps, StatefulSets, CRD instances, Helm templates, and Kustomize bases.
Why use it?
It helps translate application requirements into complete Kubernetes configuration and validates the generated files before they are used.

Skill for Claude CodeCodex

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

Good fit It is for creating Deployments, Services, ConfigMaps, StatefulSets, CRD instances, Helm templates, and Kustomize bases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pantheon-org/tekhne/yaml-generator
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 pantheon-org/tekhne --skill yaml-generator
Clone the repo
git clone --depth 1 https://github.com/pantheon-org/tekhne

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/pantheon-org/tekhne/yaml-generator/github.svg)](https://agentmods.dev/skills/pantheon-org/tekhne/yaml-generator)
Your own site
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/yaml-generator"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/yaml-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-yaml-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/yaml-generator"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/yaml-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,553 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 244
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
How audits are shown
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.00058 $0.03553
Opus 5.5 $0.00023 $0.01421
Sonnet 5.5 $0.00012 $0.00711
Haiku 4.5 $0.00006 $0.00355

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

Security

Grade A, and why

k8s-yaml-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 23d 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/infrastructure/k8s/yaml-generator/SKILL.md · 444 lines

How it starts

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

K8s YAML Generator

Mindset

Mental Model: Kubernetes YAML generation is about translating application requirements into declarative infrastructure. Think in terms of desired state, not imperative commands. A manifest that merely "applies without error" is not the bar — it must also survive a node restart, a rolling update, and a resource crunch without silently degrading, so generation and validation are never separable steps. The recurring pitfall is generating a manifest that validates cleanly today but hits a gotcha under load six months later, because a default (an inferred imagePullPolicy, an unset resource limit) was never made explicit.

Decision Framework:

  1. Start with the workload (Pod, Deployment, StatefulSet)—this defines what runs
  2. Add access layer (Service, Ingress)—this defines how it's accessed
  3. Configure runtime (ConfigMap, Secret)—this defines how it behaves
  4. Set constraints (ResourceQuota, LimitRange, NetworkPolicy)—this defines boundaries

When to use this skill:

  • Creating new Kubernetes resources from scratch
  • Converting Docker Compose or other formats to K8s manifests
  • Generating CRD instances (ArgoCD, Istio, Cert-Manager, etc.)
  • Building templates for Helm charts or Kustomize bases
  • Scaffolding multi-resource applications

When NOT to use this skill:

  • The task is validating an already-written manifest rather than producing a new one — use k8s-yaml-validator directly instead.
  • The target is a Helm chart's templating logic itself ({{ }} expressions, _helpers.tpl) rather than the rendered resource — that is chart authoring, not resource generation.
  • A near-identical resource already exists in the repository — copy and adapt it so labels, annotations, and conventions stay consistent, rather than generating a fresh one that drifts from house style.

Generation philosophy: Generate correct, complete, validated YAML on first pass. Never output YAML that hasn't been validated — this is a mandatory, non-negotiable gate, not a suggestion.

Read the full file on GitHub · 444 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. 23d ago Changed · +2 lines 2b9e25015e95
  2. 1mo ago Changed · +3 lines · -2 tokens per session 42db8f74a579
  3. 1mo ago First seen · 439 lines · 60 tokens per session scan A dda89d781455

Subscribe to this mod's changes

k8s-yaml-generator is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 3,553 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

vss-setup-video-analytics-api

Use to deploy the vss-video-analytics-api REST service standalone with its Elasticsearch ingest-pipeline, selectable Kafka/Redis stream type, and Kafka-topic readiness gates when Kafka is selected. Not for full warehouse deploy.

NVIDIA-AI-Blueprints/video-search-and-summarization · 52 tokens

spring-boot-project-creator

Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI, and Docker Compose services (PostgreSQL, Redis, MongoDB). Use when creating a new Java Spring Boot project from scratch…

giuseppe-trisciuoglio/developer-kit · 89 tokens

upstash-box-js

Work with the @upstash/box TypeScript/JavaScript SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, snapshots, and a headless browser. Use when building with Upstash Box, creating a sandbox or isolated environment to run untrusted or agent-generated code, running AI coding…

upstash/skills · 112 tokens

configure-reverse-proxy

Configure reverse proxy patterns across multiple tools including Nginx, Traefik, and ShinyProxy. Covers WebSocket proxying, path-based and host-based routing, SSL termination, and Docker label auto-discovery. Use when routing multiple services behind a single entry point, proxying WebSocket connections (Shiny…

pjt222/agent-almanac · 98 tokens

wp-env-local-dev

Run a local WordPress development environment with wp-env (the official @wordpress/env Docker wrapper) — the default choice for plugin and block development. Covers the npx @wordpress/env command (and the trap that bare "npx wp-env" installs an unrelated stub package), the .wp-env.json config (core, phpVersion…

Lonsdale201/wp-agent-skills · 210 tokens

fly-io

Expert Fly.io assistance covering fly.toml, global app distribution, persistent volumes, Machines API, and scaling. Use when deploying full-stack apps and databases close to users globally.

G1Joshi/Agent-Skills · 39 tokens