金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

user_file_ops

user_file_ops 是面向数据与分析、内容与媒体的 Agent Skill,来自 trpc-group/trpc-agent-go。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Simple operations on user-provided text files including summarization.

SKILL.md

下载 MD ↓
nameuser-file-ops
descriptionSimple operations on user-provided text files including summarization.

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

来源:trpc-group/trpc-agent-go · Apache-2.0 许可 · 许可原文 · MD 为来源页保存的历史版本