cilium
Skill0 starsChanged 41 days agoMITView on GitHub
Use when designing, deploying, or reviewing Cilium — CNI install, kube-proxy replacement, L3/L4/L7 network policies, Hubble observability, transparent encryption, Cluster Mesh, Gateway API/Ingress, Egress Gateway, LB-IPAM/BGP/L2. Mention "cilium", "kube-proxy replacement", "ciliumnetworkpolicy", "hubble", "cluster mesh", "egress gateway", "cilium bgp" as triggers.
In this repository45 other files it gives its agents.
- admission-policy-reviewSkill
- alert-rule-reviewSkill
- architecture-reviewSkill
- argocd-applicationsetSkill
- argocd-debugSkill
- argocdSkill
- cert-manager-debugSkill
- cicd-reviewSkill
- cilium-debugSkill
- cluster-backupSkill
- dast-reviewSkill
- dockerfile-reviewSkill
- english-technical-messageSkill
- git-messageSkill
- gitops-reviewSkill
- go-bugfixSkill
- go-code-reviewSkill
- go-testing-reviewSkill
- grafana-dashboardsSkill
- helm-reviewSkill
- homelab-change-planSkill
- incident-analysisSkill
- ingressSkill
- interview-system-designSkill
- istio-debugSkill
- istioSkill
- kubernetes-autoscalingSkill
- kubernetes-debugSkill
- kubernetes-securitySkill
- kubernetes-yaml-reviewSkill
- migration-planSkill
- observability-reviewSkill
- observability-stackSkill
- production-readinessSkill
- pr-reviewSkill
- root-cause-analysisSkill
- runbook-writerSkill
- runtime-security-reviewSkill
- secrets-managementSkill
- storage-debugSkill
- supply-chain-securitySkill
- terraform-reviewSkill
- upgrade-readinessSkill
- vaultSkill
- vulnerability-triageSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Do not combine CNI migration and unrelated features into one blind change.
- Distinctive: line 26
Follow the Workflow, Safety rules, and Quality checklist below.
- Very specific: line 37
Use when planning, installing, configuring, or reviewing any part of Cilium: the CNI/datapath, kube-proxy replacement, network policies …
- Distinctive: line 64
Confirm the baseline: before feature work: Cilium version, datapath mode, whether kube-proxy replacement is on (many features — Egress …
- Very specific: line 104
Prefer read-only verification (cilium status, hubble observe, cilium bgp routes) in any investigation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cilium
TL;DR checklist
- Choose the Cilium feature area before loading its reference.
- Record Cilium, kernel, datapath, kube-proxy, and cluster baseline.
- Match the feature to a concrete need and plan validation.
Key read-only checks
- Inspect the installed Cilium version, datapath mode, kube-proxy replacement, and relevant cluster type.
Common pitfalls
- Do not combine CNI migration and unrelated features into one blind change.
Agent procedure
Follow the Workflow, Safety rules, and Quality checklist below.
Quick references
- references/install.md
- references/network-policies.md
Last verified: unverified
When to use
Use when planning, installing, configuring, or reviewing any part of Cilium: the CNI/datapath,
kube-proxy replacement, network policies (including L7), Hubble, encryption, multi-cluster
Cluster Mesh, Gateway API/Ingress, Egress Gateway, or LB-IPAM/BGP/L2 announcements. For
troubleshooting live drops/connectivity ("traffic dropped by policy", stuck endpoints) use the
cilium-debug skill instead — this skill is design/deploy/review, that one is symptom triage.
Goal
Get Cilium's many features configured correctly and safely for the cluster's actual needs — without turning on complexity (encryption, mesh, BGP) that isn't warranted, and without the foot-guns each feature carries (datapath mode mismatches, policy default-deny lockouts, kube-proxy-replacement prerequisites).
Workflow
Scope the ask to a feature area and load its reference — don't reason about all of Cilium at once:
Area Reference Install, datapath (tunnel vs native), IPAM, kube-proxy replacement, CNI migration, managed clusters references/install.mdCiliumNetworkPolicy / ClusterwideNetworkPolicy, L3/L4/L7 (HTTP/DNS/Kafka), toFQDNs, default-deny, deny policies, host firewall references/network-policies.mdHubble / Relay / UI, flow observability, metrics, export references/hubble.mdTransparent encryption: WireGuard vs IPsec references/encryption.mdMulti-cluster Cluster Mesh, global services references/clustermesh.mdGateway API, Ingress, Egress Gateway, LB-IPAM, BGP, L2 announcements references/gateway-egress.md- Confirm the baseline before feature work: Cilium version, datapath mode, whether
kube-proxy replacement is on (many features — Egress Gateway, some LB paths — require it),
kernel version (eBPF features have floors), and the underlying cluster (managed vs self-hosted
changes IPAM and routing). If the cluster is a managed cloud one, load the matching
conditional reference —
references/conditional/eks.md(ENI vs overlay, VPC CNI removal, SG-per-pod caveat),gke.md(Dataplane V2 is managed Cilium vs self-managed for advanced features), oraks.md(Azure CNI Powered by Cilium vs BYOCNI) — before recommending anything, because IPAM, kube-proxy, and available features differ substantially per cloud. - Match feature to need, not to novelty — encryption, Cluster Mesh, BGP each add real operational cost; recommend them when the requirement (compliance, multi-region HA, bare-metal L2) exists, and say so plainly when it doesn't.
- Check prerequisites and blast radius — many Cilium changes are cluster-wide and disruptive
(datapath mode change, kube-proxy replacement toggle, encryption enablement all touch every
node). Plan them like a migration (
migration-planskill): staged, reversible, with a connectivity check between steps. - GitOps the config — Helm values + Cilium CRDs live in the GitOps repo; changes go through
PR and staged rollout, not
ciliumCLI mutations on a live cluster. - Verify with read-only tools —
cilium status,cilium config view,hubble observe,cilium bgp peers,cilium clustermesh statusconfirm state without changing it.
References
references/install.md,references/network-policies.md,references/hubble.md,references/encryption.md,references/clustermesh.md,references/gateway-egress.md— one per feature area, each with decision tables, Helm/CRD examples, prerequisites, and gotchas.references/conditional/{eks,gke,aks}.md— cloud-specific integration, loaded by signal (managed cluster detected): the per-cloud IPAM, kube-proxy, and feature-availability differences that override the generic install guidance.
Safety rules
- This is a design/deploy-planning/review skill: do not run
cilium install/upgrade,cilium clustermesh enable, apply CiliumNetworkPolicies, or toggle datapath/kube-proxy/ encryption on a live cluster — propose Helm values and manifests for the user to apply. - Cluster-wide changes (datapath mode, kube-proxy replacement, encryption, CNI migration) can sever all pod networking if done wrong — always frame them as staged, reversible rollouts with a rollback path, never a single flip.
- A default-deny CiliumNetworkPolicy or a wrong
endpointSelectorcan cut off production traffic instantly — propose policies in a way that's validated (audit/observe first via Hubble) before enforcement. - Prefer read-only verification (
cilium status,hubble observe,cilium bgp routes) in any investigation; never restart agents or runcilium cleanup-class commands without explicit confirmation.
Output format
## Feature area & baseline (version, datapath, kube-proxy replacement, kernel, cluster type)
## Recommendation (what to enable/change, and explicitly what NOT to)
## Prerequisites & blast radius
## Proposed config (Helm values / CRDs, for user review)
## Rollout plan (staged, with per-step verification and rollback)
## Verification (read-only commands)Quality checklist
- The relevant feature reference was consulted, not reasoned from memory
- Prerequisites checked (kube-proxy replacement, kernel floor, datapath compatibility)
- Cluster-wide/disruptive changes are framed as staged reversible rollouts
- Complexity (encryption/mesh/BGP) is recommended only against a real requirement
- Policies are validated (Hubble observe) before enforcement, never blind default-deny
- Nothing was applied to a live cluster; verification is read-only
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

