packet-analysis

packet-analysis is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 46 tokens per session (882 once invoked), scanned A, original, Apache-2.0.

A tool for analyzing PCAP files, which are recorded network-packet captures, using Packet Buddy. It summarizes traffic, decodes packets, filters protocols, and extracts DNS and HTTP activity.

In plain words
What is it for?
Use it to list and summarize captures, inspect conversations and endpoints, apply Wireshark filters, decode packets, export packet data, and extract DNS queries or HTTP requests.
Why use it?
It helps investigate network behavior from a saved capture without manually reading every packet. It highlights conversations, top endpoints, retransmissions, errors, and other anomalies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list and summarize captures, inspect conversations and endpoints, apply Wireshark filters, decode packets, export packet data, and extract DNS queries or HTTP requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/packet-analysis
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 packet-analysis
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code, Codex.

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 packet-analysis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/packet-analysis"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/packet-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 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.00046 $0.00882
Opus 5 $0.00023 $0.00441
Sonnet 5 $0.00009 $0.00176
Haiku 4.5 $0.00005 $0.00088

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

Security

Grade A, and why

packet-analysis 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/packet-analysis/SKILL.md · 84 lines

How it starts

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

Packet Analysis Skill

MCP Server

  • Script: $PACKET_BUDDY_MCP_SCRIPT
  • Invocation: python3 $MCP_CALL "python3 -u $PACKET_BUDDY_MCP_SCRIPT" <tool_name> '<json_args>'

Available Tools

Discovery

  • list_pcaps — List all pcap files available for analysis
  • pcap_summary — High-level stats: packet count, duration, capture size

Traffic Analysis

  • pcap_protocol_hierarchy — Protocol breakdown (what % is TCP, UDP, DNS, etc.)
  • pcap_conversations — Who talked to whom (IP, TCP, UDP, or Ethernet layer)
  • pcap_endpoints — Top talkers by traffic volume

Filtering & Inspection

  • pcap_filter — Apply Wireshark display filters (e.g. tcp.port==80, icmp, bgp)
  • pcap_packet_detail — Full decode of a specific packet by number
  • pcap_to_json — Export packets as JSON for detailed analysis
  • pcap_expert_info — Warnings, errors, retransmissions, anomalies

Protocol-Specific

  • pcap_dns_queries — Extract all DNS queries and responses
  • pcap_http_requests — Extract HTTP methods, URIs, and hosts

File Management

  • save_pcap_from_base64 — Save a base64-encoded pcap (e.g. from Slack file upload)

Workflow: Slack pcap Upload

When a user uploads a .pcap or .pcapng file in Slack:

  1. The file arrives as a Slack file attachment
  2. Download the file content and save it using save_pcap_from_base64
  3. Run pcap_summary to give an overview
  4. Ask the user what they want to investigate
  5. Use appropriate tools to drill down

Workflow: Troubleshooting

When investigating a network issue with a pcap:

  1. Start with pcap_summary for the big picture
  2. Check pcap_protocol_hierarchy — any unexpected protocols?
  3. Look at pcap_conversations — who's talking to whom?
  4. Use pcap_expert_info for retransmissions, resets, errors
  5. Apply pcap_filter to focus on specific traffic
  6. Use pcap_packet_detail for deep inspection of suspect packets

Common Display Filters

Filter Purpose
tcp.analysis.retransmission TCP retransmissions
tcp.flags.reset==1 TCP RST packets
dns All DNS traffic
icmp Ping and ICMP errors
bgp BGP routing protocol
ospf OSPF routing protocol
tcp.port==22 SSH traffic
http HTTP requests/responses
tls.handshake TLS handshakes
arp ARP requests/replies
stp Spanning Tree Protocol
ip.addr==10.0.0.1 Traffic to/from specific host

Read the full file on GitHub · 84 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 · 84 lines · 46 tokens per session scan A 21b0015272a8

Subscribe to this mod's changes

packet-analysis is a skill published in the GitHub repository automateyournetwork/netclaw (657 stars, last pushed 6d ago), licensed Apache-2.0. It adds 46 tokens to every session and 882 once invoked, about $0.0002 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

analyzing-network-traffic-with-wireshark

Captures and analyzes network packet data using Wireshark and tshark to identify malicious traffic patterns, diagnose protocol issues, extract artifacts, and support incident response investigations on authorized network segments.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

wireshark-traffic-analysis

Investigate pcap/pcapng captures with Wireshark MCP to answer traffic, security, and network troubleshooting questions. Select bounded queries, verify packet evidence, and report what the capture can and cannot establish. Use the CLI skill when the user chooses direct tshark execution.

bx33661/Wireshark-MCP · 63 tokens

tshark-cli-analysis

Analyze pcap/pcapng files directly with tshark in a terminal when the user chooses CLI execution or MCP is unavailable. Build reproducible queries, preserve scan and field semantics, and keep raw output out of Agent context.

bx33661/Wireshark-MCP · 52 tokens

analyzing-network-traffic-with-wireshark

A guide for using Wireshark and tshark to capture and inspect network packets. Packets are the small pieces of data sent across a network; the guide focuses on authorized troubleshooting and security investigations.

killvxk/cybersecurity-skills-zh · 58 tokens

analyzing-network-traffic-with-wireshark

Captures and analyzes network packet data using Wireshark and tshark to identify malicious traffic patterns, diagnose protocol issues, extract artifacts, and support incident response investigations on authorized network segments.

26zl/cybersec-toolkit · 49 tokens

analyzing-network-traffic-of-malware

Analyzes network traffic generated by malware during sandbox execution or live incident response to identify C2 protocols, data exfiltration channels, payload downloads, and lateral movement patterns using Wireshark, Zeek, and Suricata. Activates for requests involving malware network analysis, C2 traffic decoding…

autohandai/community-skills · 81 tokens