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.
In this repository19 other files it gives its agents.
- debug-remote-pipelineSkill
- dictateSkill
- dtcatSkill
- dtdiffSkill
- dtfilterSkill
- esync-setupSkill
- hathifilesSkill
- hathitrust-lookupSkill
- julia-releaseSkill
- marginSkill
- mint-gh-tokenSkill
- nclqSkill
- pr-walkthroughSkill
- rendering-spec-docsSkill
- wrds-downloadSkill
- wrds-downloadSkill
- xldiffSkill
- xlfilterSkill
- xlsetSkill
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
- Very specific: line 75
Start with xlcat <file> to get the overview
- Very specific: line 77
Use --describe for statistical analysis
- Very specific: line 78
Use --head/--tail to zoom into specific regions
- Very specific: line 79
Use --csv when you need to pipe data to other tools
- Distinctive: line 87
When the user wants to examine an Excel file:
- Very specific: line 89
Run xlcat <file> to see the overview (sheets, schema, sample data)
- Very specific: line 90
If multi-sheet, ask which sheet interests them or use --sheet
- Very specific: line 93
If the user needs the data for further processing, use --csv
≈ “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.
Files
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 5MDefault 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
--sheetto pick one) - Large file (>1MB): shows schema + first 25 rows only
Flags
| Flag | Purpose |
--schema | Column names and types only |
--describe | Summary statistics (count, mean, std, min, max, median, unique) |
--head N | First N rows |
--tail N | Last N rows |
--all | All 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 |
--csv | Output as CSV instead of markdown |
Exit Codes
| Code | Meaning |
| 0 | Success |
| 1 | Runtime error (file not found, corrupt) |
| 2 | Invalid arguments |
Workflow
- Start with
xlcat <file>to get the overview - For multi-sheet files, pick a sheet with
--sheet - Use
--describefor statistical analysis - Use
--head/--tailto zoom into specific regions - Use
--csvwhen 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:
- Run
xlcat <file>to see the overview (sheets, schema, sample data) - If multi-sheet, ask which sheet interests them or use
--sheet - For data analysis questions, use
--describefor statistics - For specific rows, use
--head N/--tail N - If the user needs the data for further processing, use
--csv
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
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.

