π¦ ClawHub
Network Speed Test
by @johnnywang2001
Measure network download speed, upload speed, and latency from the command line. Uses Cloudflare speed test endpoints and public DNS for latency measurements...
TERMINAL
clawhub install network-speed-testπ About This Skill
name: network-speed-test description: Measure network download speed, upload speed, and latency from the command line. Uses Cloudflare speed test endpoints and public DNS for latency measurements. No external dependencies β pure Python with stdlib only. Use when checking internet speed, diagnosing slow connections, measuring latency/jitter, or benchmarking network performance.
Network Speed Test
Measure download, upload, and latency with zero dependencies.
Commands
All commands use scripts/speed_test.py.
Run All Tests
python3 scripts/speed_test.py --all
python3 scripts/speed_test.py --all --json
Individual Tests
python3 scripts/speed_test.py --download
python3 scripts/speed_test.py --upload
python3 scripts/speed_test.py --latency
Custom Test Size
python3 scripts/speed_test.py --download --size 25 # 25 MB download test
python3 scripts/speed_test.py --all --size 50 # 50 MB download, 25 MB upload
JSON Output
python3 scripts/speed_test.py --all --json
Returns structured JSON with timestamp, latency stats (avg/min/max/jitter per host), download speed (Mbps), and upload speed (Mbps).
Latency Targets
Tests TCP connection latency to Cloudflare DNS (1.1.1.1), Google DNS (8.8.8.8), and Quad9 (9.9.9.9). Reports average, min, max, and jitter for each.