← 返回 Skills 市场
Benchmark Tool
作者
bytesagain1
· GitHub ↗
· v3.0.0
· MIT-0
416
总下载
0
收藏
1
当前安装
12
版本数
在 OpenClaw 中安装
/install benchmark-tool
功能描述
Benchmark CPU, memory, disk I/O, and network on your system. Use when measuring server performance.
使用说明 (SKILL.md)
benchmark-tool
Benchmark CPU, memory, disk I/O, and network on your system. Use when measuring server performance.
Commands
cpu
scripts/script.sh cpu
memory
scripts/script.sh memory
disk
scripts/script.sh disk \x3Cdir>
network
scripts/script.sh network \x3Chost>
all
scripts/script.sh all
compare
scripts/script.sh compare \x3Cf1 f2>
Data Storage
Data stored in ~/.local/share/benchmark-tool/.
Powered by BytesAgain | bytesagain.com | [email protected]
安全使用建议
This skill appears to do what it says: local benchmarks. Before installing or running: 1) Be aware the script calls system utilities (bc, free, dd, curl, diff). Ensure those utilities exist and are the expected versions. 2) The disk test writes a ~100MB file named bench_test into the directory you specify (and then removes it); avoid running the disk test against sensitive mount points or with root privileges. 3) The network test will make an outbound HTTP(S) request to the host you provide — do not point it at private endpoints you don't want contacted. 4) The script creates ~/.local/share/benchmark-tool/ (currently unused) — check that directory if you need to remove artifacts. 5) If you need stricter assurance, run the script manually in a controlled environment (non-production VM) and inspect its runtime behavior before allowing autonomous invocation.
功能分析
Type: OpenClaw Skill
Name: benchmark-tool
Version: 3.0.0
The benchmark tool contains shell injection vulnerabilities in `scripts/script.sh` due to unquoted variables in the `disk` and `compare` commands (e.g., `diff $2 $3` and `dd ... of=${2:-/tmp}/bench_test`). While the script's logic aligns with its stated purpose of performance measurement, these flaws allow for arbitrary command execution if the OpenClaw agent provides unsanitized input. There is no clear evidence of intentional malice, though the large block of empty comments in the script is unusual.
能力评估
Purpose & Capability
The skill's name/description align with what the script does (CPU/memory/disk/network benchmarks). However, the registry metadata lists no required binaries while the script invokes common utilities (bc, free, dd, curl, diff). This is a minor inconsistency but explainable; these tools are typical for benchmarking.
Instruction Scope
SKILL.md simply maps commands to scripts/script.sh. The script reads /proc/meminfo, runs bc for CPU math, writes a temporary file with dd (100MB) to the provided directory, and issues HTTP requests via curl to the user-specified host. It does not read unrelated user files or exfiltrate data, but it does perform disk writes and network calls as part of normal benchmarking and will create ~/.local/share/benchmark-tool/.
Install Mechanism
No install spec is provided (instruction-only plus bundled script). Nothing is downloaded or installed at runtime by the skill itself.
Credentials
The skill declares no required environment variables or credentials and doesn't request secrets. It uses $HOME to create a data directory and relies on standard system utilities; this is proportionate to its purpose.
Persistence & Privilege
always is false and the skill does not request elevated/always-on privileges. It only creates a directory under the invoking user's home and does not modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install benchmark-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/benchmark-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.7
old template -> domain-specific v2.0.0
v2.3.6
old template -> domain-specific v2.0.0
v2.3.5
Quality upgrade
v2.3.4
Quality upgrade: custom functionality
v2.3.3
De-template, unique content, script cleanup
v2.3.2
Quality fix: cleaner docs, removed flags
v2.3.1
Quality improvement: better docs, examples, cleaner text
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v1.0.0
Initial release
元数据
常见问题
Benchmark Tool 是什么?
Benchmark CPU, memory, disk I/O, and network on your system. Use when measuring server performance. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 416 次。
如何安装 Benchmark Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install benchmark-tool」即可一键安装,无需额外配置。
Benchmark Tool 是免费的吗?
是的,Benchmark Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Benchmark Tool 支持哪些平台?
Benchmark Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Benchmark Tool?
由 bytesagain1(@bytesagain1)开发并维护,当前版本 v3.0.0。
推荐 Skills