Network Diagnostics
Diagnose network connectivity issues by checking if hosts are reachable, resolving DNS, inspecting network interfaces, and measuring response times.
What it does
Diagnose network connectivity issues by checking if hosts are reachable, resolving DNS, inspecting network interfaces, and measuring response times.
Procedure
When this skill is activated, Chalie follows these steps:
- Use
memoryto recall any prior network issues or known infrastructure details (DNS servers, expected IPs). - Ask the user what they need to diagnose: can they reach a specific host, is DNS resolving correctly, or do they need a general network status check.
- For connectivity check: use
bashwith action read to runping -c 4 <host>to test reachability and measure round-trip latency — report packet loss and average latency. - For DNS resolution: use
bashwith action read to rundig <domain> +shortto resolve the domain and report the IP addresses returned. - For general network status: use
bashwith action read to runip addr showto list all network interfaces with their IP addresses and link state — flag any interfaces that are DOWN. - Present a clear summary: reachable or not, resolved IP, interface status, and any anomalies detected (high latency, packet loss, interfaces down).
Version
v1 (curated)