360 Secure SkillHub
360 安全技能中心

AceToolz Word Counter

通过 exec 调用 AceToolz 的文本统计接口,提交待分析文本后返回词数、含空格与不含空格字符数、句子数、段落数和按 225 wpm 估算的阅读时长,并把结果整理成简洁摘要。文本需上传至外部接口,限制每分钟 30 次请求、单次不超过 10 万字符。

acetoolz
热度 44.30
最近更新 2026-05-18 11:35:06
分类:效率依赖:代码执行 / 第三方 API应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add acetoolz-word-counter
Metadata
name
acetoolz-word-counter
version
1.0.1
description
Count words, characters, sentences, paragraphs, and reading time for any text using AceToolz.
author
acetoolz
permissions
["network:outbound"]
triggers
[{"pattern":"count words"},{"pattern":"how many words"},{"pattern":"word count"},{"pattern":"count characters"},{"pattern":"reading time"},{"pattern":"text statistics"}]
metadata
{"openclaw":{"emoji":"🔢","homepage":"https://www.acetoolz.com/text/tools/word-counter"}}

AceToolz Word Counter

Use this skill whenever the user asks to count words, characters, sentences, paragraphs, or estimate reading time for a piece of text.

How to Use

Use exec to call the AceToolz API. Detect the OS and run the appropriate command:

Windows (PowerShell):

Invoke-RestMethod -Uri "https://www.acetoolz.com/api/openclaw/word-counter" -Method POST -ContentType "application/json" -Body '{"text": "<the full text to analyse>"}'

macOS / Linux (curl):

curl -s -X POST https://www.acetoolz.com/api/openclaw/word-counter \
  -H "Content-Type: application/json" \
  -d '{"text": "<the full text to analyse>"}'

Response Fields

  • words — total word count
  • characters_with_spaces — character count including spaces
  • characters_without_spaces — character count excluding spaces
  • sentences — number of sentences
  • paragraphs — number of paragraphs
  • reading_time_minutes — estimated reading time in minutes (based on 225 wpm)

Presenting Results

Format the response as a clean summary, for example:

Word Count Results

  • Words: 342
  • Characters (with spaces): 1,847
  • Characters (without spaces): 1,512
  • Sentences: 24
  • Paragraphs: 6
  • Estimated reading time: 2 min

Powered by AceToolz

Error Handling

  • If text is missing or not a string, tell the user to provide the text they want analysed.
  • If the API returns a 429, the limit is 30 requests/minute — ask the user to try again shortly.
  • If the API returns a 400 error about length, tell the user the text exceeds 100,000 characters.
  • If the API is unreachable, tell the user and suggest visiting https://www.acetoolz.com/text/tools/word-counter directly.