← 返回 Skills 市场
dinghaibin

Wc Words Tool

作者 BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
53
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wc-words-tool
功能描述
Count words in text — total, unique, per-line, with frequency analysis. Useful for readability metrics, content analysis, translation estimation, and documen...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wc-words-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wc-words-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug wc-words-tool
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Wc Words Tool 是什么?

Count words in text — total, unique, per-line, with frequency analysis. Useful for readability metrics, content analysis, translation estimation, and documen... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 53 次。

如何安装 Wc Words Tool?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wc-words-tool」即可一键安装,无需额外配置。

Wc Words Tool 是免费的吗?

是的,Wc Words Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Wc Words Tool 支持哪些平台?

Wc Words Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Wc Words Tool?

由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。

💬 留言讨论