← Back to Skills Marketplace
126
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install word-count
Description
Count words, lines, and characters in a file. Outputs a single summary line. Use when the user wants to know how long a file is or count words in a document.
Usage Guidance
This skill is a simple, local word/line/byte counter that calls the system 'wc' command. It does not request credentials or network access and the run.sh is short and readable — review it if you want to confirm. Note the small documentation mismatch: SKILL.md claims a single summary line but run.sh prints multiple labeled lines (FILE/LINES/WORDS/BYTES/STATUS). If you need the exact raw 'wc' one-line output, use 'wc <file>' directly or modify the script. Also ensure your environment has 'wc' (typical on Unix/Linux; may be missing on some Windows setups).
Capability Analysis
Type: OpenClaw Skill
Name: word-count
Version: 1.0.1
The skill is a straightforward implementation of a word count utility using the standard Linux 'wc' command. The shell script (run.sh) and instructions (SKILL.md) are well-structured, include basic error handling, and contain no indicators of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name, description, and runtime needs align: the skill is a simple wrapper around the system 'wc' command and explicitly requires 'wc'. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md states "Outputs a single summary line" and shows the raw 'wc' single-line format, but the provided run.sh prints a multi-line, labeled summary (FILE/LINES/WORDS/BYTES/STATUS). This is a documentation/instruction mismatch but does not indicate malicious behavior. The instructions otherwise only operate on the provided file path and standard wc invocations.
Install Mechanism
No install spec; the skill is instruction-only plus a small run.sh script. Nothing is downloaded or written to disk beyond the included files. Risk from installation is low.
Credentials
No environment variables, credentials, or external service access are requested. The single required binary ('wc') is appropriate and sufficient for the stated purpose.
Persistence & Privilege
Skill does not request always:true or modify agent/system settings. It is user-invocable and can run autonomously per platform defaults, which is normal for skills.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install word-count - After installation, invoke the skill by name or use
/word-count - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Update SKILL.md formatting
v1.0.0
- Initial release of the word-count skill.
- Counts words, lines, and characters in a specified file.
- Outputs a single summary line in the format: LINES WORDS CHARACTERS FILENAME.
- Uses the standard wc tool; requires file path as an argument.
- Returns an error message if the file is not found or another failure occurs.
Metadata
Frequently Asked Questions
What is Word Count?
Count words, lines, and characters in a file. Outputs a single summary line. Use when the user wants to know how long a file is or count words in a document. It is an AI Agent Skill for Claude Code / OpenClaw, with 126 downloads so far.
How do I install Word Count?
Run "/install word-count" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Word Count free?
Yes, Word Count is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Word Count support?
Word Count is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Word Count?
It is built and maintained by 목진왕 (@jinwangmok); the current version is v1.0.1.
More Skills