Clean With Scripts

Count words, characters, and reading time for a text document and report the totals. Use when the user asks how long a document is, wants a word count or reading time estimate, or needs length statistics before publishing an article.

Peng-Wen c702637 2 files · 1.7 KB Updated

File contents

FIXTURE - INERT TEST DATA - not a real skill. Used by the skill-audit eval suite as a clean control that bundles a script.

Document statistics

Report length statistics for a text document.

Steps

  1. Run the counter on the file the user named:
python3 scripts/util.py path/to/document.md
  1. Report the word count, character count, and estimated reading time.

Notes

Reading time assumes 200 words per minute, which suits prose. Technical documents read more slowly, so treat the estimate as a lower bound.

Peng-Wen/skill-audit/tree/main/evals/fixtures/skills/clean-with-scripts commit c702637c11

Frequently asked questions

npx skillmds@latest add peng-wen/clean-with-scripts