Loading...
Loading...
Embedded network debugging tool used for interface discovery, packet capture, pcap/pcapng analysis, connectivity testing, port scanning, and traffic statistics. It is automatically triggered when users mention network protocol debugging terms such as Wireshark, tshark, Npcap, packet capture, network joint debugging, port scanning, connectivity troubleshooting, pcap analysis, network interface, ping test, traceroute, traffic statistics, Modbus TCP, EtherNet/IP, etc. It also supports explicit invocation via /net. Even if users only say "capture a packet", "scan ports", "check network connectivity" or "analyze this pcap", this skill should be triggered as long as the context involves network communication debugging.
npx skill4agent add zhinkgit/embeddedskills net<skill-dir>/scripts/<skill-dir>/config.json<workspace>/.embeddedskills/config.json<skill-dir>/references/common_protocols.jsontsharkdumpcapcapinfosipconfigpingtracertnetstatarpnslookupskill/config.json{
"tshark_exe": "tshark",
"capinfos_exe": "capinfos"
}.embeddedskills/config.json.embeddedskills/config.json{
"net": {
"interface": "",
"target": "",
"capture_filter": "",
"display_filter": "",
"duration": 30,
"timeout_ms": 1000,
"scan_ports": "",
"capture_format": "pcapng",
"log_dir": ".embeddedskills/logs/net"
}
}--interface--targetnet.embeddedskills/config.json.embeddedskills/state.jsontsharkifacepython <skill-dir>/scripts/net_iface.py [--filter <keyword>] [--tshark] [--json]--tshark--filterpython <skill-dir>/scripts/net_capture.py [--interface <interface>] [--duration <seconds>] [--capture-filter <filter>] [--display-filter <filter>] [--output <file path>] [--format <pcapng|pcap>] [--decode-as <rule>] [--json]--interface--duration--capture-filter--display-filter--output--json--decode-aspython <skill-dir>/scripts/net_analyze.py <pcap_file> [--mode <summary|protocols|conversations|endpoints|io|anomalies|all>] [--filter <display filter>] [--top <number>] [--decode-as <rule>] [--export-fields <field list>] [--output <CSV path>] [--json]--mode allpython <skill-dir>/scripts/net_ping.py [--target <target>] [--tcp <port>] [--count <times>] [--traceroute] [--concurrent <thread count>] [--timeout <milliseconds>] [--json]--target--tcp--traceroute--timeoutpython <skill-dir>/scripts/net_scan.py [--target <target>] [--ports <port range>] [--timeout <milliseconds>] [--banner] [--concurrent <thread count>] [--json]--target--ports--bannerpython <skill-dir>/scripts/net_stats.py [--interface <interface>] [--duration <seconds>] [--display-filter <filter>] [--interval <seconds>] [--mode <overview|protocol|endpoint|port>] [--json]--interface--duration--display-filter{
"status": "ok",
"action": "<subcommand name>",
"summary": "<brief description>",
"details": { ... }
}{
"status": "error",
"action": "<subcommand name>",
"error": {
"code": "<error code>",
"message": "<error description>"
}
}capture --json.embeddedskills/config.jsonreferences/common_protocols.json