k8s-manage

k8s-manage is a skill for Claude Code, Codex from Tobewont/k8s-mcp-server. It costs 0 tokens per session (4,235 once invoked), scanned A, original, MIT.

A skill for managing Kubernetes, the system used to run containerized applications across a cluster of machines, through an MCP server.

In plain words
What is it for?
Use it to view cluster information, create or change workloads, diagnose problems, manage nodes, and handle backups or recovery when the required MCP connection is configured.
Why use it?
It gives an agent a defined way to inspect and operate Kubernetes resources without manually piecing together connection methods and commands.

Skill for Claude CodeCodex

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

Good fit Use it to view cluster information, create or change workloads, diagnose problems, manage nodes, and handle backups or recovery when the required MCP connection is configured.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobewont/k8s-mcp-server/k8s-manage"><img src="https://agentmods.dev/badge/skills/tobewont/k8s-mcp-server/k8s-manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.04235
Opus 5 $0.00000 $0.02117
Sonnet 5 $0.00000 $0.00847
Haiku 4.5 $0.00000 $0.00424

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

Security

Grade A, and why

k8s-manage scanned grade A 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `import_cluster` | 导入集群配置(传入服务端文件路径或内容均可;含证书的 kubeconfig 建议先尝试直接传内容,若服务端校验失败则按错误信息中的 curl 指引上传文件后传路径,见下方「导入集群」流程) | `name`, `kubeconfig`(文件路径或内容), `is_default` |
skills/k8s-manage/SKILL.md · 428 lines

How it starts

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

Kubernetes Cluster Management

通过 K8s MCP Server 管理 Kubernetes 集群。支持多种 MCP 连接方式(mcporter、Cursor 内置 MCP、SSE / Streamable HTTP),覆盖集群信息查询、工作负载 CRUD、诊断、备份恢复、节点运维等 35 个工具。


环境变量

使用本 Skill 前,用户需要提供以下信息(按连接方式选填):

变量 说明 示例
K8S_MCP_URL MCP Server 的 Streamable HTTP / SSE 地址 http://localhost:8000/mcp
K8S_MCP_TOKEN JWT 认证 Token(MCP Server 启用认证时必填) eyJhbGciOi...
K8S_MCP_SERVER mcporter 中注册的 MCP Server 名称 k8s-mcp-server

MCP 连接方式

本 Skill 支持三种方式调用 K8s MCP Server,按优先级自动选择:

方式一:Cursor 内置 MCP(推荐)

如果 K8s MCP Server 已在 Cursor 的 MCP 配置中注册(~/.cursor/mcp.json 或项目 .cursor/mcp.json),直接使用 CallMcpTool 调用:

{
  "mcpServers": {
    "k8s-mcp-server": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

调用方式:

CallMcpTool(server="k8s-mcp-server", toolName="<工具名>", arguments={...})

带认证时,需要在 MCP 配置的 headers 中加上 Token:

{
  "mcpServers": {
    "k8s-mcp-server": {
      "url": "http://localhost:8000/mcp",
      "headers": {
        "Authorization": "Bearer <K8S_MCP_TOKEN>"
      }
    }
  }
}

方式二:mcporter 命令行

mcporter 配置(~/.mcporter/config.json 或项目下 .mcporter.json):

{
  "mcpServers": {
    "k8s-mcp-server": {
      "url": "http://localhost:8000/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer <K8S_MCP_TOKEN>"
      }
    }
  }
}

调用格式:

mcporter call k8s-mcp-server.<工具名> --args '<JSON参数>'

无认证时省略 headers。查看可用工具列表:

mcporter tools k8s-mcp-server

方式三:stdio 模式(本地直连)

无需 HTTP 服务,直接通过 stdio 启动 MCP Server:

Cursor MCP 配置:

{
  "mcpServers": {
    "k8s-mcp-server": {
      "command": "k8s-mcp-server",
      "args": ["--transport", "stdio"],
      "cwd": "<k8s-mcp-server项目路径>"
    }
  }
}

mcporter 配置:

{
  "mcpServers": {
    "k8s-mcp-server": {
      "command": "k8s-mcp-server",
      "args": ["--transport", "stdio"],
      "cwd": "<k8s-mcp-server项目路径>",
      "transport": "stdio"
    }
  }
}

Read the full file on GitHub · 428 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. 11d ago First seen · 428 lines · 0 tokens per session scan A 67f6a42d6291

Subscribe to this mod's changes

k8s-manage is a skill published in the GitHub repository Tobewont/k8s-mcp-server (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,235 tokens. A static security scan graded it A with 1 finding (makes network calls). 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

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger keywords - openshell…

NVIDIA/OpenShell · 128 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…

microsoft/skills · 106 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, varfile generation, EKS integration, source management.

cloudposse/atmos · 33 tokens