k8s-yaml-generator

k8s-yaml-generator is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 60 tokens per session (3,306 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 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,306 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.00060 $0.03306
Opus 5 $0.00030 $0.01653
Sonnet 5 $0.00012 $0.00661
Haiku 4.5 $0.00006 $0.00331

Measured 6d ago against content hash dda89d781455, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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 · 439 lines

How it starts

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

K8s YAML Generator

Generation Mindset

Mental Model: Kubernetes YAML generation is about translating application requirements into declarative infrastructure. Think in terms of desired state, not imperative commands.

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

Generation philosophy: Generate correct, complete, validated YAML on first pass. Never output YAML that hasn't been validated.

Core Workflow

1. Understand Requirements

Gather: resource type, target K8s version, app requirements (replicas, ports, volumes), namespace/labels/annotations, and CRD specifics (kind, apiVersion, version).

2. Fetch CRD Documentation (if needed)

Query library documentation for CRD specifications:

tessl_query_library_docs: query: "<project-name> <CRD-kind> <version> specification"
# e.g. "argo-cd Application v1alpha1 specification"
# e.g. "istio VirtualService v1beta1 specification"
# e.g. "cert-manager Certificate v1 specification"

The query should include:

  • Project/operator name (e.g., "argo-cd", "istio", "cert-manager")
  • CRD kind (e.g., "Application", "Certificate", "VirtualService")
  • API version (e.g., "v1alpha1", "v1", "v1beta1")
  • Context about what you need (e.g., "spec fields", "examples", "configuration")

If documentation is insufficient, fall back to web search:

WebSearch: "<CRD-name> <version> spec documentation"
# e.g. "ArgoCD Application v1alpha1 spec documentation"

Always include the version in the query for compatibility.

Read the full file on GitHub · 439 lines

Files

What ships with it

9 files 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. 6d 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 yesterday), licensed MIT. It adds 60 tokens to every session and 3,306 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

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

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

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

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

data-processing

Process JSON with jq and YAML/TOML with yq. Filter, transform, query structured data efficiently. Triggers on: parse JSON, extract from YAML, query config, Docker Compose, K8s manifests, GitHub Actions workflows, package.json, filter data.

NeverSight/learn-skills.dev · 58 tokens

twelve-factor-app-principles

Use when the user asks to "check twelve-factor compliance", "review this service for 12-factor", "design a new microservice", "where should config live", "should this write to a local file", or is scaffolding a new backend service, containerizing an app, or debugging "works on my machine but not in prod" issues.…

shennawardana23/skillme · 118 tokens