PC

pcap-triage-tshark

Fast extraction of protocol data from PCAP files using tshark.

Install

mkdir -p .claude/skills/pcap-triage-tshark && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3688" && unzip -o skill.zip -d .claude/skills/pcap-triage-tshark && rm skill.zip

Installs to .claude/skills/pcap-triage-tshark

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Fast workflow to inspect PCAPs and extract protocol-level details using tshark
78 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Filter PCAP traffic by protocol
  • Extract specific HTTP fields
  • Follow TCP streams
  • Export raw payload bytes

How it works

The skill utilizes tshark command-line flags to filter, parse, and extract specific network protocol fields or raw bytes from packet capture files.

Inputs & outputs

You give it
PCAP file path
You get back
Filtered protocol details or TCP stream content

When to use pcap-triage-tshark

  • Extracting protocol details from network traffic
  • Analyzing suspicious PCAP files for security
  • Debugging network communications

About this skill

PCAP Triage with tshark

This skill shows a fast workflow to inspect PCAPs and extract protocol-level details.

Quick filters

List HTTP traffic:

tshark -r file.pcap -Y http

Filter by method or host:

tshark -r file.pcap -Y 'http.request.method == "POST"'

Inspect requests

Print useful HTTP fields:

tshark -r file.pcap -Y http.request \
  -T fields -e frame.time -e ip.src -e tcp.srcport -e http.request.method -e http.request.uri

Follow a TCP stream

To view a request/response conversation:

tshark -r file.pcap -z follow,tcp,ascii,0

Change the stream index (0) if there are multiple streams.

Export payload bytes

If you need to examine raw bytes for tricky parsing, use -x:

tshark -r file.pcap -Y http -x

Practical tips

  • Start broad (-Y http), then narrow to one flow/stream.
  • Confirm where strings live (headers vs body vs URL query).
  • Keep notes about invariant parts vs variable parts.

Helper script

If you want a quick summary across a PCAP (method, uri, and whether the exfil header appears), use:

bash scripts/summarize_http_requests.sh /root/pcaps/train_pos.pcap

When not to use it

  • Analyzing non-network capture files
  • Complex protocol decryption requiring external keys

Prerequisites

tshark installedPCAP file access

Limitations

  • Requires manual stream index identification for TCP following

How it compares

It provides a pre-configured workflow for common triage tasks instead of requiring manual construction of complex tshark filter strings.

Compared to similar skills

pcap-triage-tshark side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pcap-triage-tshark (this skill)16moReviewIntermediate
reverse-engineering-tools733moNo flagsAdvanced
game-hacking-techniques422moNo flagsAdvanced
solidity-security152moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

reverse-engineering-tools

gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

73204

game-hacking-techniques

gmh5225

Guide for game hacking techniques and cheat development. Use this skill when researching memory manipulation, code injection, ESP/aimbot development, overlay rendering, or game exploitation methodologies.

42128

solidity-security

wshobson

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

15115

1password

openclaw

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

2799

senior-security

davila7

Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture, conducting penetration tests, implementing cryptography, or performing security audits.

3191

ghidra

mitsuhiko

Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.

16105

Search skills

Search the agent skills registry