agentleFS
LouLouLibsLouLouLibs/claude-skills/skills/xlcat/SKILL.md

xlcat

Skill1 starsChanged 3 months agoMITView on GitHub

View and analyze Excel (.xls/.xlsx) files using xlcat. Use when the user asks to open, view, inspect, read, or analyze an Excel spreadsheet, or when you encounter an .xls or .xlsx file that needs to be examined.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start with xlcat <file> to get the overview

    line 75
  2. Very specific:

    Use --describe for statistical analysis

    line 77
  3. Very specific:

    Use --head/--tail to zoom into specific regions

    line 78
  4. Very specific:

    Use --csv when you need to pipe data to other tools

    line 79
  5. Distinctive:

    When the user wants to examine an Excel file:

    line 87
  6. Very specific:

    Run xlcat <file> to see the overview (sheets, schema, sample data)

    line 89
  7. Very specific:

    If multi-sheet, ask which sheet interests them or use --sheet

    line 90
  8. Very specific:

    If the user needs the data for further processing, use --csv

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

xlcat — Excel File Viewer

View and analyze Excel files at the command line. Outputs structured, LLM-friendly markdown.

Quick Reference

# Overview: metadata + schema + first/last 25 rows
xlcat file.xlsx

# Column names and types only
xlcat file.xlsx --schema

# Summary statistics per column
xlcat file.xlsx --describe

# View a specific sheet (name or 0-based index)
xlcat file.xlsx --sheet Revenue
xlcat file.xlsx --sheet 0

# First N rows
xlcat file.xlsx --head 10

# Last N rows
xlcat file.xlsx --tail 10

# First N + last M rows
xlcat file.xlsx --head 10 --tail 5

# All rows (overrides size limit)
xlcat file.xlsx --all

# Raw CSV output for piping
xlcat file.xlsx --csv

# Override large-file threshold (default 1MB)
xlcat file.xlsx --max-size 5M

Default Behavior

  • Single sheet, <=50 rows: shows all data
  • Single sheet, >50 rows: shows first 25 + last 25 rows
  • Multiple sheets: lists all sheets with schemas, no data (use --sheet to pick one)
  • Large file (>1MB): shows schema + first 25 rows only

Flags

FlagPurpose
--schemaColumn names and types only
--describeSummary statistics (count, mean, std, min, max, median, unique)
--head NFirst N rows
--tail NLast N rows
--allAll rows (overrides large-file gate)
--sheet <name|index>Select sheet by name or 0-based index
--max-size <size>Large-file threshold (default: 1M). Accepts: 500K, 1M, 10M, 1G
--csvOutput as CSV instead of markdown

Exit Codes

CodeMeaning
0Success
1Runtime error (file not found, corrupt)
2Invalid arguments

Workflow

  1. Start with xlcat <file> to get the overview
  2. For multi-sheet files, pick a sheet with --sheet
  3. Use --describe for statistical analysis
  4. Use --head/--tail to zoom into specific regions
  5. Use --csv when you need to pipe data to other tools

Modes Are Mutually Exclusive

--schema, --describe, and data mode (default) cannot be combined. Row selection flags (--head, --tail, --all) only work in data mode.

How to Use This Skill

When the user wants to examine an Excel file:

  1. Run xlcat <file> to see the overview (sheets, schema, sample data)
  2. If multi-sheet, ask which sheet interests them or use --sheet
  3. For data analysis questions, use --describe for statistics
  4. For specific rows, use --head N / --tail N
  5. If the user needs the data for further processing, use --csv

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.