user-file-ops

user-file-ops is a skill for Claude Code, Codex from trpc-group/trpc-agent-go. It costs 17 tokens per session (278 once invoked), scanned A, original, Apache-2.0.

A file utility for summarizing text files supplied by the user or created by another tool.

In plain words
What is it for?
Creating a short summary and preview of a text file, along with basic file statistics.
Why use it?
It saves time when a file is too long to read in full and provides basic facts such as line, word, and byte counts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

tRPC-Agent-Go is a Go framework for building AI agent applications with language models, graph-based workflows, tools, memory, retrieval, evaluation, and observability. Go developers use it to create deployable agent systems that can integrate with A2A, AG-UI, and MCP. The catalogue add-ons provide reusable workflows and agent integrations for the framework.

trpc-group/trpc-agent-go · 1,763 stars · on GitHub · trpc-group.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/trpc-group/trpc-agent-go/user_file_ops
Any agent
npx skills add trpc-group/trpc-agent-go --skill user_file_ops
Clone the repo
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for user-file-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/user_file_ops.svg)](https://agentmods.dev/skills/trpc-group/trpc-agent-go/user_file_ops)
Your own site
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/user_file_ops"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/user_file_ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00278
Opus 5 $0.00009 $0.00139
Sonnet 5 $0.00003 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 6d ago against content hash 67e5491da5df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

user-file-ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/summarize_file.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skillrun/skills/user_file_ops/SKILL.md · 50 lines

What it actually says

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 50 lines · 17 tokens per session scan A 67e5491da5df

Subscribe to this mod's changes

user-file-ops is a skill published in the GitHub repository trpc-group/trpc-agent-go (1,763 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 278 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

docx

Read, edit, or create Microsoft Word .docx files. Trigger this skill whenever the user mentions a Word document, .docx file, contract, report, brief, memo, or asks to extract text, modify an existing doc, generate one from a brief, or audit tracked changes. Three execution paths: text-and-structure extraction…

opensquilla/opensquilla · 111 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens

xlsx

Read, edit, or create Microsoft Excel .xlsx workbooks. Trigger this skill whenever the user mentions a spreadsheet, .xlsx file, workbook, sheet, formula, pivot table, or asks to extract tabular data, modify a sheet, or build a workbook from rows. Three execution paths: structured inspection, in-place cell edits, and…

opensquilla/opensquilla · 108 tokens

nano-pdf

Edit PDFs with natural-language instructions using the nano-pdf CLI.

opensquilla/opensquilla · 17 tokens

meta-diagram-triangulation

Scan a target codebase path, classify the most informative diagram kind, then render it as BOTH a PlantUML source file AND a draw.io XML in parallel, and compose them into a single architecture doc. Use when writing an RFC or onboarding doc and you want a text-friendly (PlantUML) and an editable (drawio) view of the…

opensquilla/opensquilla · 81 tokens

meta-knowledge-base-bootstrap

Bootstrap a domain knowledge base from a single seed (URL / PDF path / git repo / free-text topic): classify source → ingest with the right tool → persist to memory + xlsx index.

opensquilla/opensquilla · 45 tokens