agentsclimarketplace

Kubernetes

Skill magnus919/agent-skills/kubernetes

Curated collection of AI agent skills for Hermes and other agent frameworks

Install
npx -y skills add magnus919/agent-skills --skill kubernetes

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Operate, troubleshoot, secure, upgrade, and automate Kubernetes clusters and workloads safely across upstream Kubernetes, k3s, RKE2, MicroK8s, k0s, Talos, OpenShift/OKD, kind, Minikube, Rancher-managed clusters, EKS, AKS, and GKE. Use when a task involves kubectl, Kubernetes APIs, Pods, Deployments, StatefulSets, Services, Ingress or Gateway API, CRDs, RBAC, NetworkPolicy, storage, scheduling, autoscaling, cluster lifecycle, or the bundled agent-first k8s-cli.

SKILL.md

6.1 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

Kubernetes

Use this skill as a decision and routing layer. Do not treat it as a static kubectl cheat sheet.

Operating contract

  1. Identify the target: distribution, provider, cluster version, client version, context, namespace, access mode, and whether the cluster is production.
  2. Discover before assuming: query served API resources, API versions, CRDs, system workloads, nodes, and distribution markers.
  3. Separate portable Kubernetes behavior from distribution/provider overlays. Load the matching reference before using lifecycle, networking, identity, storage, or upgrade instructions.
  4. For mutations, preview first (k8s-cli ... --dry-run or kubectl diff / server dry-run), state scope, require explicit confirmation for destructive actions, then verify conditions, events, rollout, and the external boundary.
  5. Prefer stable APIs and server-side validation. Treat beta/alpha APIs, feature gates, provider defaults, and version numbers as time-sensitive.
  6. Keep evidence bounded and structured. Never dump kubeconfigs, Secret values, tokens, or unbounded logs into chat.

Choose the operating path

SituationFirst moveDo not do
Live cluster operationRun doctor, context, and discover; record context, namespace, distribution, and versionsDo not infer cluster state from configuration or a prior command
No cluster accessProduce a bounded plan and name the missing prerequisiteDo not claim a diagnosis, success, or invented command output
Any mutationRender, diff/server-dry-run, state scope, obtain the required confirmation, then mutate and verify the relevant boundaryDo not treat command exit 0 as operational success
Provider or distribution presentLoad the matching overlay before applying portable guidanceDo not apply upstream instructions unchanged

First-response discovery

scripts/k8s-cli --json doctor
scripts/k8s-cli --json context
scripts/k8s-cli --json discover

If the wrapper is unavailable, use the equivalent native commands from references/cli-reference.md. If kubectl is absent, stop and report the prerequisite rather than inventing cluster state.

Routing

ScenarioLoad
API discovery, SSA, CRDs, or deprecationsreferences/api-and-versioning.md
Workloads, probes, rollouts, jobs, or controllersreferences/workloads-and-rollouts.md
Scheduling, scaling, storage, node disruption, or reliabilityreferences/scheduling-scaling-storage.md and references/nodes-and-reliability.md
Services, DNS, NetworkPolicy, Ingress, or Gateway APIreferences/networking.md
Pod is Running but not serving traffic or is absent from Service endpointsreferences/workloads-and-rollouts.md, references/networking.md, references/troubleshooting.md, and the matching distribution overlay
RBAC, Pod Security, admission, audit, secrets, or policy enginesreferences/security-and-policy.md and references/policy.md
Evidence-first diagnosis or advanced debuggingreferences/troubleshooting.md and references/debugging.md
Backups, upgrades, HA, or observabilityreferences/operations.md, references/backup-restore.md, and references/observability.md
Distribution/provider overlays or version matrixreferences/distributions.md, references/version-skew.md, and references/source-index.md
Native command details or output contractsreferences/cli-reference.md
Mutation safety gatesreferences/safety-gates.md

Templates and scripts

  • templates/diagnostic-report.md: human-readable incident report
  • templates/cluster-inventory.json: bounded inventory schema
  • templates/upgrade-runbook.md: preflight, change, and verification runbook
  • scripts/k8s-cli: agent-first wrapper around kubectl
  • scripts/test-k8s-cli.sh: deterministic tests using a fake kubectl
  • scripts/gather-cluster-state.sh: bounded diagnostic collection for incident reports
  • scripts/verify-cluster-health.sh: bounded post-operation health verification
  • scripts/refresh-version-matrix.sh: refreshes dated release observations, never silently edits guidance

Version policy

The research baseline was checked 2026-07-11. The Kubernetes project page reported maintained minors 1.36, 1.35, and 1.34. This is not a permanent claim. Refresh references/distributions.md and the source index before asserting current versions or support status.

Verification boundary

ClaimMinimum evidence
Pod is healthyPod conditions, readiness, events, and relevant EndpointSlice or external boundary
Pod is serving trafficReady condition, Service selector, EndpointSlice membership, events, and a bounded Service-level check
Rollout succeededController conditions, resulting Pods, events, and the relevant Service or external check
API/resource is availableServed API discovery, installed CRDs/controller support, and server-side validation
Command succeeded operationallyBounded command result plus the resource condition and user-visible boundary

A component-level command result is evidence about that component only; do not promote it to a cluster or integration claim.

Hard boundaries

  • Never expose Secret data or raw kubeconfig credentials.
  • Never use --force-conflicts, delete, drain, patch, upgrade, or cluster-reset procedures without explaining scope and obtaining the required confirmation.
  • Never call a Pod healthy from Running alone.
  • Never call an integration successful from a component-level test alone.
  • Never apply an upstream procedure to k3s, RKE2, a managed provider, Talos, or OpenShift without loading its overlay.

What ships with it: 31 files

63.7 KB alongside SKILL.md, 5 of them executable

evals/

Gives 0 of the 12 instructions most containers cloud skills give in ~1.2k tokens

Counted across 607 of the 657 authors here whose files we hold, read 2026-08-07

  • Run containers as a non-root userin 66 of 607, across 46 files
  • Use multi-stage buildsin 53 of 607, across 44 files
  • Use Promise.all for independent operationsin 47 of 607, across 13 files
  • Import directly instead of barrel filesin 46 of 607, across 12 files
  • Use ternary instead of AND for conditionalsin 45 of 607, across 12 files
  • Use Set or Map for O(1) lookupsin 42 of 607, across 10 files
  • Create a .dockerignore filein 41 of 607, across 31 files
  • Read individual rule files for detailsin 39 of 607, across 9 files
  • Copy dependency files before source codein 36 of 607, across 23 files
  • Authenticate server actions like API routesin 35 of 607, across 7 files
  • Use next/dynamic for heavy componentsin 34 of 607, across 9 files
  • Use React.cache for per-request deduplicationin 34 of 607, across 10 files

Said here and by no other author read

  • query api resources before assuming cluster state
  • preview mutations with a server dry run
  • verify resource conditions after every mutation
  • prefer stable apis and server-side validation
  • load the matching distribution overlay before applying guidance
  • produce a bounded plan when cluster access is missing

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 327,132. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.