kubeshark-traffic

kubeshark-traffic is a skill for Claude Code from automateyournetwork/netclaw. It costs 64 tokens per session (1,935 once invoked), scanned A, original, Apache-2.0.

A Kubernetes traffic analysis tool that captures and examines data moving between containers, including encrypted traffic when TLS can be decrypted.

In plain words
What is it for?
Use it to capture pod traffic, review network flows, map service communication, and export packet-capture files from a Kubernetes cluster.
Why use it?
It helps find service-to-service delays and inspect what is actually crossing a Kubernetes cluster. It can also save packet captures for deeper analysis.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to capture pod traffic, review network flows, map service communication, and export packet-capture files from a Kubernetes cluster.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/kubeshark-traffic
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.

Any agent
npx skills add automateyournetwork/netclaw --skill kubeshark-traffic
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

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 kubeshark-traffic

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/kubeshark-traffic/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/kubeshark-traffic)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/kubeshark-traffic"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/kubeshark-traffic/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 kubeshark-traffic

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/kubeshark-traffic"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/kubeshark-traffic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,935 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.01935
Opus 5 $0.00032 $0.00967
Sonnet 5 $0.00013 $0.00387
Haiku 4.5 $0.00006 $0.00194

Measured 9d ago against content hash ba5c5c608aa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kubeshark-traffic 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 9d 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.

workspace/skills/kubeshark-traffic/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kubeshark Kubernetes Traffic Analysis

MCP Server

Property Value
Source kubeshark/kubesharkMCP docs
Transport Remote HTTP (JSON-RPC 2.0, default port 8898)
Language Go (built into Kubeshark Hub)
Tools 6 (capture, export pcap, snapshot, filter, L4 flows, flow summary)
Auth None (cluster-internal); requires kubectl port-forward for remote access
Requires Kubernetes cluster with Kubeshark installed via Helm

How to Run

# Install Kubeshark with MCP enabled
helm install kubeshark kubeshark/kubeshark \
  --set mcp.enabled=true \
  --set mcp.port=8898

# Port-forward for local access (if not in-cluster)
kubectl port-forward svc/kubeshark-hub 8898:8898

# MCP endpoint is now available at:
# http://localhost:8898/mcp

Environment Variables

Variable Required Example Description
KUBESHARK_MCP_URL Yes http://localhost:8898/mcp Kubeshark MCP endpoint URL
KUBESHARK_MCP_PORT No 8898 MCP server port (default: 8898)

Tools

Tool Parameters What It Does
capture_traffic filter?, duration? Start targeted packet capture across cluster pods
export_pcap filter?, time_range? Export captured traffic as pcap for Wireshark/tshark analysis
create_snapshot filter? Create point-in-time traffic snapshot within retention window
apply_filter kfl_expression Apply Kubeshark Filter Language (KFL) expressions to narrow results
list_l4_flows filter? List TCP/UDP flows with connection stats, RTT metrics, byte counts
get_l4_flow_summary filter? High-level summary: top talkers, protocol distribution, traffic volume

Resources Exposed

  • Real-time L7 API streams (HTTP, gRPC, GraphQL, Redis, Kafka, DNS) with full request/response payloads
  • Historical traffic queries within the configured retention window
  • Decrypted TLS/HTTPS traffic via eBPF (no manual key management)
  • TCP/UDP connection flows with timing, RTT, and byte statistics
  • Kubernetes pod identity and service mapping (source → destination with namespace/labels)

Read the full file on GitHub · 173 lines

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. 9d ago First seen · 173 lines · 64 tokens per session scan A ba5c5c608aa2

Subscribe to this mod's changes

kubeshark-traffic is a skill published in the GitHub repository automateyournetwork/netclaw (657 stars, last pushed 6d ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,935 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-workload-troubleshooting

Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.

google/skills · 69 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

gke-ai-troubleshooting-handle-disruption-gpu-tpu

Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE. Use when diagnosing node disruptions, predicting host maintenance events on GPU/TPU nodepools, inspecting node interruption PromQL metrics, auditing…

google/skills · 117 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens