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.
npx skills add serejaris/kimi-skills --skill k8s-cluster-opsgit clone --depth 1 https://github.com/serejaris/kimi-skillsWrote 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.
[](https://agentmods.dev/skills/serejaris/kimi-skills/k8s-cluster-ops)<a href="https://agentmods.dev/skills/serejaris/kimi-skills/k8s-cluster-ops"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/k8s-cluster-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.
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/k8s-cluster-ops"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/k8s-cluster-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.02000 |
| Opus 5.5 | $0.00046 | $0.00800 |
| Sonnet 5.5 | $0.00023 | $0.00400 |
| Haiku 4.5 | $0.00012 | $0.00200 |
Grade C, and why
k8s-cluster-ops scanned grade C with 1 finding 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 2mo 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
2. **kubeconfig** 文件已配置集群凭证(默认路径:`~/.kube/config`) How it starts
The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kubectl 技能
使用 kubectl 命令行工具执行 Kubernetes 集群管理操作。
概述
此技能可以帮助 Agent 完成以下操作:
- 查询资源 — 列出和获取 Pod、Deployment、Service、Node 等资源的详细信息
- 部署与更新 — 创建、应用、补丁和更新 Kubernetes 资源
- 调试与排障 — 查看日志、在容器中执行命令、检查事件
- 管理配置 — 更新 kubeconfig、切换上下文、管理命名空间
- 监控健康 — 检查资源使用情况、滚动更新状态、事件和 Pod 状态
- 执行运维操作 — 扩缩 Deployment、腾空节点、管理污点和标签
前置条件
- kubectl 二进制文件已安装并在 PATH 中可用(v1.20+)
- kubeconfig 文件已配置集群凭证(默认路径:
~/.kube/config) - 已建立与 Kubernetes 集群的网络连接
快速配置
安装 kubectl
macOS:
brew install kubernetes-cli
Linux:
apt-get install -y kubectl # Ubuntu/Debian
yum install -y kubectl # RHEL/CentOS
验证安装:
kubectl version --client
kubectl cluster-info # Test connection
常用命令
查询资源
kubectl get pods # List all pods in current namespace
kubectl get pods -A # All namespaces
kubectl get pods -o wide # More columns
kubectl get nodes # List nodes
kubectl describe pod POD_NAME # Detailed info with events
查看日志
kubectl logs POD_NAME # Get logs
kubectl logs -f POD_NAME # Follow logs (tail -f)
kubectl logs POD_NAME -c CONTAINER # Specific container
kubectl logs POD_NAME --previous # Previous container logs
在容器中执行命令
kubectl exec -it POD_NAME -- /bin/bash # Interactive shell
kubectl exec POD_NAME -- COMMAND # Run single command
部署应用
kubectl apply -f deployment.yaml # Apply config
kubectl create -f deployment.yaml # Create resource
kubectl apply -f deployment.yaml --dry-run=client # Test
更新应用
kubectl set image deployment/APP IMAGE=IMAGE:TAG # Update image
kubectl scale deployment/APP --replicas=3 # Scale pods
kubectl rollout status deployment/APP # Check status
kubectl rollout undo deployment/APP # Rollback
管理配置
kubectl config view # Show kubeconfig
kubectl config get-contexts # List contexts
kubectl config use-context CONTEXT # Switch context
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 250 lines · 116 tokens per session scan C a2b96622a9ea
k8s-cluster-ops is a skill published in the GitHub repository serejaris/kimi-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 116 tokens to every session and 2,000 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
k8s-cluster-ops compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| k8s-cluster-opsserejaris/kimi-skills | Skill | 13 | 4mo ago | MIT | C | 116 | Claude Code, Codex |
| gke-kueue-troubleshootinggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 253 | Claude Code, Codex |
| offensive-container-escapeSnailSploit/Claude-Red | Skill | 12k | 13d ago | MIT | A | 196 | Claude Code, Codex |
| incident-postmortemmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 87 | Claude Code, Codex |
| agent-design-reviewmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 91 | Claude Code |
| prompt-debuggingmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 131 | Claude Code |
| rag-architecture-reviewmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 89 | Claude Code |