ebpf-observability
Skill by sickn33
Explains how to use eBPF for kernel-level observability on Linux, covering Cilium Hubble flows, Tetragon security policies, and bpftrace tracing. It is written for platform, DevOps, and security engineers working with cloud-native infrastructure.
Install ebpf-observability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/ebpf-observability ~/.claude/skills/ebpf-observabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/ebpf-observability ~/.gemini/antigravity-cli/skills/ebpf-observabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This docs-only skill explains how to use eBPF for kernel-level observability on Linux. It covers checking kernel version and BTF support, installing bpftrace and bcc tools, and deploying Cilium with Hubble for network flow visibility. It also includes Tetragon TracingPolicy examples for process execution, sensitive file access, and privilege escalation, along with bpftrace one-liners for syscall latency, DNS queries, TCP retransmits, and disk I/O.
The skill is aimed at engineers who need deep performance debugging and monitoring at the kernel boundary without sidecars or application changes. The source states that it requires the relevant platform CLIs and authorized access to the target environment. Helper scripts and templates are not bundled, and the bpftrace examples should be validated on a test host before use.
Written from the project's SKILL.md and checked against it.
What it can do
- Hubble flow observationObserves and filters network flows by namespace, verdict, DNS, HTTP, or label.
- Hubble UI accessPort-forwards the Hubble UI to view a real-time service dependency map.
- Process execution monitoringUses tetra getevents to watch process executions across the cluster.
- Sensitive file access trackingUses a TracingPolicy to observe access to paths such as /etc/shadow and /root/.ssh.
- Egress connection observationUses a tcp_connect policy to observe connections, including the IMDS address 169.254.169.254.
- Privilege escalation detectionUses setuid and setns syscall policies to post events for possible escalation.
- Syscall latency tracingBuilds bpftrace histograms of read() latency and top syscalls by total time.
- DNS query tracingTraces UDP port 53 sends and counts DNS queries by source process.
- TCP retransmit tracingPrints source and destination details for TCP retransmits with bpftrace.
- Disk I/O latency tracingCreates block I/O latency histograms by device and lists top processes by I/O bytes.
What you need
- Linux kernel 4.19 or newer for Cilium and Tetragon, 5.10 or newer recommended
- BTF enabled at /sys/kernel/btf/vmlinux
- kubectl and helm
- bpftrace and bcc tools
- Root or sudo access on the host
- Authorized access to the target environment
Try asking
- Show dropped flows in the production namespace using Hubble.
- Set up a Tetragon policy that watches access to /root/.ssh.
- Trace DNS queries by process on this Linux host with bpftrace.
Good to know
- Docs-only: helper scripts and templates are not bundled.
- The bpftrace one-liners are sketches; validate them on a test host and set scope and overhead limits first.
- The IMDS egress policy is observe only; enforcement needs separate reviewed scope.
- Requires authorized access to the target environment.
Security check
C- Asks for administrator rights (sudo)In
skills/ebpf-observability/SKILL.md:sudo
Checked automatically: skills/ebpf-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/details.md15 KB
Alternatives to ebpf-observability
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
ebpf-observability: common questions
What kernel version does eBPF observability need?
The source lists 4.19 as the minimum for Cilium and Tetragon, with 5.10 or newer recommended. It recommends 5.13 or newer for Tetragon.
Does it require changes to application code?
The source says Tetragon observes and enforces policies with zero application changes. It also says eBPF runs without modifying kernel source or loading kernel modules.
Are install scripts included?
No. The source says helper scripts and templates are not bundled, and CLI tools should be installed from verified official releases.
How do I install ebpf-observability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ebpf-observability free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ebpf-observability safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to ebpf-observability?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
