traceroute
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Traceroute Path Analyzer
Trace network paths and diagnose latency using traceroute and mtr.
Tool Status
- Tool installed: !
command -v traceroute > /dev/null 2>&1 && echo "YES -- traceroute installed" || echo "NO -- Install: pre-installed on macOS | apt install traceroute (Debian/Ubuntu)" - mtr installed: !
command -v mtr > /dev/null 2>&1 && echo "YES -- $(mtr --version 2>/dev/null | head -1)" || echo "NO -- Install: brew install mtr (macOS) | apt install mtr (Debian/Ubuntu)" - Wrapper scripts available: !
test -f scripts/traceroute/trace-network-path.sh && echo "YES -- use wrapper scripts for structured JSON output" || echo "NO -- using standalone mode with direct commands"
Mode: Wrapper Scripts Available
If wrapper scripts are available (shown as YES above), prefer these commands. They provide structured JSON output and educational context.
Path Tracing
bash scripts/traceroute/trace-network-path.sh <target> -j -x-- Trace network path showing each hop and latency