k8s-cilium

k8s-cilium is a skill for Claude Code, Codex from yindia/rootcause. It costs 0 tokens per session (1,554 once invoked), scanned A, original, MIT.

A guide for diagnosing Cilium, a Kubernetes networking and security system, including its endpoints, network policies, and Hubble traffic flows. Hubble is Cilium's tool for observing network connections.

In plain words
What is it for?
Investigating pod-to-pod and service connectivity, denied or dropped traffic, blocked egress, unavailable endpoints, and missing network-flow evidence.
Why use it?
It helps identify whether connectivity failures come from Cilium itself, an endpoint problem, or a policy blocking traffic.

Skill for Claude CodeCodex

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

Good fit Investigating pod-to-pod and service connectivity, denied or dropped traffic, blocked egress, unavailable endpoints, and missing network-flow evidence.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yindia/rootcause/k8s-cilium.svg)](https://agentmods.dev/skills/yindia/rootcause/k8s-cilium)
Your own site
<a href="https://agentmods.dev/skills/yindia/rootcause/k8s-cilium"><img src="https://agentmods.dev/badge/skills/yindia/rootcause/k8s-cilium.svg" alt="Measured on agentmods" 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 1,554 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.00000 $0.01554
Opus 5 $0.00000 $0.00777
Sonnet 5 $0.00000 $0.00311
Haiku 4.5 $0.00000 $0.00155

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

Security

Grade A, and why

k8s-cilium 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 7d 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/claude/k8s-cilium/SKILL.md · 253 lines

How it starts

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

Skill: k8s-cilium

Comprehensive Cilium diagnostics for control-plane detection, endpoint health, network policy behavior, and connectivity failures.

Includes practical CiliumNetworkPolicy examples and Hubble-centric investigation concepts.

Trigger Phrases

Use this skill when the user mentions:

  • cilium issue
  • cni problem
  • cilium endpoint not ready
  • policy denied traffic
  • dropped traffic
  • hubble flow gap
  • pod to pod connectivity failed
  • service reachable from some pods only
  • egress policy blocked

RootCause Tools Allowed

Only use these tool names in this skill:

  • k8s.cilium_detect
  • k8s.diagnose_cilium
  • k8s.describe
  • k8s.list
  • k8s.events
  • k8s.network_debug

Cilium Workflow Overview

Canonical sequence:

  1. detect Cilium footprint,
  2. diagnose Cilium health,
  3. inspect affected endpoints and policies,
  4. correlate with service-level network evidence.

Step 1: Detect Cilium Installation

Use k8s.cilium_detect first.

Outcome handling:

  • detected: continue with Cilium-specific diagnosis.
  • not detected: stop Cilium branch and pivot to generic network diagnostics.

Step 2: Run Cluster/Namespace Diagnosis

Use k8s.diagnose_cilium for aggregated state.

Example:

namespace: payments
limit: 100

Read for:

  • endpoint health summary,
  • policy status warnings,
  • node-level Cilium issues,
  • recurring warning events.

Step 3: Inventory Cilium Resources

Use k8s.list for policy and endpoint visibility.

Example:

namespace: payments
resources:
  - kind: CiliumNetworkPolicy
  - kind: CiliumEndpoint
  - kind: CiliumNode

Step 4: Inspect Target Resources

Use k8s.describe in this priority order:

  1. failing CiliumEndpoint,
  2. governing CiliumNetworkPolicy,
  3. affected service/pod context.

Watch for:

  • identity allocation errors,
  • endpoint policy enforcement modes,
  • selector mismatch in policies,
  • stale labels after rollout.

Step 5: Correlate with Service Path

Use k8s.network_debug on affected service to validate:

  • endpoint selection,
  • potential policy denials,
  • load balancer path effects.

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

Subscribe to this mod's changes

k8s-cilium is a skill published in the GitHub repository yindia/rootcause (42 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,554 tokens. 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.

Related

Other skills, from other repositories