home/categories/framework-internals/cassamajor-xcnf-claude-skills-ebpf-attach-hook-skill-md
framework-internalsdevelopment

ebpf-attach-hook

Implement eBPF program attachment logic for various hooks (XDP, TC/tcx, netkit, kprobe, tracepoint, cgroup) with proper error handling, cleanup, and link management. Includes Go code using cilium/ebpf library. Use when attaching CNF programs to kernel hooks.

cassamajor
maintainer
cassamajor
Updated 11/24/2025
Stars
1
Forks
0
quick start

Installation and usage

Implement eBPF program attachment logic for various hooks (XDP, TC/tcx, netkit, kprobe, tracepoint, cgroup) with proper error handling, cleanup, and link management. Includes Go code using cilium/ebpf library. Use when attaching CNF programs to kernel hooks.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use ebpf-attach-hook