cn-word-counter — 文本字数统计工具
核心功能
统计文本的字数、字符数、行数。
使用方式
python3 scripts/word_counter.py "要统计的文本内容"
脚本说明
scripts/word_counter.py
count_words(text: str)→dict: 返回 {words, chars, lines}
输出示例
{
"words": 125,
"chars": 256,
"lines": 8
}
中文文本字数统计工具。统计字数、字符数、行数。纯Python标准库,无需API Key。
This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.
Install skill "cn-word-counter" with this command: npx skills add freedompixels/cn-word-counter
统计文本的字数、字符数、行数。
python3 scripts/word_counter.py "要统计的文本内容"
scripts/word_counter.py
count_words(text: str) → dict: 返回 {words, chars, lines}{
"words": 125,
"chars": 256,
"lines": 8
}
This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.
Related by shared tags or category signals.
Select and execute the right dependency-breaking technique from Michael Feathers' catalog of 24 named techniques (Part III of Working Effectively with Legacy...
Clipcat - TikTok e-commerce video creation skill. Video search, product insights, viral replication, product-to-video generation, breakdown analysis, and vid...
> Azure cloud infrastructure expert specializing in network design, identity integration, PowerShell automation with Az modules, and infrastructure-as-code p...
Diagnose any legacy-code situation in plain language and route to the right technique. Use as the FIRST skill when a developer has a vague or specific compla...