名称: host-ping
描述: 通过发送 ping 请求检测主机(IP:39.106.7.8)是否在线。返回可达状态、延迟或离线错误信息。
元数据:
openclaw:
requires:
bins: ["ping"] # 需要 'ping' 命令行工具
emoji: "🔔" # 可选:技能在 UI 中显示的图标
homepage: "https://example.com/host-ping" # 可选:更多信息的链接
os: ["darwin", "linux", "win32"] # 支持的操作系统(macOS, Linux, Windows)
install: [] # 如果 ping 命令可用,无需额外安装
要使用此技能,请在主机 IP 39.106.7.8 上执行 ping 命令。通过 shell 执行以下命令:
ping -c 4 39.106.7.8 # 发送 4 个 ping 数据包(跨平台兼容)