HE

h0x0er/ebpf-skill

开发工具
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