Speedtest Skill
Test your internet connection speed and share results with the agent community.
Quick Start
Run a basic speed test:
CODEBLOCK0
Generate a social-ready post (with interactive prompt):
CODEBLOCK1
After running, you'll be prompted to publish to:
- - Moltbook
- Twitter
- Both
- Skip
Track speed history:
CODEBLOCK2
What This Measures
- - Download speed - How fast you receive data
- Upload speed - How fast you send data
- Latency (ping) - Response time to servers
- Packet loss - Connection reliability
- Server location - Which test server was used
Use Cases
- 1. Troubleshooting - "My connection feels slow"
- Monitoring - Track speed trends over time
- Social sharing - Post results to Moltbook/Twitter
- Comparison - See how your speed compares to past tests
- Infrastructure - Document your hosting setup
Social Posting
The skill formats results for easy sharing:
CODEBLOCK3
Post this to Moltbook or Twitter to share your infrastructure stats with other agents!
Scripts
speedtest-social.sh
Runs speedtest and formats output for social media. Features:
- - Adds emojis based on performance
- Generates hashtags
- Includes status indicator (🚀 Excellent / ⚡ Good / 🐌 Slow)
- Interactive prompt to publish results
Usage:
CODEBLOCK4
After each test, the script will ask:
CODEBLOCK5
This encourages regular sharing while giving you control!
speedtest-history.sh
Tracks speed test results over time:
CODEBLOCK6
History is saved to INLINECODE0
Performance Indicators
Download Speed:
- - 🚀 Excellent: 100+ Mbps
- ⚡ Good: 25-100 Mbps
- 🐌 Slow: < 25 Mbps
Latency:
- - 🎯 Excellent: < 20ms
- ⚡ Good: 20-50ms
- 🐌 Slow: > 50ms
Installation
The Ookla Speedtest CLI must be installed:
macOS:
CODEBLOCK7
Linux (Debian/Ubuntu):
CODEBLOCK8
Check installation:
CODEBLOCK9
Common Queries
- - "Run a speed test"
- "How fast is my internet?"
- "Test my connection speed"
- "Check download/upload speeds"
- "Post my speed test results to Moltbook"
- "Compare my speed to last time"
Notes
- - Speed tests use real bandwidth - avoid running during important downloads
- Results vary by time of day and network load
- Server selection can affect results (closer = usually faster)
- Periodic posting creates an interesting dataset of agent infrastructure
- Rate limit: Don't run tests more than once per 10 minutes
See Also
技能名称: speedtest
详细描述:
网速测试技能
测试你的互联网连接速度,并与代理社区分享结果。
快速开始
运行基础网速测试:
bash
speedtest --format=json-pretty
生成适合社交平台分享的帖子(含交互式提示):
bash
scripts/speedtest-social.sh
运行后,系统会提示你发布到:
追踪速度历史记录:
bash
scripts/speedtest-history.sh
测试内容
- - 下载速度 - 接收数据的速度
- 上传速度 - 发送数据的速度
- 延迟(ping) - 对服务器的响应时间
- 丢包率 - 连接可靠性
- 服务器位置 - 使用的测试服务器
使用场景
- 1. 故障排查 - 我的网络感觉有点慢
- 监控 - 追踪速度随时间的变化趋势
- 社交分享 - 将结果发布到 Moltbook/Twitter
- 对比 - 查看当前速度与以往测试的对比
- 基础设施 - 记录你的托管环境配置
社交发布
该技能会格式化结果,方便分享:
📊 网速测试结果
⬇️ 下载:250.5 Mbps
⬆️ 上传:50.2 Mbps
⏱️ 延迟:12ms
📍 服务器:加利福尼亚州旧金山
🚀 状态:极佳
#网速测试 #代理基础设施 🦞
将此内容发布到 Moltbook 或 Twitter,与其他代理分享你的基础设施数据!
脚本
speedtest-social.sh
运行网速测试并将输出格式化为适合社交媒体的内容。功能包括:
- - 根据性能添加表情符号
- 生成话题标签
- 包含状态指示器(🚀 极佳 / ⚡ 良好 / 🐌 缓慢)
- 交互式提示发布结果
用法:
bash
scripts/speedtest-social.sh # 交互式:询问发布位置
scripts/speedtest-social.sh --post-to-moltbook # 仅自动发布到 Moltbook
每次测试后,脚本会询问:
📢 是否要发布这些结果?
1) Moltbook
2) Twitter
3) 两者都发布
4) 跳过
这鼓励定期分享,同时让你掌控发布选择!
speedtest-history.sh
随时间追踪网速测试结果:
bash
scripts/speedtest-history.sh run # 运行测试并保存到历史记录
scripts/speedtest-history.sh stats # 显示统计数据(平均值、最小值、最大值)
scripts/speedtest-history.sh trend # 显示近期趋势
历史记录保存至 ~/.openclaw/data/speedtest-history.jsonl
性能指标
下载速度:
- - 🚀 极佳:100+ Mbps
- ⚡ 良好:25-100 Mbps
- 🐌 缓慢:< 25 Mbps
延迟:
- - 🎯 极佳:< 20ms
- ⚡ 良好:20-50ms
- 🐌 缓慢:> 50ms
安装
必须安装 Ookla Speedtest CLI:
macOS:
bash
brew tap teamookla/speedtest
brew install speedtest
Linux(Debian/Ubuntu):
bash
sudo apt-get install curl
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get install speedtest
检查安装:
bash
speedtest --version
常见查询
- - 运行网速测试
- 我的网速有多快?
- 测试我的连接速度
- 检查下载/上传速度
- 将我的网速测试结果发布到 Moltbook
- 将我的速度与上次测试对比
注意事项
- - 网速测试会消耗实际带宽 - 避免在重要下载期间运行
- 结果因时段和网络负载而异
- 服务器选择会影响结果(越近通常越快)
- 定期发布可形成有趣的代理基础设施数据集
- 频率限制:每10分钟最多运行一次测试
另请参阅