This is a full-featured network debugging toolkit that wraps tshark, dumpcap, and native OS network utilities into a unified interface for embedded systems work. You get packet capture with BPF and display filters, offline pcap analysis, ping and traceroute tests, port scanning with banner grabbing, and live traffic statistics. It reads config from both skill-level and workspace-level JSON files with a sensible priority chain (CLI args beat workspace config beats state file beats defaults). The prompts trigger on mentions of Wireshark, tshark, Modbus TCP, EtherNet/IP, or phrases like "capture some packets" or "scan the ports". All scripts output structured JSON, and it handles the usual gotchas like missing Npcap drivers or permission errors with specific guidance. Solid choice if you're debugging embedded network stacks and want consistent tooling without switching between a dozen command line utilities.

skills.sh installs
664
GitHub stars
791
last updated
Aug 21, 2026

Install

$ npx -y skills add zhinkgit/embeddedskills --skill net --agent claude-code

Installs into .claude/skills of the current project.

Files

Net Debug Skill

嵌入式网络通信调试工具,统一封装接口发现、抓包、离线分析、连通性测试、端口扫描和流量统计能力。

脚本与配置路径

  • 脚本目录: <skill-dir>/scripts/
  • 环境级配置: <skill-dir>/config.json(仅工具路径)
  • 工程级配置: <workspace>/.embeddedskills/config.json(网络参数)
  • 协议参考: <skill-dir>/references/common_protocols.json

依赖

  • tshark (随 Wireshark 安装,需加入 PATH)
  • dumpcap (随 Wireshark 安装)
  • 可选: capinfos
  • Windows 自带: ipconfig、ping、tracert、netstat、arp、nslookup
  • Linux 接口枚举 / ICMP ping / 路由追踪分别需要 iproute2(ip)、iputils-ping(ping)、traceroute;这三项功能仅支持 Windows / Linux
  • Python 3.x (仅标准库)
  • 抓包需要 Npcap 驱动,部分环境需管理员权限

配置

环境级配置 (skill/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"
  }
}

参数解析优先级

Sponsors

Details

Repository
github.com/zhinkgit/embeddedskills
First seen
Jun 3, 2026

More from zhinkgit/embeddedskills

All 9

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs