PlugWiki

k8s-manifest-generator skill (wshobson) for Claude Code: Kubernetes YAML

Helps Claude write production-ready Kubernetes manifests: Deployments, Services, ConfigMaps, Secrets and volume claims.

Installs
11.4K
on skills.sh
Stars
42.1K
on GitHub
Files
6
besides SKILL.md
Updated
Oct 2026
last repo commit

k8s-manifest-generator is a skill from wshobson/agents. Claude loads it when you ask for Kubernetes Deployments, Services, ConfigMaps, Secrets or PersistentVolumeClaims. SKILL.md lists ten best practices, such as resource limits, health checks, specific image tags and non-root security contexts.

references/details.md walks through ten steps from gathering requirements to validation, plus four common patterns. The folder bundles three YAML templates (deployment, service, configmap) and two spec references. The details file also lists a secret and a PVC template that the folder does not contain.

Good for

  • Developers writing Kubernetes YAML for the first time
  • Platform engineers who want consistent labels, limits and health checks
  • Teams that want security contexts and dry-run checks in every manifest

Install k8s-manifest-generator

Claude Code

  1. 1

    Copy this prompt.

    Install the k8s-manifest-generator skill in Claude Code. Run this command:
    
    npx skills add wshobson/agents --skill k8s-manifest-generator
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Pick one route. The plugin routes install the whole kubernetes-operations plugin: 4 skills, 1 agent file(s) and 0 command file(s), counted from the plugin folder in the repo tree, which has no hooks or MCP config files. The skills-only routes install just this skill, with no agents or commands.

Built from the package data we hold. Not yet tested by us. Source.

What's in the skill

When it loads

Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.

Sections in SKILL.md

  1. Purpose
  2. When to Use This Skill
  3. Detailed patterns and worked examples
  4. Best Practices Summary
  5. Troubleshooting
  6. Next Steps
  7. Related Skills

Key facts

Repository
wshobson/agents
Installs on skills.sh
11,415 (Nov 2, 2026)
GitHub stars (repo)
42,081 (Nov 2, 2026)
Last repo commit
Oct 30, 2026

What it includes

  • Step 1 of the ten-step workflow in references/details.md.

    Gather requirements

  • Steps 2 to 4: write each manifest with probes, ports and config.

    Deployment, Service, ConfigMap

  • Steps 5 and 6: secrets created with kubectl, plus persistent volume claims.

    The Secret step shows kubectl create secret generic and kubectl create secret tls commands with --from-file.

    Runs code · Secret and PVC

  • Steps 7 to 9: security contexts, standard labels and multi-resource files.

    Security, labels, organization

  • Step 10: dry-run client and server checks, plus kubeval, kube-score and kube-linter.

    kubectl apply --dry-run=server contacts your cluster's API server.

    Runs code · Validate and test

  • Stateless web app, stateful database, background job or cron, multi-container pod.

    Common patterns (4)

  • assets/ holds deployment, service and configmap templates.

    YAML templates (3)

  • kubectl describe, get nodes, get events, get endpoints and a busybox debug pod.

    Runs code · Troubleshooting

From the official docs

Permissions

Medium risk

The skill holds instructions, but they include kubectl commands that create secrets and talk to your cluster. Confirm the kube context and use dry-run before anything is applied.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • kubectl commands can reach your cluster

    The docs show kubectl create secret, kubectl apply and kubectl run for a debug pod. Check the current context and namespace before approving any of them. github.com

  • Secret commands read local files

    The Secret step uses --from-file with paths like /secure/path/api-key. Keep real secrets out of chat and out of committed files. github.com

Technical details
Talks toYour cluster's API server, for kubectl commands
Scopes
  • kubectl context (your own cluster access)

Questions

How do I install the k8s-manifest-generator skill?

Use the install box above. The skills CLI command installs only this skill. The plugin route installs kubernetes-operations, which holds 4 skills, 1 agent file(s) and 0 command file(s) in the repo.

Will it apply manifests to my cluster?

SKILL.md and references/details.md only show kubectl commands. They run if you or Claude run them. The validation step starts with --dry-run=client and --dry-run=server, and the dry-run=server check contacts your cluster.

Does it create Helm charts?

SKILL.md covers raw manifests. For templating and packaging it points to helm-chart-scaffolding, and it also names gitops-workflow and k8s-security-policies as related skills. The kubernetes-operations plugin folder holds all three.

Is k8s-manifest-generator safe to install?

The folder holds YAML templates and Markdown, with no script files. The kubectl commands in them only run if you approve them. Check your current kube context before you let Claude run any of them.

Why does the details file mention templates that are not in the folder?

references/details.md lists five templates, including secret-template.yaml and pvc-template.yaml. The repo folder has three: deployment, service and configmap.

Does k8s-manifest-generator work in the Claude app or Codex?

The install box lists a zip upload for the Claude app and a plugin route for Codex. The wshobson/agents README names Claude Code, Codex CLI, Cursor, OpenCode, Antigravity CLI, GitHub Copilot and Pi as supported tools.

Information

updated Nov 2, 2026

Repository
wshobson/agents
Folder
plugins/kubernetes-operations/skills/k8s-manifest-generator

wshobson/agentsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 9
  1. wshobson/agents README · github.com
  2. Marketplace manifest · github.com
  3. Claude Code skills · code.claude.com
  4. Using skills in Claude · support.claude.com
  5. SKILL.md · github.com
  6. references/details.md · github.com
  7. skills.sh listing · skills.sh
  8. Repository · github.com
  9. skill folder · github.com

Updated Nov 2, 2026.