user-file-ops
Simple operations on user-provided text files including summarization.
How do I install this agent skill?
npx skills add https://github.com/trpc-group/trpc-agent-go --skill user-file-opsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides simple text file summarization and statistics. While functionally safe, it processes untrusted user data which serves as a potential surface for indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2 files scanned · No issues
What does this agent skill do?
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 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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/trpc-group/trpc-agent-go/user-file-ops">View user-file-ops on skillZs</a>