HE

h0x0er/ebpf-skill

Developer tools
44 stars 품질 40 트렌드 40

An eBPF skill for coding agents

개요

An eBPF reference skill for coding agents. - SKILL.md: routing and decision layer - program-types/: where to attach - map-types/: how to model state and output - workflows/: development, debugging, verifier, and testing guidance Contributions are welcome, and if this skill helps you, consider giving the repo a star. Point your agent at SKILL.md as the entry skill file. It routes into the repo’s program-types/, map-types/, and workflows/ references on demand, so the agent does not need to load everything upfront. Pass SKILL.md as the skill or system context and keep the full repository available, since the skill opens sibling reference files on demand. - Program type selection: "what hook should I use to trace outgoing TCP connections?" - Map design: "I need per-cgroup packet counters, what map type fits?" - Build and loader setup: "set up an ebpf-go project with bpf2go" - Verifier failures: "my BPF program fails with invalid mem access, here's the log"

README

eBPF Skill

An eBPF reference skill for coding agents.

  • SKILL.md: routing and decision layer
  • program-types/: where to attach
  • map-types/: how to model state and output
  • workflows/: development, debugging, verifier, and testing guidance

Contributions are welcome, and if this skill helps you, consider giving the repo a star.

Usage

Point your agent at SKILL.md as the entry skill file. It routes into the repo’s program-types/, map-types/, and workflows/ references on demand, so the agent does not need to load everything upfront.

With Claude Code:

# From within this repo
claude "use the skill ./SKILL.md and write an XDP packet counter using ebpf-go"

# From any directory, using an absolute or relative path
claude "use the skill ~/ebpf-skill/SKILL.md and help me debug a verifier failure"

With any agent that supports skill/context injection:

Pass SKILL.md as the skill or system context and keep the full repository available, since the skill opens sibling reference files on demand.

What to ask:

  • Program type selection: “what hook should I use to trace outgoing TCP connections?”
  • Map design: “I need per-cgroup packet counters, what map type fits?”
  • Build and loader setup: “set up an ebpf-go project with bpf2go”
  • Verifier failures: “my BPF program fails with invalid mem access, here’s the log”
View this README on GitHub

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add h0x0er/ebpf-skill