network-rca
Skill by kubeshark
Investigates past Kubernetes network incidents using traffic snapshots and the Kubeshark MCP. Built for engineers running postmortems, root cause analysis and retrospective traffic comparisons.
Install network-rca
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kubeshark/kubeshark /tmp/kubeshark && mkdir -p ~/.claude/skills && cp -r /tmp/kubeshark/skills/network-rca ~/.claude/skills/network-rcaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kubeshark/kubeshark /tmp/kubeshark && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kubeshark/skills/network-rca ~/.gemini/antigravity-cli/skills/network-rcaAntigravity 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
The network-rca skill helps an AI assistant investigate past incidents in a Kubernetes cluster through the Kubeshark MCP. It works with traffic snapshots, which are immutable captures of cluster network activity over a set time window. The skill covers checking data boundaries, creating and listing snapshots, managing cloud storage for snapshots, and extracting filtered PCAP files.
The skill describes two investigation routes. The PCAP route exports raw packets for Wireshark or compliance use. The Dissection route lets an AI agent query indexed API calls with KFL filters, and it is the default for questions about workloads, APIs, latency or error rates. It is aimed at engineers doing postmortems, retrospective traffic analysis, or comparisons of traffic between snapshots in Kubernetes.
Written from the project's SKILL.md and checked against it.
What it can do
- check_kubeshark_statusConfirms the Kubeshark MCP is reachable and its tools are available.
- get_data_boundariesShows the raw capture time window available across the cluster and per node.
- get_l7_data_boundariesShows the dissected API call window and whether dissection is enabled.
- create_snapshotCreates a snapshot of cluster traffic for a chosen node set and time window.
- list_snapshotsLists existing snapshots on the local Hub with name, size, status and node count.
- export_snapshot_pcapExports a filtered cluster-wide PCAP using nodes, time range and BPF filters.
- list_workloadsResolves workload names to IP addresses, using snapshot metadata when needed.
- upload_snapshot_to_cloudUploads a snapshot to cloud storage such as S3, GCS or Azure Blob.
- download_snapshot_from_cloudDownloads a snapshot from cloud storage to another Kubeshark cluster.
What you need
- Kubeshark MCP connected to the assistant
- A Kubernetes cluster with Kubeshark
- Raw capture enabled with eBPF
- Persistent snapshot storage (recommended for forensic work)
- Cloud storage for long-term snapshot retention (optional)
Try asking
- Check what raw capture data is available in the cluster for the last 2 hours
- Create a snapshot for yesterday's 3pm incident window on the prod namespace
- Export a PCAP for the payment-service workloads from snapshot abc123
Good to know
- Raw capture is a FIFO buffer, so data outside the buffer window is rotated out
- Dissection only captures traffic after it is enabled and does not backfill history
- Snapshots on the Hub are ephemeral by default
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/network-rca/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md22 KB -
references/setup.md1 KB
Alternatives to network-rca
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
network-rca: common questions
Can this skill query API calls from before dissection was enabled?
No. The source says raw capture is not retroactively dissected, so L7 entries only start once dissection is enabled.
What is the difference between the PCAP and Dissection routes?
The PCAP route produces raw packet files for Wireshark or compliance. The Dissection route produces structured, queryable results for AI-driven or API-level analysis.
Where are snapshots stored?
Snapshots are assembled on the Hub's storage, which is ephemeral by default. Cloud storage such as S3, GCS or Azure Blob can be used for long-term retention.
How do I install network-rca?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is network-rca free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is network-rca safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to network-rca?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
