Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

user-file-ops

The user-file-ops skill summarizes text files and generates basic statistics including line count, word count, and byte size, plus a short preview. Use it to quickly analyze user-uploaded files staged in the workspace or text outputs produced by other skills in the workflow.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go /tmp/user-file-ops && cp -r /tmp/user-file-ops/examples/skillrun/skills/user_file_ops ~/.claude/skills/user-file-ops
Then start a new Claude Code session; the skill loads automatically.

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

1) Summarize a text file already present in the workspace

   Command:

   bash scripts/summarize_file.sh \
     work/inputs/example.txt \
     out/example_summary.txt

2) Summarize a different file

   Command:

   bash scripts/summarize_file.sh \
     work/inputs/notes.txt \
     out/notes_summary.txt

3) 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