cloud-native-ebpf-networking

cloud-native-ebpf-networking is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 103 tokens per session (2,093 once invoked), scanned A, original, MIT.

A guide to eBPF, which runs verified programs inside the Linux kernel, and Cilium, a networking and security system built on it. It explains how network packets can be inspected or changed early in their path.

In plain words
What is it for?
Use it to understand XDP hooks, packet actions, Cilium architecture, container networking, and kernel-level network security policies.
Why use it?
It makes low-level container networking and packet handling easier to reason about. This helps when choosing where to enforce traffic rules or improve network performance.

Skill for Claude CodeCodex

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

Good fit Use it to understand XDP hooks, packet actions, Cilium architecture, container networking, and kernel-level network security policies.

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

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 cloud-native-ebpf-networking

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/ebpf-networking/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/ebpf-networking)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/ebpf-networking"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/ebpf-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 cloud-native-ebpf-networking

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/ebpf-networking"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/ebpf-networking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,093 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.00103 $0.02093
Opus 5.5 $0.00041 $0.00837
Sonnet 5.5 $0.00021 $0.00419
Haiku 4.5 $0.00010 $0.00209

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

Security

Grade A, and why

cloud-native-ebpf-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 12d 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/cloud-native/ebpf-networking/SKILL.md · 162 lines

How it starts

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

eBPF Networking and the Cilium Datapath

Purpose

eBPF lets verified programs run at kernel hook points, so networking (load balancing, policy, NAT, DDoS filtering) can happen without iptables chains or user-space proxies. Knowing which hook runs where explains Cilium's performance characteristics and its kernel requirements.

Agent Protocol

Trigger

"ebpf networking", "XDP", "tc ebpf", "cilium datapath", "kube-proxy replacement", "DSR", "netkit", "bpf maps", "xdp drop".

Input Context

  • Kernel version(s) on nodes, NIC driver (native XDP support), cloud vs bare metal.
  • Goal: kube-proxy replacement, network policy, DDoS filtering, custom LB.

Output Artifact

Explanation, hook choice, and/or libbpf program + loader steps. No file unless requested.

Response Format

Hook: {XDP native|XDP generic|tc/tcx ingress|tc/tcx egress|cgroup/connect4|sockops}
Why: {position in stack, available context}
Min kernel: {version}
Program/map design: {...}
Verification: {bpftool commands}

Completion Criteria

  • Hook justified by where in the stack the decision must happen.
  • Code passes the verifier: all packet accesses bounds-checked; GPL-compatible license when GPL helpers used.
  • Minimum kernel version stated.

Hook Points (ingress order)

Hook Runs Context Typical use
XDP (native, in driver) Before sk_buff allocation struct xdp_md (raw frame) DDoS drop, L4 LB, early filtering
XDP generic After sk_buff allocation (fallback) same API, slower Testing / NICs without native XDP
XDP offload On SmartNIC hardware limited Few NICs support it
tc / tcx ingress & egress In the traffic-control layer with sk_buff struct __sk_buff Policy, NAT, redirects between devices; tcx (kernel 6.6+) is the newer link-based attach API
cgroup socket hooks (connect4/6, sendmsg4, recvmsg4) On socket syscalls socket address Socket-level LB: rewrite ClusterIP to backend at connect()
sockops / sk_msg TCP events / socket messages socket Socket-to-socket redirect on the same host

Read the full file on GitHub · 162 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. 12d ago Changed · +1 lines 7f0aab66af25
  2. 13d ago Changed · -68 tokens per session 9dca67cb46b4
  3. 1mo ago Changed · +119 lines · +148 tokens per session 00a42e4eca5c
  4. 2mo ago First seen · 42 lines · 23 tokens per session scan A 2de72bf4e79a

Subscribe to this mod's changes

cloud-native-ebpf-networking is a skill published in the GitHub repository j4flmao/agent-skills (46 stars, last pushed 13d ago), licensed MIT. It adds 103 tokens to every session and 2,093 once invoked, about $0.0004 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-09-03.

Related

cloud-native-ebpf-networking compared with skills from other repositories

cloud-native-ebpf-networking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-native-ebpf-networkingj4flmao/agent-skillsSkill4613d agoMITA103Claude Code, Codex
implementing-runtime-security-with-tetragonxalgorix/xalgorixSkill1.5ktodayApache-2.0B38Claude Code, Codex
ak-cloud-deployyaalalabs/agent-kernelSkill195todayApache-2.0A204Claude Code, Codex
cis-aws-compute-3.1CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A32Claude Code, Codex
cis-aws-compute-3.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A27Claude Code, Codex
cis-aws-compute-3.14CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A28Claude Code, Codex
imagecontrolplane-com/ai-pluginSkill122d agoMITA53Claude Code