首页/ AI 技能 / @skilllib/skill-2117939930272415847
Skill站外收录 @skilllib/skill-2117939930272415847

user_file_ops

对用户或系统生成的文本文件进行内容摘要与基础统计,可提取行数、字数、字节数等信息并生成简要预览,适用于处理输入目录或技能输出的文本数据。

0.0 (0) 28 次安装 原作者 编程导航
收录于 2026-01-22

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

评论 0

还没有评论,来抢沙发。