rohitg00/kubectl-mcp-server/k8s-cilium

Claude Code and agent skill by rohitg00/kubectl-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Cilium and Hubble network observability for Kubernetes. Use when managing network policies, observing traffic flows, or troubleshooting connectivity with eBPF-based networking.

Install

npx vskill@latest install rohitg00/kubectl-mcp-server/k8s-cilium

SKILL.md

Cilium & Hubble Network Observability

Manage eBPF-based networking using kubectl-mcp-server's Cilium tools (8 tools).

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

When to Apply

Use this skill when:

  • User mentions: "Cilium", "Hubble", "eBPF", "network policy", "flow"
  • Operations: network policy management, traffic observation, L7 filtering
  • Keywords: "network security", "traffic flow", "dropped packets", "connectivity"

Priority Rules

PriorityRuleImpactTools
1Detect Cilium installation firstCRITICALdetect_ecosystem
2Check agent status for healthHIGHcilium_get_status
3Use Hubble for flow debuggingHIGHget_hubble_flows
4Start with default denyMEDIUMCiliumNetworkPolicy

Quick Reference

TaskToolExample
Detect Ciliumdetect_ecosystemdetect_ecosystem()
Agent statuscilium_get_statuscilium_get_status()
List policiescilium_list_policiescilium_list_policies(namespace)
Query flowsget_hubble_flowsget_hubble_flows(namespace)

Check Installation

python
detect_ecosystem()

Cilium Status

python
cilium_get_status()

Network Policies

List Policies
python
cilium_list_policies(namespace="default")
Get Policy Details
python
cilium_get_policy(name="allow-web", namespace="default")
Create Cilium Network Policy
python
kubectl_apply(manifest="""
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-web
namespace: default
spec:
endpointSelector:
matchLabels:
app: web
ingress:
- fromEndpoints:
- matchLabels:
app: frontend
toPorts:
- ports:
- port: "80"
protocol: TCP
egress:
- toEndpoints:
- matchLabels:
app: database
toPorts:
- ports:
- port: "5432"
protocol: TCP
""")

Endpoints

python
cilium_list_endpoints(namespace="default")

Identities

python
cilium_list_identities()

Nodes

python
cilium_list_nodes()

Hubble Flow Observability

python
get_hubble_flows(
namespace="default",
pod="my-pod",
last="5m"
)
get_hubble_flows(
namespace="default",
verdict="DROPPED"
)
get_hubble_flows(
namespace="default",
protocol="http"
)

Create L7 Policy

python
kubectl_apply(manifest="""
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: api-policy
namespace: default
spec:
endpointSelector:
matchLabels:
app: api
ingress:
- fromEndpoints:
- matchLabels:
app: frontend
toPorts:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- method: GET
path: "/api/v1/.*"
- method: POST
path: "/api/v1/users"
""")

Cluster Mesh

python
kubectl_apply(manifest="""
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: allow-cross-cluster
spec:
endpointSelector:
matchLabels:
app: shared-service
ingress:
- fromEntities:
- cluster
- remote-node
""")

Troubleshooting Workflows

Pod Can't Reach Service
python
cilium_get_status()
cilium_list_endpoints(namespace)
cilium_list_policies(namespace)
get_hubble_flows(namespace, pod, verdict="DROPPED")
Policy Not Working
python
cilium_get_policy(name, namespace)
cilium_list_endpoints(namespace)
get_hubble_flows(namespace)
Network Performance Issues
python
cilium_get_status()
cilium_list_nodes()
get_hubble_flows(namespace, protocol="http")

Best Practices

  1. Start with default deny: Create baseline deny-all policy
  2. Use labels consistently: Policies rely on label selectors
  3. Monitor with Hubble: Observe flows before/after policy changes
  4. Test in staging: Verify policies don't break connectivity

Prerequisites

  • Cilium: Required for all Cilium tools

``bash cilium install ``

Related Skills

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
854
Repository forks
167
Repository npm downloads, 7 days
198
7-day trend score
48

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 23 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rohitg00/kubectl-mcp-server/k8s-cilium/badge)](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-cilium)

Something wrong with this skill or its page? Tell us.