k8s

k8s is a skill for Claude Code, Codex from gullitmiranda/.cursor. It costs 49 tokens per session (1,281 once invoked), scanned A, original, MIT.

A set of read-only commands for inspecting Kubernetes, a system for running and managing containerized applications.

In plain words
What is it for?
Use it to check pods, deployments, services, logs, and resource usage, validate YAML manifests, and review possible changes.
Why use it?
It lets you examine resources and preview configuration differences without applying changes or deleting anything.

Skill for Claude CodeCodex

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

Good fit Use it to check pods, deployments, services, logs, and resource usage, validate YAML manifests, and review possible changes.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gullitmiranda/.cursor/k8s"><img src="https://agentmods.dev/badge/skills/gullitmiranda/.cursor/k8s.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 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.00049 $0.01281
Opus 5 $0.00024 $0.00641
Sonnet 5 $0.00010 $0.00256
Haiku 4.5 $0.00005 $0.00128

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

Security

Grade A, and why

k8s 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 9d 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/SKILL.md · 263 lines

How it starts

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

/k8s-check

Description

Safely check Kubernetes resources without applying changes.

Workflow

  1. Use kubectl get and kubectl describe to inspect resources
  2. Show current state of relevant resources
  3. Identify potential issues or conflicts
  4. Provide read-only analysis and recommendations
  5. Never execute destructive operations

Safe Commands Used

  • kubectl get <resource>
  • kubectl describe <resource>
  • kubectl logs <pod>
  • kubectl explain <resource>

Examples

# Check all pods
/k8s-check pods

# Check specific namespace
/k8s-check pods -n production

# Check deployments
/k8s-check deployments

# Check services
/k8s-check services

# Check resource usage
/k8s-check top pods

Resource Types

  • Pods
  • Deployments
  • Services
  • ConfigMaps
  • Secrets
  • Ingress
  • PersistentVolumes
  • Nodes

Safety Features

  • Read-only operations only
  • No destructive commands
  • Clear resource identification
  • Conflict detection
  • Resource dependency analysis

Output Format

Resource: pods
Namespace: default
Status: Running (3/3)

POD_NAME                    READY   STATUS    RESTARTS   AGE
app-pod-12345              1/1     Running   0          2h
db-pod-67890               1/1     Running   0          2h
cache-pod-11111            1/1     Running   0          2h

Issues Found:
- No issues detected

Recommendations:
- All pods are healthy
- Consider resource limits optimization

Integration

  • Works with kubectl context
  • Integrates with monitoring tools
  • Supports multiple namespaces
  • Compatible with CI/CD pipelines

/k8s-validate

Description

Validate Kubernetes manifests without applying them.

Workflow

  1. Use kubectl apply --dry-run=client to validate syntax
  2. Use kubectl apply --dry-run=server to validate against cluster
  3. Check for resource conflicts and dependencies
  4. Validate YAML/JSON syntax and structure
  5. Provide detailed validation report with recommendations

Validation Steps

  • Syntax validation
  • Schema validation
  • Resource conflict detection
  • Security policy compliance
  • Best practices check

Read the full file on GitHub · 263 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. 9d ago First seen · 263 lines · 49 tokens per session scan A 1acf38d2c4bc

Subscribe to this mod's changes

k8s is a skill published in the GitHub repository gullitmiranda/.cursor (2 stars, last pushed 6mo ago), licensed MIT. It adds 49 tokens to every session and 1,281 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-31.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens