SKILL.md
Overview
Summarize text files that come from the user or from other skills. This skill can compute basic statistics (lines, words, bytes) and capture a short preview of the file.
User-provided files are typically exposed under work/inputs/ (for example, when a host directory is mounted as inputs, or when the user uploads a file into the conversation and the framework stages it into the workspace before scripts run). Files produced by other skills are usually written under out/ and can be summarized directly from there.
Examples
- Summarize a text file already present in the workspace
Command:
bash scripts/summarizefile.sh \ work/inputs/example.txt \ out/examplesummary.txt
- Summarize a different file
Command:
bash scripts/summarizefile.sh \ work/inputs/notes.txt \ out/notessummary.txt
- Summarize a file produced by another skill
Command:
bash scripts/summarizefile.sh \ out/samplefib.txt \ out/samplefibsummary.txt
Output Files
- out/example_summary.txt
- out/notes_summary.txt
- out/samplefibsummary.txt