python3 scripts/speedtest.py [--json] [--server SERVER_ID] [--timeout SECONDS]
| Flag | Default | Description |
|---|---|---|
| ------ | --------- | ------------- |
--json | off | Output raw JSON (download/upload/ping + server info) |
--server | auto | Force a specific Speedtest server ID |
--timeout | 120 | Max seconds to wait for the test |
Ping: 45.12 ms
Download: 120.45 Mbit/s
Upload: 25.33 Mbit/s
--json)Returns structured data including server name/location, ISP, and IP.
speedtest-cli must be installed before using this skill. See setup.md for installation instructions.
If the script reports speedtest-cli not found, do not attempt automatic installation — direct the user to setup.md and let them install it manually.
共 1 个版本