← Back to Skills Marketplace
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install shuf-tool
Description
Randomly shuffle lines of text input. Use for random sampling, data randomization, and selection tasks.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install shuf-tool - After installation, invoke the skill by name or use
/shuf-tool - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Shuf Tool?
Randomly shuffle lines of text input. Use for random sampling, data randomization, and selection tasks. It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.
How do I install Shuf Tool?
Run "/install shuf-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Shuf Tool free?
Yes, Shuf Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Shuf Tool support?
Shuf Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Shuf Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills