# Linux Packet Drop X Ray (5 Layer SRE Triage)

> Turn raw Linux network telemetry (ethtool -S, /proc/net/softnet_stat, tc -s qdisc, ss -tin, nstat, bpftrace) into a deterministic root-cause triage and copy-paste sysctl/ethtool remediation plan.

Linux Packet Drop X Ray (5 Layer SRE Triage) is a free AI agent skill on Agensi by Alexey Zhuykov, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Alexey Zhuykov](https://www.agensi.io/creators/alexey-zhuykov)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/linux-packet-drop-x-ray-5-layer-sre-triage
- Tags: linux, networking, sre, devops, ebpf, performance

## About this skill

Pinpoint exactly where Linux silently drops packets in under 5 minutes when `ping` shows 0% loss and CPU looks idle, yet microservices hit timeouts or p99 latency spikes. What this skill gives your AI agent:
- Deterministic 5-layer triage methodology: L1 NIC rings (`ethtool -S`), L2 SoftIRQ (`/proc/net/softnet_stat`), L3 Kernel Qdisc (`tc -s qdisc`), L4 TCP sockets (`ss -tin`, `nstat -az`), and L5 eBPF `kfree_skb` drop reasons.
- Standalone zero-dependency Python 3.11+ offline analyzer (`scripts/triage_5layer_snapshot.py`) with JSON output.
- Production-safe bounded `bpftrace` probe (`templates/kfree_skb_reasons.bt`) and reversible `ethtool`/`sysctl`/`fq_codel` fixes. Official open-source MIT repository: Author & Linux SRE consulting:

## Requires

- Python

## Known limitations

Requires Linux environment. L5 eBPF analysis requires kernel 5.17+. Telemetry must be captured in two snapshots 30-60s apart to identify active drops vs cumulative boot counters.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Linux Packet Drop X Ray (5 Layer SRE Triage) skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How is this different from standard network monitoring tools like Prometheus or Datadog?

This skill focuses on "silent" drops that standard monitors miss, such as NIC ring buffer overflows (L1) or SoftIRQ CPU pinning (L2), rather than simple connectivity or routing issues.

### What specific assets are included in the skill package?

The purchase includes the core 5-layer analyzer script, pre-configured telemetry collection commands, a remediation library, and structured templates for SRE incident reporting.

### Which AI agents or frameworks can I use to run this skill?

This skill is compatible with any AI agent capable of executing Python 3.11+ scripts and processing text-based telemetry files, including OpenAI Assistants and local ReAct-based agents.

### Are there specific Linux kernel version requirements for the analysis to work?

Basic L1-L4 analysis works on any modern Linux kernel (3.10+); however, L5 advanced kernel-drop reason decoding requires eBPF support available in kernel 5.17 or newer.

### Does this skill require installing agents or intrusive software on my production servers?

No, the collection scripts are designed to be "read-only" and zero-dependency, ensuring they can be run on production nodes without installing new packages or disrupting traffic.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
