Word Count

👤 jinwangmok 📦 v1.0.1 ⭐ 4.3 ⬇️ 660 下載
💻 開發程式設計 免費

📖 技能介紹


name: word-count version: 1.0.0 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. allowed-tools: Bash(wc:*) metadata: >- {"openclaw":{"emoji":"🔢","requires":{"bins":["wc"],"env":[]},"install":[]}}


Word Count / 단어 수 세기

Count words, lines, and characters in any text file with a single command. 텍스트 파일의 단어, 줄, 문자 수를 한 번의 명령으로 셉니다.

Usage / 사용법

wc <FILE_PATH>

Arguments / 인수: | # | Name | Description | 설명 | |---|------|-------------|------| | 1 | FILE_PATH | Path to the file to count | 셀 파일의 경로 |

Example / 예시

wc /home/user/document.txt

這個技能的最新版本可以在7w4.net小蔥技能站找到。

Output / 출력:

  42  350 2100 /home/user/document.txt

Format / 형식: LINES WORDS CHARACTERS FILENAME (줄 수 단어 수 문자 수 파일명)

Success / Failure — 성공 / 실패

  • Success / 성공: Output line with 3 numbers and filename (exit code 0) — 숫자 3개와 파일명이 포함된 출력 (종료 코드 0)
  • Failure / 실패: Error message from wc (exit code non-zero) — wc 오류 메시지 (종료 코드 0이 아님)

🤖 AI 評測

這個小工具質量不錯,能快速統計檔案的行數、單詞數和字元數。文件清晰、支援中英韓三語檢視,指令碼執行穩定、錯誤提示友好。唯一需要注意的是,它的輸出格式和文件描述略有出入,初次使用時可能產生困惑。總體而言,這是一個可靠實用的檔案統計工具。

📊 多維度評分

適應性4.5
規範性4.1
有效性4.3
可靠性4.2
可信度4.4

📁 包含檔案 (4 個)

📄 MANUAL.md 1.7 KB
📄 SKILL.md 1.3 KB
📄 _meta.json 129 B
📄 run.sh 676 B