k8s-networking

k8s-networking is a skill for Claude Code, Codex from rohitg00/kubectl-mcp-server. It costs 34 tokens per session (1,032 once invoked), scanned A, original, MIT.

A guide for managing Kubernetes networking, which connects containerised applications to each other and to outside users. It covers services, ingresses, endpoints, load balancing, and network policies.

In plain words
What is it for?
Use it to expose applications, configure routing, inspect services and endpoints, troubleshoot DNS or ports, and review network isolation rules.
Why use it?
It provides a structured way to find connectivity problems and control which applications can communicate, including checks for missing backends and mismatched labels.

Skill for Claude CodeCodex

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

Good fit Use it to expose applications, configure routing, inspect services and endpoints, troubleshoot DNS or ports, and review network isolation rules.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohitg00/kubectl-mcp-server/k8s-networking"><img src="https://agentmods.dev/badge/skills/rohitg00/kubectl-mcp-server/k8s-networking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00034 $0.01032
Opus 5.5 $0.00014 $0.00413
Sonnet 5.5 $0.00007 $0.00206
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

k8s-networking 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 3d 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.

kubernetes-skills/claude/k8s-networking/SKILL.md · 172 lines

How it starts

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

Kubernetes Networking

Manage Kubernetes networking resources using kubectl-mcp-server's networking tools.

Requires the security toolset: start kubectl-mcp-server with --toolsets default,security (or MCP_TOOLSETS=default,security).

When to Apply

Use this skill when:

  • User mentions: "service", "ingress", "endpoint", "network policy", "load balancer"
  • Operations: exposing applications, configuring routing, network isolation
  • Keywords: "connectivity", "DNS", "traffic", "port", "firewall"

Priority Rules

Priority Rule Impact Tools
1 Check endpoints before troubleshooting services CRITICAL kubectl_get
2 Verify service selector matches pod labels HIGH kubectl_get, kubectl_get
3 Review network policies for isolation HIGH analyze_network_policies
4 Test DNS resolution from within pods MEDIUM exec_in_pod

Quick Reference

Task Tool Example
List services kubectl_get kubectl_get(resource_type="services", namespace)
Check backends kubectl_get kubectl_get(resource_type="endpoints", namespace)
List ingresses kubectl_get kubectl_get(resource_type="ingress", namespace)
Network policies analyze_network_policies analyze_network_policies(namespace)

Services

kubectl_get(resource_type="services", namespace="default")

kubectl_describe(resource_type="service", name="my-service", namespace="default")

kubectl_apply(manifest="""
apiVersion: v1
kind: Service
metadata:
  name: my-service
  namespace: default
spec:
  selector:
    app: my-app
  ports:
  - port: 80
    targetPort: 8080
""")

kubectl_apply(manifest="""
apiVersion: v1
kind: Service
metadata:
  name: my-lb
  namespace: default
spec:
  type: LoadBalancer
  selector:
    app: my-app
  ports:
  - port: 443
    targetPort: 8443
""")

Endpoints

kubectl_get(resource_type="endpoints", namespace="default")

Read the full file on GitHub · 172 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. 3d ago Changed · +16 lines 123b822af849
  2. 1mo ago First seen · 156 lines · 34 tokens per session scan A 079f905403f1

Subscribe to this mod's changes

k8s-networking is a skill published in the GitHub repository rohitg00/kubectl-mcp-server (964 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 1,032 once invoked, about $0.0001 per session on Opus 5.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.