About user-file-ops
user-file-ops is a skill for summarizing text files in a workspace, including files supplied by users or created by other skills. It reports basic file statistics and captures a short preview.
Key features
- 01Summarizes workspace text files
- 02Reports line, word, and byte counts
- 03Captures a short file preview
- 04Handles input and output directory files
Use cases
- 01Summarizing a user-provided text file
- 02Reviewing a file created by another skill
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ trpc-group/ trpc-agent-go --skill user-file-opsAfter installing, type/user-file-opsin Claude Code to confirm it loaded.
Bundled filesscripts/summarize_file.sh
Details
From the project READMEOverview
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 skill_run stages it into
the workspace). 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/summarize_file.sh
work/inputs/example.txt
out/example_summary.txt -
Summarize a different file
Command:
bash scripts/summarize_file.sh
work/inputs/notes.txt
out/notes_summary.txt -
Summarize a file produced by another skill
Command:
bash scripts/summarize_file.sh
out/sample_fib.txt
out/sample_fib_summary.txt
Output Files
- out/example_summary.txt
- out/notes_summary.txt
- out/sample_fib_summary.txt