# Analyze Text Statistics

Writers and teams need quick size and readability signals for plain text. This skill returns counts and reading-time estimates from a single text input.

## Install

```bash
npx skillstore add enactprotocol/enact-text-summarizer
```

## Metadata

- Status: approved
- Slug: enactprotocol-enact-text-summarizer
- Version: 1.0.1
- Author version: 1.0.1
- Skillstore revision: r1
- Version status: valid
- Tree hash: d3d4a8e1d80ec43d3d7e7ece604519ba1ea75297217e048b28b5103731604f7c
- Author: EnactProtocol
- GitHub username: EnactProtocol
- License: MIT
- Repository: https://github.com/EnactProtocol/enact/tree/main/examples/text-summarizer
- Ref: a06681402992ceae98ba04d54cfd4ab004862696
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/enactprotocol-enact-text-summarizer
- Manifest: https://skillstore.pages.dev/api/skills/enactprotocol-enact-text-summarizer/manifest

## Capabilities

- Counts words after trimming whitespace.
- Counts characters while excluding whitespace.
- Estimates sentence count from periods, exclamation marks, and question marks.
- Calculates average word length to two decimal places.
- Estimates reading time at 200 words per minute.

## Use Cases

- Check Draft Length: Measure word count, sentence count, and reading time before publishing short articles.
- Review Support Messages: Measure response length so customer messages stay concise and easy to scan.
- Prepare Learning Material: Estimate reading time for assignments, lesson text, and short study materials.

## Prompt Templates

### Quick Text Metrics

```
Use enact-text-summarizer to analyze this text: [paste text]. Return the key counts and reading time.
```

### Compare Draft Length

```
Analyze the pasted draft with enact-text-summarizer. Tell me whether it fits a target of [target words] and [target minutes].
```

### Prepare Editorial Notes

```
Run enact-text-summarizer on this article excerpt. Use the results to suggest where the draft may need shorter sections.
```

### Audit Message Variants

```
For each message variant, run enact-text-summarizer separately. Compare word count, sentence count, average word length, and reading time.
```

## Limitations

- It does not create semantic summaries or rewrite text.
- Sentence counts are heuristic and can misread abbreviations or unusual punctuation.
- Very long text may hit command length limits in some runners.
- It does not detect tone, topic, sentiment, or factual accuracy.

## Best Practices

- Use plain text input when you need counts instead of semantic summaries.
- Review sentence estimates manually when text contains abbreviations or bullet lists.
- Avoid sensitive text in command-line workflows unless process arguments are protected.

## Anti Patterns

- Do not use this skill as a factual summarizer.
- Do not rely on sentence counts for legal or compliance limits without review.
- Do not pass untrusted shell fragments as text until command escaping is fixed.

## Security Audit

- Audited at: 2026-07-06T15:25:12.361\+00:00
- Summary: The four static external-command findings are false positives caused by Markdown code fences and a JavaScript template literal. Semantic review found raw user input interpolation in the Enact command string, which may allow shell command injection. The author should fix command argument handling before publication.

## Stats

- Views: 166
- Downloads: 10
- Favorites: 0
- Popularity score: 0
