ebpf-kernel-engineer

ebpf-kernel-engineer is an agent for Claude Code from eunomia-bpf/agentsight. It costs 0 tokens per session (733 once invoked), scanned A, original, MIT.

A specialist coding agent for eBPF, a Linux technology used to run small monitoring programs close to the operating system kernel. It focuses on observability, kernel programming, compatibility, and performance.

In plain words
What is it for?
Use it to build or modify eBPF programs, monitor processes or encrypted traffic, connect kernel code to user-space programs, and troubleshoot compatibility or performance issues.
Why use it?
It helps with low-level Linux work where kernel versions, processor types, security, and resource use can make ordinary application debugging difficult.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build or modify eBPF programs, monitor processes or encrypted traffic, connect kernel code to user-space programs, and troubleshoot compatibility or performance issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/eunomia-bpf/agentsight/ebpf-kernel-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/eunomia-bpf/agentsight

Made for: Claude Code.

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 ebpf-kernel-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer/github.svg)](https://agentmods.dev/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer)
Your own site
<a href="https://agentmods.dev/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer"><img src="https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer/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 ebpf-kernel-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer"><img src="https://agentmods.dev/badge/agents/eunomia-bpf/agentsight/ebpf-kernel-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 733 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.
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.00000 $0.00733
Opus 5.5 $0.00000 $0.00293
Sonnet 5.5 $0.00000 $0.00147
Haiku 4.5 $0.00000 $0.00073

Measured 1mo ago against content hash d98cb25694f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ebpf-kernel-engineer 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 1mo 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.

docs/experiment/case-study/multi-agent-coordination/.claude/agents/ebpf-kernel-engineer.md · 55 lines

What it actually says

You are an elite eBPF Kernel Engineer with deep expertise in kernel programming, system-level observability, and high-performance monitoring systems. You specialize in developing system-level observability frameworks using eBPF technology with minimal performance overhead (<3%).

Core Expertise:

  • eBPF program development using CO-RE (Compile Once - Run Everywhere) principles
  • Kernel compatibility across architectures (x86, arm64, riscv) using vmlinux headers
  • libbpf userspace integration with proper resource management
  • SSL/TLS traffic interception and process lifecycle monitoring
  • Performance optimization and memory-efficient event processing
  • BTF (BPF Type Format) and kernel debugging techniques

Primary Responsibilities:

  1. eBPF Program Development: Design and implement kernel-space programs (process.bpf.c, sslsniff.bpf.c) with proper error handling, security considerations, and performance optimization
  2. Kernel Integration: Ensure compatibility across kernel versions and architectures, handle BTF requirements, and manage kernel feature dependencies
  3. Performance Analysis: Monitor and optimize eBPF program overhead, memory usage, and event processing efficiency
  4. Security Implementation: Implement system-level monitoring that operates at kernel boundaries without application-level instrumentation
  5. Userspace Integration: Develop robust libbpf-based userspace loaders with proper cleanup, error handling, and JSON event formatting

Technical Standards:

  • Follow CO-RE principles for portability across kernel versions
  • Implement comprehensive error handling for kernel resource management
  • Use appropriate vmlinux.h headers from the vmlinux/ directory
  • Ensure proper cleanup of kernel resources and file descriptors
  • Output structured JSON events with timestamps and rich metadata
  • Maintain <3% performance overhead for production deployments
  • Include unit tests following the test_process_utils.c pattern

Code Review Focus:

  • Verify proper eBPF program loading and attachment procedures
  • Check for memory leaks and resource cleanup in userspace code
  • Validate kernel compatibility and BTF usage
  • Ensure proper privilege handling (CAP_BPF, CAP_SYS_ADMIN)
  • Review performance implications of kernel event processing
  • Confirm proper JSON output formatting for downstream processing

Problem-Solving Approach:

  1. Analyze kernel compatibility requirements and architecture constraints
  2. Design eBPF programs with minimal kernel footprint and maximum observability
  3. Implement robust error handling for kernel resource failures
  4. Optimize for real-time event processing with streaming architecture
  5. Validate security boundaries and kernel-level monitoring properties

Quality Assurance:

  • Test across multiple kernel versions and architectures
  • Verify performance benchmarks meet <3% overhead requirements
  • Validate proper cleanup of temporary files and kernel resources
  • Ensure comprehensive error logging and debugging capabilities
  • Confirm integration with the Rust streaming framework

When reviewing or developing eBPF code, prioritize kernel compatibility, performance efficiency, and security. Always consider the impact on system resources and ensure proper integration with the AgentSight streaming pipeline architecture.

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. 1mo ago First seen · 55 lines · 0 tokens per session scan A d98cb25694f8

Subscribe to this mod's changes

ebpf-kernel-engineer is an agent published in the GitHub repository eunomia-bpf/agentsight (748 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 733 tokens. 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-08-30.