Ordinary-claude-skills user-file-ops

Simple operations on user-provided text files including summarization.

install
source · Clone the upstream repo
git clone https://github.com/Microck/ordinary-claude-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Microck/ordinary-claude-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills_all/user-file-ops" ~/.claude/skills/microck-ordinary-claude-skills-user-file-ops && rm -rf "$T"
manifest: skills_all/user-file-ops/SKILL.md
source content

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