Packet analysis

From automateyournetwork/netclaw · View interactive version

Packet analysis is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Analyze network packet captures (.pcap/.pcapng) using Packet Buddy MCP. Use when opening a pcap file, inspecting packet captures, troubleshooting network traffic, analyzing retransmissions, or filtering packets by protocol.

How to use this skill

Skill file

Packet Analysis Skill

Installer note: native registration and the documented MCP_CALL invocation share the installed component launcher. Check readiness.json before first use; failed discovery is not device state. Existing write approvals still apply.

MCP Server

Available Tools

Discovery

Traffic Analysis

Filtering & Inspection

Protocol-Specific

File Management

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 |

Environment Variables

Important Rules

Failure Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.