Agent skill

K8s Crd From Typed Schema

by mizchi in mizchi/skills

A skill your agent uses when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema).

No licenceAuto-check passedDevOps & Cloud

Install K8s Crd From Typed Schema

skills CLI
$ npx skills add mizchi/skills --skill k8s-crd-from-typed-schema -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mizchi/skills k8s-crd-from-typed-schema --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/k8s-crd-from-typed-schema .claude/skills/k8s-crd-from-typed-schema && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
k8s-crd-from-typed-schema
GitHub stars
360
Token cost
~2.1k tokens
SKILL.md length
772 words
Files
2
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema).

  • Works in 5 steps: Convert typed schema → JSON Schema… → Run the Structural-Schema adapter → Wrap the spec schema in the CRD envelope → …
  • Generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema)
  • SKILL.md covers When to use, Workflow, Pitfalls and Verifying without a real cluster, plus 2 more sections
  • Calls kubectl

What it does

K8s Crd From Typed Schema is an agent skill from mizchi/skills. Use when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema). Covers the Structural Schema dialect's restrictions, the /status subresource trap, the metadata-prohibition rule, and plural inflection — the four pitfalls that bite on first attempt.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in DevOps & Cloud, covering Container orchestration and Forms and validation. It works with Kubernetes, Zod and OpenAPI. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema)
  • Tasks that involve Container orchestration
  • Tasks that involve Forms and validation

Example prompts

  • “/k8s-crd-from-typed-schema”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Convert typed schema → JSON Schema (OpenAPI v3 dialect)
  2. Run the Structural-Schema adapter
  3. Wrap the spec schema in the CRD envelope
  4. Compute the plural correctly
  5. Verify with kubectl in dry-run mode

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • kubectl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • kubernetes.io
    • github.com
    • kind.sigs.k8s.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

K8s Crd From Typed Schema loads about 2.1k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 772 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 772 words (~2,119 tokens).

“Generating CRDs from typed schemas (zod / TypeBox / Valibot / hand-written JSON Schema) looks straightforward — convert to OpenAPI v3, embed as openAPIV3Schema, done. It isn't. CRDs use a subset of OpenAPI v3 plus k8s-specific extensions ("Structural Schema"), and…”

— opening of SKILL.md by mizchi
name
k8s-crd-from-typed-schema

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in k8s-crd-from-typed-schema of mizchi/skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 62f5808

Compare with similar skills

K8s Crd From Typed Schema next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

K8s Crd From Typed Schema compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
K8s Crd From Typed Schema this skillmizchi/skills360—~2.1kAutomated safety check: PassNone
Chart Testsastronomer/astronomer491—~3.2kAutomated safety check: PassCustom licence
Kopiur Designhome-operations/kopiur115—~2.4kAutomated safety check: PassAGPL-3.0
Chart Testsastronomer/airflow-chart297—~2.8kAutomated safety check: PassCustom licence
K8s Openapijinnovation/kele.el108—~171Automated safety check: PassApache-2.0
Sim Helmsimstudioai/sim30k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Chart Tests

    astronomer/astronomer

    A skill your agent uses when writing, editing, reviewing, or running Helm chart tests for the Astronomer APC repository.

    491 GitHub stars~3.2k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Kopiur Design

    home-operations/kopiur

    Design norms and locked decisions for the Kopiur Kopia-native Kubernetes backup operator (Rust/kube-rs).

    115 GitHub stars~2.4k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Chart Tests

    astronomer/airflow-chart

    A skill your agent uses when writing, editing, reviewing, or running Helm chart tests for the Astronomer airflow-chart repository.

    297 GitHub stars~2.8k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • K8s Openapi

    jinnovation/kele.el

    Reference the Kubernetes API. An agent skill from jinnovation/kele.el.

    108 GitHub stars~171 tokensUpdated 7 mo ago
    Backend & APIsAuto-check passed
  • Sim Helm

    simstudioai/sim

    Install, upgrade, and operate the Sim Helm chart on Kubernetes.

    30k GitHub stars~2.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Helm Chart Scaffolding

    Cybereason-Public/owLSM

    Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications.

    280 GitHub starsUsed in 13 repos~381 tokens
    DevOps & CloudAuto-check passed

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    360 GitHub stars~1.7k tokensUpdated 9 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    360 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    360 GitHub stars~2.9k tokensUpdated 9 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    360 GitHub stars~1.3k tokensUpdated 9 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    360 GitHub stars~995 tokensUpdated 9 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    360 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about K8s Crd From Typed Schema

What does K8s Crd From Typed Schema do?

A skill your agent uses when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema). K8s Crd From Typed Schema is an agent skill from mizchi/skills. Use when generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema).

When should I use K8s Crd From Typed Schema?

K8s Crd From Typed Schema fits situations like: generating Kubernetes CustomResourceDefinitions from a typed schema source (zod / TypeBox / Valibot / json-schema); tasks that involve Container orchestration; tasks that involve Forms and validation.

How do I install K8s Crd From Typed Schema in Claude Code?

Run `npx skills add mizchi/skills --skill k8s-crd-from-typed-schema -a claude-code`. Or copy the skill folder (k8s-crd-from-typed-schema in mizchi/skills) into .claude/skills/k8s-crd-from-typed-schema in your project. Claude Code loads it when a task matches its description.

How do I install K8s Crd From Typed Schema in Codex?

Run `npx skills add mizchi/skills --skill k8s-crd-from-typed-schema -a codex`. Or copy the skill folder (k8s-crd-from-typed-schema in mizchi/skills) into .agents/skills/k8s-crd-from-typed-schema in your project. Codex loads it when a task matches its description.

Can I use K8s Crd From Typed Schema in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mizchi/skills --skill k8s-crd-from-typed-schema -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/k8s-crd-from-typed-schema, .gemini/skills/k8s-crd-from-typed-schema, .github/skills/k8s-crd-from-typed-schema and .opencode/skills/k8s-crd-from-typed-schema in your project.

What does K8s Crd From Typed Schema need to run?

Going by SKILL.md and its folder, K8s Crd From Typed Schema needs the command-line tools its instructions call (kubectl).

Does K8s Crd From Typed Schema access the network?

SKILL.md names 3 domains. As links in the text: kubernetes.io, github.com and kind.sigs.k8s.io. This is read from the text; nothing was executed.

Is K8s Crd From Typed Schema safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does K8s Crd From Typed Schema use?

No licence was found for K8s Crd From Typed Schema or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does K8s Crd From Typed Schema use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to K8s Crd From Typed Schema?

Skills that share tags, products or a category with K8s Crd From Typed Schema: Chart Tests (astronomer/astronomer, 491 stars), Kopiur Design (home-operations/kopiur, 115 stars), Chart Tests (astronomer/airflow-chart, 297 stars) and K8s Openapi (jinnovation/kele.el, 108 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains K8s Crd From Typed Schema?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 360 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.