About network-diagnostics
network-diagnostics is a skill for troubleshooting Linux and WSL network issues. It covers checks from MTU and DNS to routing, firewalls, and service status, along with persistent fix scripts and rollback mechanisms.
Key features
- 01Check MTU and DNS resolution
- 02Test connectivity and ports
- 03Inspect firewalls and routes
- 04Verify services and listening ports
- 05Create persistent fix scripts with rollback
Use cases
- 01Troubleshoot MTU issues in WSL
- 02Diagnose DNS or connectivity failures
- 03Inspect port, routing, and firewall settings
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jackspace/ claudeskillz --skill network-diagnosticsAfter installing, type/network-diagnosticsin Claude Code to confirm it loaded.
Bundled filesSKILL.json
Details
From the project READMENetwork-diagnostics
Instructions
For network troubleshooting:
- MTU Issues (common in WSL)
- Check current MTU: ip link show
- Test different MTU: sudo ip link set dev eth0 mtu 1350
- Common WSL MTU: 1300-1400
- DNS Resolution
- Check /etc/resolv.conf
- Test with: dig google.com, nslookup google.com
- Try different DNS: 8.8.8.8, 1.1.1.1
- Connectivity Tests
- Ping gateway: ip route | grep default
- Traceroute to destination
- Test ports: nc -zv host port, telnet host port
- Firewall/Routing
- Check iptables: sudo iptables -L
- Review routes: ip route show
- WSL: Check Windows Firewall
- Service Status
- Verify service is running
- Check listening ports: ss -tlnp, netstat -tlnp
- Generate scripts to persist fixes
- Include checks for WSL vs native Linux
- Add rollback mechanisms
Examples
Add examples of how to use this skill here.
Notes
- This skill was auto-generated
- Edit this file to customize behavior
Comments
Markdown supported