← 返回 Skills 市场
17
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wc-chars-tool
功能描述
Count characters in text input — total, non-whitespace, CJK, and Unicode-aware character counts. Useful for text analysis, content length limits, and i18n va...
使用说明 (SKILL.md)
WC Chars Tool — Character Counting Utility
Count characters in text with Unicode awareness. Supports total characters, non-whitespace characters, CJK character detection, and byte-offset reporting. Essential for validating text constraints (SMS, tweets, form fields, database column limits).
Quick Start
# Count characters in a string
wc-chars-tool "Hello, 世界!"
# Count from stdin
echo "Hello World" | wc-chars-tool
# Count characters in a file
wc-chars-tool --file document.txt
Usage
wc-chars-tool [TEXT] [OPTIONS]
wc-chars-tool --file FILE [OPTIONS]
Options:
--file FILE Read from file instead of argument
--bytes Count bytes instead of characters
--no-whitespace Exclude whitespace from count
--cjk-only Count only CJK characters
--graphemes Count grapheme clusters (user-perceived characters)
--json Output as structured JSON
--detailed Show breakdown: total, non-ws, digits, punct, spaces
Examples
# Count total characters
wc-chars-tool "Hello World"
# Count bytes in a UTF-8 string
wc-chars-tool "Hello, 世界!" --bytes
# Count non-whitespace characters
wc-chars-tool "Hello World" --no-whitespace
# Count CJK characters only
wc-chars-tool "Hello 你好 世界 world" --cjk-only
# Detailed breakdown
wc-chars-tool "Hello, 世界! 123" --detailed --json
Features
- Unicode-aware — correctly handles multi-byte characters (CJK, emoji, accents)
- Grapheme clusters — counts user-perceived characters, not just code points
- Multiple modes — total, non-whitespace, CJK, byte count
- Detailed breakdown — digits, punctuation, spaces, letters
- File and stdin input — flexible input sources
- JSON output — for monitoring and script integration
安全使用建议
This skill looks safe to install from a security perspective. Be aware that the documentation lists options such as file input and grapheme counting, while the included script only performs a simple stdin character count, so verify functionality before relying on it.
功能分析
Type: OpenClaw Skill
Name: wc-chars-tool
Version: 1.0.0
The skill bundle provides a basic character counting utility. While the documentation in SKILL.md describes advanced features like CJK detection, JSON output, and file handling, the actual implementation in scripts/chars.py is a minimal Python script that only counts characters from standard input. There is no evidence of malicious intent, data exfiltration, or harmful instructions.
能力评估
Purpose & Capability
The stated purpose is character counting, and the included script only reads stdin and prints a character count; the documentation advertises more options than the script shows, but that is a functionality gap rather than a security risk.
Instruction Scope
The instructions are user-directed CLI examples and do not contain prompt overrides, forced tool use, hidden goals, or autonomous high-impact actions.
Install Mechanism
There is no install spec, no declared dependencies, no required binaries, and the static scan reported no suspicious patterns.
Credentials
The described inputs are user-provided text, stdin, or a user-selected file, which is proportionate for a character-counting utility.
Persistence & Privilege
No persistence, background execution, credential handling, privilege escalation, or account access is shown in the artifacts.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wc-chars-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/wc-chars-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Wc Chars Tool 是什么?
Count characters in text input — total, non-whitespace, CJK, and Unicode-aware character counts. Useful for text analysis, content length limits, and i18n va... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 17 次。
如何安装 Wc Chars Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wc-chars-tool」即可一键安装,无需额外配置。
Wc Chars Tool 是免费的吗?
是的,Wc Chars Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Wc Chars Tool 支持哪些平台?
Wc Chars Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wc Chars Tool?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills