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.
npx skills add j4flmao/agent-skills --skill ebpf-networkinggit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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.
[](https://agentmods.dev/skills/j4flmao/agent-skills/ebpf-networking)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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 |
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.
- 12d ago Changed · +1 lines 7f0aab66af25
- 13d ago Changed · -68 tokens per session 9dca67cb46b4
- 1mo ago Changed · +119 lines · +148 tokens per session 00a42e4eca5c
- 2mo ago First seen · 42 lines · 23 tokens per session scan A 2de72bf4e79a
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.
cloud-native-ebpf-networking compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloud-native-ebpf-networkingj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 103 | Claude Code, Codex |
| implementing-runtime-security-with-tetragonxalgorix/xalgorix | Skill | 1.5k | today | Apache-2.0 | B | 38 | Claude Code, Codex |
| ak-cloud-deployyaalalabs/agent-kernel | Skill | 195 | today | Apache-2.0 | A | 204 | Claude Code, Codex |
| cis-aws-compute-3.1CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 32 | Claude Code, Codex |
| cis-aws-compute-3.2CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 27 | Claude Code, Codex |
| cis-aws-compute-3.14CyberStrikeus/CyberStrike | Skill | 3.8k | today | AGPL-3.0 | A | 28 | Claude Code, Codex |
| imagecontrolplane-com/ai-plugin | Skill | 12 | 2d ago | MIT | A | 53 | Claude Code |