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.
git clone --depth 1 https://github.com/akin-ozer/cc-devops-skillsnpx agentmods add skills/akin-ozer/cc-devops-skills/k8s-yaml-generatorWrote 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.
[](https://agentmods.dev/skills/akin-ozer/cc-devops-skills/k8s-yaml-generator)<a href="https://agentmods.dev/skills/akin-ozer/cc-devops-skills/k8s-yaml-generator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/k8s-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.
<a href="https://agentmods.dev/skills/akin-ozer/cc-devops-skills/k8s-yaml-generator"><img src="https://agentmods.dev/badge/skills/akin-ozer/cc-devops-skills/k8s-yaml-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk warn
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.02066 |
| Opus 5.5 | $0.00013 | $0.00826 |
| Sonnet 5.5 | $0.00007 | $0.00413 |
| Haiku 4.5 | $0.00003 | $0.00207 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kubernetes YAML Generator
Generate Kubernetes manifests with deterministic steps, bounded CRD research, and mandatory validation for full-resource output.
Trigger Guidance
Use this skill when the user asks to create or update Kubernetes YAML, for example:
- "Generate a Deployment + Service manifest for my app."
- "Create an Argo CD Application CRD."
- "Write a StatefulSet with PVC templates."
- "Produce production-ready Kubernetes YAML with best practices."
Do not use this skill for validation-only requests. For validation-only work, use k8s-yaml-validator.
Execution Model
Normative keywords:
MUST: requiredSHOULD: default unless user requests otherwiseMAY: optional
Deterministic sequence:
- Preflight request and path/rendering sanity.
- Capture minimum required inputs.
- Resolve CRD references (bounded workflow only when CRD/custom API is involved).
- Generate YAML with baseline quality checks.
- Run mandatory validation (or documented fallback path when tooling is unavailable).
- Deliver YAML plus explicit validation report and assumptions.
If one step is blocked by environment constraints, execute that step's fallback and continue.
1) Preflight
Before generation:
- Confirm whether output is full manifest(s) or snippet-only.
- Confirm target Kubernetes version when provided.
- Verify any referenced local file path exists before using it.
- Normalize resource naming to DNS-1123-compatible names where applicable.
Preflight stop condition:
- If required core inputs are missing (resource type, workload image for Pod-based resources, or CRD kind/apiVersion), ask for those first.
2) Capture Required Inputs
Collect:
- Resource types (
Deployment,Service,ConfigMap, CRD kind, etc.) apiVersion+kind- Namespace/scoping requirements
- Ports, replicas, images, probes, storage, and secret/config needs
- Environment assumptions (dev/staging/prod)
- For CRDs: project name and target CRD version if known
Safe defaults (state explicitly in output):
What ships with it
10 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.
- examples/configmap-secret.yaml 927 B
- examples/deployment-service.yaml 2.2 KB
- examples/hpa-pdb.yaml 1.2 KB
- examples/ingress.yaml 1.4 KB
- examples/rbac-cluster-reader-optional.yaml 1000 B
- examples/rbac.yaml 1.2 KB
- examples/statefulset.yaml 3.0 KB
- references/resource_patterns.md 15 KB
- references/security_patterns.md 8.2 KB
- tests/test_regression.sh 4.8 KB runs code
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.
- 2mo ago First seen · 277 lines · 33 tokens per session scan A f8133da33f1c
k8s-yaml-generator is a skill published in the GitHub repository akin-ozer/cc-devops-skills (332 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 2,066 once invoked, about $0.0001 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-08-30.
k8s-yaml-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| k8s-yaml-generatorakin-ozer/cc-devops-skills | Skill | 332 | 3mo ago | Apache-2.0 | A | 33 | Claude Code |
| openshell-cliNVIDIA/OpenShell | Skill | 21k | yesterday | Apache-2.0 | A | 134 | Claude Code, Codex |
| azd-deploymentsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 29 | Claude Code |
| cdf-orchestration-setupNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 105 | Codex |
| langbot-deploylangbot-app/LangBot | Skill | 19k | yesterday | Apache-2.0 | B | 104 | Claude Code, Codex |
| compute-env-setupcompanion-inc/feynman | Skill | 10k | 6d ago | MIT | A | 45 | Claude Code, Codex |
| agent-bomLeoYeAI/openclaw-master-skills | Skill | 2.2k | 5d ago | MIT | A | 99 | Claude Code, Codex |