k8s-ops

k8s-ops is a skill for Claude Code from addxai/enterprise-harness-engineering. It costs 33 tokens per session (1,859 once invoked), scanned A, original, Apache-2.0.

A Kubernetes operations assistant for viewing, troubleshooting, and changing resources in multiple clusters.

In plain words
What is it for?
Use it to check Pods, Deployments, Services, and Nodes; read logs and events; scale workloads; restart rollouts; apply changes; run commands; and port-forward.
Why use it?
It groups common kubectl tasks so operators can inspect workloads and investigate problems without remembering every command.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Good fit Use it to check Pods, Deployments, Services, and Nodes; read logs and events; scale workloads; restart rollouts; apply changes; run commands; and port-forward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/k8s-ops
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 addxai/enterprise-harness-engineering --skill k8s-ops
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

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-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/k8s-ops/github.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/k8s-ops)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/k8s-ops"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/k8s-ops/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-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/k8s-ops"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/k8s-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,859 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.
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.00033 $0.01859
Opus 5 $0.00016 $0.00929
Sonnet 5 $0.00007 $0.00372
Haiku 4.5 $0.00003 $0.00186

Measured 10d ago against content hash ac61821d587f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

k8s-ops 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 10d 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.

skills/k8s-ops/SKILL.md · 236 lines

How it starts

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

k8s-ops

Assists operations engineers in managing K8s cluster resources via kubectl. Supports viewing, troubleshooting, and change operations.

Applicable scenarios:

  • View Pod/Deployment/Service/Node and other resource statuses
  • View logs and events for troubleshooting
  • Execute change operations (scale, rollout restart, apply, etc.)
  • Troubleshooting operations (exec, port-forward, describe, etc.)

Setup

Before using this skill, configure your cluster contexts in the table below. Replace the example entries with your actual clusters:

Cluster Context Cloud Provider k8s Repo Directory
prod-1 your-eks-context-here AWS EKS clusters/prod-1/
staging your-gke-context-here GCP GKE clusters/staging/
dev your-aks-context-here Azure AKS clusters/dev/

Add all clusters your team manages. The context value should match the output of kubectl config get-contexts.

Execution Flow

Step 1: Environment Check

On first operation, the Agent should automatically check the environment:

  1. Run kubectl version --client to confirm kubectl is installed
  2. Run kubectl config get-contexts to list configured contexts

If kubectl is not installed: Guide the user to install it (brew install kubectl / apt install kubectl / official documentation).

If the target context is not configured:

  • AWS EKS clusters: Guide the user to run aws eks update-kubeconfig --name <cluster-name> --region <region>
  • GCP GKE clusters: Guide the user to run gcloud container clusters get-credentials <cluster-name> --region <region> --project <project>, and ensure gke-gcloud-auth-plugin is installed
  • Azure AKS clusters: Guide the user to run az aks get-credentials --resource-group <rg> --name <cluster-name>
  • Other clusters: Guide the user to download kubeconfig through the corresponding cloud platform console

If already configured: Proceed directly to Step 2.

Read the full file on GitHub · 236 lines

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. 10d ago First seen · 236 lines · 33 tokens per session scan A ac61821d587f

Subscribe to this mod's changes

k8s-ops is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,859 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

wshobson/agents · 44 tokens

peon-ping-create-pack

Internal — invoked headlessly by peon create; humans should run peon create instead. Author and render a brand-new PeonPing draft pack — invoked headlessly as: "Use the peon-ping-create-pack skill to draft a pack: name= flavor= vibe= draftroot= . Follow the skill exactly." Authors all 7 CESP categories honoring the…

PeonPing/peon-ping · 134 tokens

peon-ping-use

Set which voice pack (character voice) plays for the current chat session. Automatically enables sessionoverride rotation mode if not already set. Use when user wants a specific character voice like GLaDOS, Peon, or Kerrigan for this conversation.

PeonPing/peon-ping · 55 tokens

peon-ping-rename

Rename the current Claude session for peon-ping notifications and terminal tab title. Use when user wants to give this session a custom name like "/peon-ping-rename Auth Refactor". Call with no argument to reset to auto-detect.

PeonPing/peon-ping · 57 tokens

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens