enacttext-summarizer

Analyzes text and provides word count, character count, and sentence statistics

⭐10stars🔀1forks📁View on GitHub🕐Updated Jan 3, 2026

When & Why to Use This Skill

The Text Summarizer skill is a robust text analysis utility designed to provide instant linguistic metrics. It goes beyond simple counting by offering word, character, and sentence statistics, alongside advanced insights like average word length and estimated reading time. This tool is essential for creators looking to optimize their content for readability, meet strict publishing constraints, and improve the overall user experience of their written material.

Use Cases

  • Content Length Compliance: Quickly verify that articles, social media posts, or academic papers meet specific word or character count requirements.
  • Readability and Complexity Analysis: Use average word length and sentence counts to assess the complexity of a text and adjust it for the target audience.
  • User Experience Planning: Estimate reading time for blog posts or newsletters to inform readers and improve content engagement metrics.
  • SEO and Metadata Optimization: Ensure meta descriptions and titles stay within character limits to prevent truncation in search engine results.
enact"2.0.0"
nameenact/text-summarizer
version1.0.1
description"Estimated reading time in minutes"
from"node:20-alpine"
command"node /workspace/summarize.js ${text}"
timeout"30s"
typenumber
readOnlyHinttrue
idempotentHinttrue

Text Summarizer

A tool that analyzes text and provides useful statistics including word count, character count, sentence count, and estimated reading time.

Usage

enact run keithgroves/text-summarizer --args '{"text": "Hello world. This is a test."}'

Features

  • Word count
  • Character count (excluding spaces)
  • Sentence count estimation
  • Average word length calculation
  • Reading time estimation (based on 200 words/minute)

Example Output

{
  "wordCount": 6,
  "characterCount": 22,
  "sentenceCount": 2,
  "averageWordLength": 3.67,
  "readingTimeMinutes": 0.03
}