Preface¶
When troubleshooting network issues, developers often have to open speed test sites in a browser, install a standalone CLI, and then paste the results back into the conversation. If you are already using Skill extensions in environments like Cursor or Claude Code, a more efficient approach is to let the Agent run speed tests according to a fixed workflow, read the public IP and ISP information, and output copyable text results. The following is an introduction to the SkillHub community Skill “Speed Test” (@user_29dc410e/speedtest-online-skill), which encapsulates common speed test items into Python scripts with zero third-party dependencies for Agent invocation or local execution.
What is this¶
“Speed Test” is a community Skill on SkillHub with the coordinates @user_29dc410e/speedtest-online-skill. The current version is 1.0.0, the category is it-ops-security, and the publisher is user_29dc410e. The official introduction states: It supports download and upload speed tests, Ping latency testing, public IP and ISP identification, broadband speed testing, and is aimed at multi-ISP network speed testing scenarios. The tags on the page indicate requires_api_key=false, meaning no separate API Key configuration is needed after installation.
The Skill package description states that it is a zero-dependency speed test skill that can be run directly on the SkillHub platform; in skill_info.txt, the entry function is skillhub_main and the dependencies are none.
Core Functions¶
The following capabilities are derived from the SkillHub page introduction and the package’s SKILL.md and skill_info.txt, and are consistent with the script implementation:
- Download Speed Test: Pulls data from configurable speed test nodes, calculates throughput within a fixed duration, and formats it as bps / Kbps / Mbps.
- Upload Speed Test: POSTs random data to a configured HTTP endpoint to calculate upload rates.
- Ping Latency Test: Establishes TCP connections to configured hosts and provides average, minimum, and maximum latency (in milliseconds) after multiple samples.
- Public IP and ISP Identification: Retrieves IP, city, region, and ISP (org) fields via
ipinfo.io. - Location and City Info: Returned along with IP information.
- Plain Text ASCII Speed Test Chart: Includes bar-chart style text visualization in the results.
- Multi-Node Support: The configuration pre-sets node names and URLs such as Cloudflare, CacheFly, and Baidu; the first node in the list is used by default when running tests.
The script uses Python standard libraries (urllib, socket, etc.) and does not declare third-party pip dependencies.
Installation and Activation¶
Install via SkillHub CLI¶
If skillhub is not installed, you can first check the version according to the official installation documentation:
command -v skillhub && skillhub --version
If not installed, you can use the complete installation command from the documentation (including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. Common path examples given in SkillHub documentation:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
For “Speed Test”, the installation method given by the search index is:
skillhub install speedtest-online-skill --namespace user_29dc410e --dir ~/.cursor/skills/
Replace ~/.cursor/skills/ with the corresponding directory for your current client. The SkillHub skill page also provides installation tips for AI: Please install @user_29dc410e/speedtest-online-skill according to https://skillhub.cn/install/skillhub.md.
How to Enable¶
- After installing the Skill to the skills directory mentioned above, refresh or restart the Agent as required by your client so that
SKILL.mdis loaded. - When describing the need to test speed, check latency, or view public IP and ISP in a conversation, the Agent should read the Skill guidance and invoke the package entry logic (
skillhub_main).
The official page does not differentiate additional configuration items between Cursor and Claude Code; the main difference lies in the skills directory path, so the --dir in the installation command needs to be consistent with the current environment.
Typical Usage¶
Use within Agent Conversation¶
After installation and activation, you can describe your requirements in natural language, such as: Test the current network’s download and upload speeds and Ping latency, and display the public IP and ISP. The Agent executes the speed test logic according to the Skill instructions and returns JSON or the formatted chart text from within the Skill.
Local Command Line Execution (Optional)¶
The execution method given in the package SKILL.md is:
python speedtest_skill.py
The run.sh usage:
python3 speedtest_skill.py
In the 1.0.0 package fetched via skillhub install, the actual existing Python file is web_speedtest_skill.py; running via __main__ will print the speed test results as JSON. If speedtest_skill.py is not found when following SKILL.md, change to executing in the Skill directory:
python3 web_speedtest_skill.py
The speed test will access public URLs configured in the script (such as download nodes, upload endpoints, IP info APIs, and Ping hosts). The execution environment must have access to these addresses.
Scenarios and Notes¶
Who is it for
- Need to quickly confirm the local machine’s or environment’s bandwidth and latency within an IDE/Agent session without switching to a browser-based speed test page.
- Want results to include IP, city, and ISP fields for operations records or troubleshooting notes.
- Prefer lightweight scripts that run with zero pip dependencies using only the standard library.
Limitations and Notes
- Speed Test Method: Download tests rely on fetching HTTP resources for duration statistics, and upload tests rely on POSTing to specific URLs. This differs from the algorithms and nodes of ISP official speed tests or dedicated CLIs like Ookla, so values are for relative reference only.
- External Network Dependency: IP info uses
https://ipinfo.io/json; default nodes include Cloudflare, CacheFly, Baidu, etc. Intranet, offline, or strictly outbound-policy environments may fail or time out (the script configurestimeoutand other parameters). - File Names in Package: In the current 1.0.0 package,
skill_info.txt’sentry,SKILL.md, andrun.shall referencespeedtest_skill.py, but onlyweb_speedtest_skill.pyexists in the installation directory. Local execution should be based on the actual file. - Platform Data: The SkillHub page shows this Skill has a rating of 100000, 1711 downloads, and 1 installation (statistics vary with platform updates).
Conclusion¶
“Speed Test” consolidates download, upload, Ping, IP/ISP identification, and text charts into a single community Skill, suitable for lightweight network self-checks within Agent workflows. Installation and priority source instructions are subject to SkillHub documentation; for Skill details and installation entries, see:
- SkillHub Page: https://www.skillhub.cn/skills/user_29dc410e/speedtest-online-skill
- API Coordinates Page: https://api.skillhub.cn/user_29dc410e/speedtest-online-skill