← 返回 Skills 市场
46
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install shuf-tool
功能描述
Randomly shuffle lines of text input. Use for random sampling, data randomization, and selection tasks.
使用说明 (SKILL.md)
Shuf - Random Line Permutation
Randomize the order of input lines. Supports random selection of N lines and sampling with or without replacement for statistical tasks.
Usage
shuf-tool [options] [file]
Options
-n N: Output only N random lines-i LO-HI: Treat each number LO..HI as an input line-r: Allow repeated output (sampling with replacement)-e: Treat each argument as an input line
Examples
shuf-tool names.txt
shuf-tool -n 5 data.txt
shuf-tool -i 1-100
安全使用建议
This skill appears safe for simple local file shuffling, but test it before use: the bundled script does not match the documented option set and mishandles stdin. Avoid running it on paths or text that could expose files you do not intend to process.
功能分析
Type: OpenClaw Skill
Name: shuf-tool
Version: 1.0.0
The script scripts/shuf.py contains a significant logic error and potential vulnerability where it attempts to open() the string content of stdin as a filename when no arguments are provided. Additionally, the SKILL.md documentation claims support for several functional flags (-n, -i, -r, -e) that are entirely unimplemented in the provided Python code, representing a high discrepancy between stated and actual behavior.
能力评估
Purpose & Capability
The high-level purpose matches a local line-shuffling tool, but scripts/shuf.py only shuffles all lines from one opened path and does not implement the documented -n, -i, -r, or -e options or normal stdin-line handling.
Instruction Scope
SKILL.md contains ordinary user-directed CLI usage examples and no hidden instructions, prompt overrides, autonomous workflows, or destructive actions.
Install Mechanism
No install spec, dependencies, required binaries, environment variables, credentials, or remote downloads are declared; the artifacts include only SKILL.md and a small Python script.
Credentials
Reading a user-supplied local file is expected for this purpose, but the no-argument behavior treats stdin text as a filename, which can cause failed runs or unexpected local file reads if invoked on unintended input.
Persistence & Privilege
No persistence, background process, credential use, account access, privilege escalation, or system mutation is shown.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install shuf-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/shuf-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Shuf Tool 是什么?
Randomly shuffle lines of text input. Use for random sampling, data randomization, and selection tasks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。
如何安装 Shuf Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install shuf-tool」即可一键安装,无需额外配置。
Shuf Tool 是免费的吗?
是的,Shuf Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Shuf Tool 支持哪些平台?
Shuf Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Shuf Tool?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills