← Back to Skills Marketplace
47
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install fold-tool
Description
Wrap long lines of text to a specified width. Use for formatting text files to fit within column limits.
README (SKILL.md)
Fold - Line Wrapping Utility
Break long lines of text at a specified width, making them fit within terminal columns or document margins.
Usage
fold-tool [options] [file...]
Options
-w N: Set line width to N characters (default: 80)-s: Break at spaces only (don't split words)-b: Count bytes instead of columns
Examples
fold-tool -w 72 longlines.txt
fold-tool -w 100 -s paragraph.txt
Usage Guidance
This package appears non-malicious but is inconsistent: the README/SKILL.md documents a CLI with -w, -s, and -b, but the included scripts/fold.py ignores flags and expects positional args. Before installing or enabling for automation: (1) test the script locally to confirm behavior; (2) if you need the documented flags, update the script (use argparse) or reject the skill; (3) ensure the script is executed as you expect (SKILL.md's command name vs scripts/fold.py path); (4) run it in a sandbox if you plan to let agents invoke it autonomously. If the maintainer provides an updated implementation that matches the documented CLI, this would likely be benign.
Capability Analysis
Type: OpenClaw Skill
Name: fold-tool
Version: 1.0.0
The skill is a simple text-wrapping utility that uses the standard Python 'textwrap' library. While the implementation in 'scripts/fold.py' has rudimentary argument parsing that doesn't fully support the flags described in 'SKILL.md', it contains no malicious logic, network activity, or exfiltration attempts.
Capability Assessment
Purpose & Capability
The stated purpose (wrap long lines to a specified width) matches what the included script broadly does (wrap text). However the SKILL.md documents a full CLI with -w, -s, -b and POSIX-style behavior; scripts/fold.py does not implement flag parsing nor the -s/-b behaviors and instead reads filename and width from fixed argv positions. That mismatch means the advertised capabilities are not actually provided.
Instruction Scope
SKILL.md instructs usage with named options and examples (fold-tool -w 72 file). The runtime code ignores options and does simple positional argv parsing, so an agent following SKILL.md will call flags that the script won't handle. This is scope/behavior inconsistency (not a sign of exfiltration, but it can cause unexpected failures or misbehavior).
Install Mechanism
No install spec and only a small Python script included — nothing is downloaded or written by an installer. Lowest-risk install posture.
Credentials
No environment variables, no credentials, and no config paths are requested. The script only reads a user-supplied file or stdin, which is proportionate to its purpose.
Persistence & Privilege
The skill does not request persistent or privileged presence (always: false) and contains no code to modify other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fold-tool - After installation, invoke the skill by name or use
/fold-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 Fold Tool?
Wrap long lines of text to a specified width. Use for formatting text files to fit within column limits. It is an AI Agent Skill for Claude Code / OpenClaw, with 47 downloads so far.
How do I install Fold Tool?
Run "/install fold-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Fold Tool free?
Yes, Fold Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Fold Tool support?
Fold Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Fold Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills