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-threat-detectiongit 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-threat-detection)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/ebpf-threat-detection"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/ebpf-threat-detection/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-threat-detection"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/ebpf-threat-detection.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.00025 | $0.01423 |
| Opus 5.5 | $0.00010 | $0.00569 |
| Sonnet 5.5 | $0.00005 | $0.00285 |
| Haiku 4.5 | $0.00003 | $0.00142 |
Grade A, and why
ebpf-threat-detection 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
eBPF-Based Threat Detection and Kernel Instrumentation
Purpose
Explain how eBPF enables low-overhead, high-fidelity runtime threat detection on Linux: the load/verify/JIT lifecycle, syscall interception via kprobes/tracepoints/LSM-BPF, and tools (Falco, Tetragon). Guides defenders building kernel-level detection and enforcement.
Agent Protocol
Trigger
User phrases: "eBPF threat detection", "Falco rules", "Tetragon", "syscall interception", "LSM BPF enforcement", "kprobe vs tracepoint".
Input Context
- Kernel version and distro (affects BTF/CO-RE and available hooks).
- Detection vs active blocking requirement.
Output Artifact
Detection design, hook selection rationale, and Falco/Tetragon rule concepts.
Response Format
Hook: {kprobe|tracepoint|LSM-BPF}
Event: {syscall/behavior}
Action: {audit | alert | block}
Tool: {Falco | Tetragon | libbpf}
Extended Berkeley Packet Filter (eBPF) revolutionized Linux observability and security by allowing sandboxed programs to run within the kernel space without requiring kernel module compilation or system reboots. This is critical for low-overhead, high-fidelity threat detection.
eBPF Architecture
eBPF programs are event-driven. They attach to specific kernel hooks (kprobes, tracepoints, network events). When the hook is triggered, the eBPF program executes.
- Compilation: eBPF programs (typically written in restricted C) are compiled into eBPF bytecode using LLVM/Clang.
- Loading: A user-space application (via the
bpf()syscall) loads the bytecode into the kernel. - Verification: The kernel's eBPF verifier analyzes the bytecode to ensure it's safe (no infinite loops, memory bounds checking, restricted helper functions).
- JIT Compilation: The bytecode is Just-In-Time (JIT) compiled into native machine code for performance.
- Execution & Data Export: The program runs contextually. It shares data with user-space via eBPF Maps (hash tables, arrays, ring buffers).
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.
- 1mo ago Changed · +23 lines 997ff88fe806
- 3mo ago First seen · 69 lines · 25 tokens per session scan A ba6b8703c32f
ebpf-threat-detection is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 25 tokens to every session and 1,423 once invoked, about $0.0001 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.
ebpf-threat-detection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ebpf-threat-detectionj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 25 | Claude Code, Codex |
| hr-onboardingnexu-io/open-design | Skill | 111k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| deeptutor-cliHKUDS/DeepTutor | Skill | 65k | yesterday | Apache-2.0 | A | 42 | Claude Code |
| book-mirrorgarrytan/gbrain | Skill | 34k | today | MIT | A | 139 | Claude Code |
| lean-formalizewanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | 2d ago | MIT | A | 81 | Claude Code |
| deck-course-modulenexu-io/html-anything | Skill | 17k | 5d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| eli5companion-inc/feynman | Skill | 10k | 6d ago | MIT | A | 63 | Claude Code, Codex |