← Back to Skills Marketplace
dinghaibin

Wc Words Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
53
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wc-words-tool
Description
Count words in text — total, unique, per-line, with frequency analysis. Useful for readability metrics, content analysis, translation estimation, and documen...
README (SKILL.md)

WC Words Tool — Word Counting & Text Analysis Utility

Count words with smart tokenization, language-aware word splitting, frequency distribution, and readability metrics. Ideal for content pipelines, writing analytics, and SEO keyword density checks.

Quick Start

# Count words in a string
wc-words-tool "The quick brown fox jumps over the lazy dog"

# Count words from stdin
cat article.txt | wc-words-tool

# Count words in a file
wc-words-tool --file document.txt

Usage

wc-words-tool [TEXT] [OPTIONS]
wc-words-tool --file FILE [OPTIONS]

Options:
  --file FILE         Read from file instead of argument
  --unique            Count unique words
  --freq N            Show top N most frequent words
  --min-length N      Minimum word length to count
  --stopwords FILE    Remove common stopwords from count
  --per-line          Words per line (useful for code comments)
  --json              Output as structured JSON

Examples

# Total word count
wc-words-tool --file report.txt

# Unique word count
wc-words-tool --file article.txt --unique

# Top 10 most frequent words
wc-words-tool --file document.txt --freq 10

# Filter short words (min 4 characters)
wc-words-tool --file text.txt --min-length 4

# Words per line
wc-words-tool --file poem.txt --per-line

# With custom stopwords list
wc-words-tool --file content.txt --stopwords stopwords.txt --json

Features

  • Total word count — standard word tokenization
  • Unique words — vocabulary size estimation
  • Frequency analysis — most common words with counts
  • Stopword filtering — remove common words for meaningful analysis
  • Smart tokenization — handles punctuation, hyphens, apostrophes
  • Min-length filter — exclude short/noise words
  • JSON output — for pipeline integration
  • Multiple input modes — argument, file, stdin
Usage Guidance
This looks safe for local word counting. Only provide files or text you actually want analyzed, and note that the included script appears much simpler than the feature-rich CLI described in the documentation.
Capability Analysis
Type: OpenClaw Skill Name: wc-words-tool Version: 1.0.0 The skill bundle provides a minimalist Python script (scripts/words.py) that counts words from standard input. While the documentation (SKILL.md) describes several advanced features such as frequency analysis, stopword filtering, and JSON output that are not actually implemented in the code, there is no evidence of malicious intent, data exfiltration, or harmful instructions.
Capability Assessment
Purpose & Capability
The stated purpose is counting words in user-provided text, and the included script only reads stdin and prints a word count.
Instruction Scope
The instructions describe user-invoked command examples for counting words from text, stdin, or files; they do not tell the agent to run automatically, override user intent, or perform unrelated actions.
Install Mechanism
There is no install spec or package installation flow, and no evidence of remote downloads, dependency installation, or hidden setup commands.
Credentials
Reading selected text or a selected file is proportionate for a word-counting tool, and the artifacts show no network transmission or broader local indexing.
Persistence & Privilege
The artifacts show no persistence, background workers, credential access, privilege escalation, or account mutation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wc-words-tool
  3. After installation, invoke the skill by name or use /wc-words-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug wc-words-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Wc Words Tool?

Count words in text — total, unique, per-line, with frequency analysis. Useful for readability metrics, content analysis, translation estimation, and documen... It is an AI Agent Skill for Claude Code / OpenClaw, with 53 downloads so far.

How do I install Wc Words Tool?

Run "/install wc-words-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Wc Words Tool free?

Yes, Wc Words Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Wc Words Tool support?

Wc Words Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Wc Words Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments