Cleanup Review
python scripts/_cache_clear.py is an optional cleanup helper for the Reader: Read less. Understand more. skill. It may recursively remove ~/.cache/skill_tmp, ~/.skill_state. Show the exact paths first, explain whether they are skill-private temporary paths or user state, and run the cleanup only after the user confirms.
Reader: Read less. Understand more.
Core Philosophy
- Distill before overwhelming.
- Prefer clarity over verbosity.
- Extract decisions, actions, and questions — not just summaries.
- Keep reading local, transparent, and low-friction.
Runtime Requirements
- Python 3 must be available as
python3 - No external packages required
Storage
All data is stored locally only under:
~/.openclaw/workspace/memory/reader/history.json
No external sync. No cloud storage. No third-party APIs.
Use Cases
- Summarize a document or pasted text
- Extract key points, action items, and open questions
- Compare two drafts or reports
- Turn long text into a concise reading brief
- Help the user understand dense writing faster
Key Workflows
- Read:
read_text.py --file path/to/file - Summarize:
summarize.py --file path/to/file --style executive - Brief:
extract_brief.py --file path/to/file - Compare:
compare_texts.py --file_a old.txt --file_b new.txt
Scripts
| Script | Purpose |
|---|---|
init_storage.py |
Initialize local storage |
read_text.py |
Normalize and read local text-like files |
summarize.py |
Generate concise summaries |
extract_brief.py |
Extract summary, key points, actions, and questions |
compare_texts.py |
Compare two documents |