k8s-yaml-validator

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

A validation workflow for Kubernetes YAML files, which describe resources running in a Kubernetes cluster. It checks syntax, expected fields, cluster restrictions, and some runtime concerns.

In plain words
What is it for?
It is for checking Kubernetes manifests, testing changes with dry runs, and working with unfamiliar Custom Resource Definitions (CRDs), which add custom resource types to Kubernetes.
Why use it?
It helps catch invalid configuration before applying it to a cluster and makes confusing kubectl errors easier to investigate.

Skill for Claude CodeCodex

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

Good fit It is for checking Kubernetes manifests, testing changes with dry runs, and working with unfamiliar Custom Resource Definitions (CRDs), which add custom resource types to Kubernetes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pantheon-org/tekhne/yaml-validator
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-validator
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-validator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/yaml-validator"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/yaml-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,568 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 pass 7 Sept 2026
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.00055 $0.03568
Opus 5.5 $0.00022 $0.01427
Sonnet 5.5 $0.00011 $0.00714
Haiku 4.5 $0.00006 $0.00357

Measured 24d ago against content hash d7792725fce1, 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-validator 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 24d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/detect_crd_wrapper.sh, scripts/detect_crd.py, scripts/setup_tools.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-validator/SKILL.md · 413 lines

How it starts

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

Kubernetes YAML Validator

Mindset

Mental Model: Validation is a layered funnel—syntax → schema → cluster constraints → runtime behavior. Each layer catches different classes of errors, and a pass at one layer must never be read as a pass at the next: yamllint clean says nothing about schema compliance, and kubeconform clean says nothing about whether an admission webhook will reject the resource. You must always run every applicable layer, never stop at the first one that returns clean. The classic pitfall this catches: a manifest that is syntactically perfect and schema-valid but still gets rejected by a PodSecurity admission webhook — a gotcha that only the cluster-constraints layer can surface.

Decision Framework:

  1. Syntax first: Fix YAML structure before schema issues (broken YAML can't be validated)
  2. Schema second: Verify API compliance before cluster-specific checks
  3. Cluster third: Test against real constraints (RBAC, quotas, admission webhooks)
  4. Runtime last: Consider how the resource behaves in production

When to use this skill:

  • Before applying any YAML to a cluster (development, staging, production)
  • When debugging mysterious kubectl apply failures
  • During CI/CD pipeline execution (catch errors early)
  • When working with unfamiliar CRDs (validation guides learning)
  • After generating YAML with k8s-yaml-generator

When NOT to use this skill:

  • The manifest has already passed server-side dry-run against the exact target cluster and namespace in this same session, and nothing has changed since — re-running the full funnel adds no new information.
  • The task is generating a new resource rather than checking an existing one — use k8s-yaml-generator and let its own validation step call into this skill.
  • Only a single, well-understood field is in question (e.g. confirming a typo) — a direct kubectl explain lookup is faster and does not require the full workflow.

Validation philosophy: Report all issues, prioritize by severity, suggest fixes but never apply them automatically — this is a hard constraint, not a stylistic preference, and it must never be relaxed even when a fix is obvious.

Read the full file on GitHub · 413 lines

Files

What ships with it

39 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. 24d ago Changed · +1 lines d7792725fce1
  2. 1mo ago Changed · +5 lines · -2 tokens per session 841c7ee00042
  3. 1mo ago First seen · 407 lines · 57 tokens per session scan A cba0cd1cf02d

Subscribe to this mod's changes

k8s-yaml-validator is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 3,568 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

gh-fix-ci

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use gh to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL.

foryourhealth111-pixel/Vibe-Skills · 72 tokens

comet-github-ci-triage

A workflow for diagnosing failed GitHub Actions checks on a Comet pull request. GitHub Actions runs automated builds and tests; a pull request is a proposed code change waiting to be reviewed and merged.

rpamis/comet · 72 tokens

ci-auto-fix

Diagnoses and fixes failing GitHub Actions CI, verifies locally, pushes, and confirms the checks pass on the new revision — never weakens checks. Triggers on "CI is failing", "fix the CI", "the build is red", "/ci-auto-fix".

mthines/agent-skills · 60 tokens

fix-ci-until-green

Drive a failing GitHub Actions run to green in as few CI runs as possible, with a bounded fix-critique-commit-push-recheck loop that batches every evidenced fix into each push. Use when the user supplies a GitHub Actions run URL or run ID and wants the failure fixed, or asks to "make CI green", "fix the failing…

jim60105/copilot-prompt · 134 tokens

ci-failure-triage

Diagnose failed CI runs, build logs, test output, deployment checks, or pipeline summaries and produce a root-cause hypothesis, reproduction path, likely owner, fix plan, and escalation guidance. Use when Codex needs to triage broken builds, flaky tests, failed checks, or release-blocking automation failures.

ClarentCinematics/Codex-Skills-for-Enterprise · 70 tokens

ci-automation

Use when the pytorch-test-refactoring orchestrator emits "schedulecron" or "needagent" with phase "cidebug", when a CronCreate cron job fires and you need to run orchestrator.py --ci-check, or when the user says "look after the ci", "monitor ci", "check ci status", "watch the pr", or "debug ci failures".

KarhouTam/agent-skills · 81 tokens