summarize-file
by muhammadmuazzain
Web & Frontend DevelopmentBrief
Reads text files from workspace/paths and generates concise summaries.
Description
What This Skill Does
Reads text files from local paths or workspace and returns a 2-3 sentence summary of key content. Strips boilerplate, empty lines, and timestamps before summarizing. Works with logs, reports, CSVs, and general text files.
All processing stays local with no network calls, so sensitive files never leave the machine.
When to Use It
- Get the gist of a long error log without scrolling
- Quickly summarize a meeting notes file
- Pull key points from a downloaded CSV report
- Check what a debug log captured overnight
- Scan a text-based report before a meeting
Example Workflow
User asks: summarize file workspace/error.log
- 1
Reads file content using workspace.read tool
- 2
Strips empty lines, timestamps, and boilerplate text
- 3
Sends cleaned content to LLM with a summarization prompt
- 4
Returns a 2-3 sentence summary of key findings
Error log (Feb 22): 14 auth failures from IP 192.168.1.50, 2 DB timeouts, no critical crashes.
Installation
clawhub install muhammadmuazzain/summarize-fileRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.