xlfilter
Skill1 starsChanged 3 months agoMITView on GitHub
Use when the user asks to filter, query, search, or extract specific rows or columns from an Excel spreadsheet. Also use when the user wants to sort spreadsheet data, find rows matching conditions, or select specific columns from an xlsx file.
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
- xlcatSkill
- xldiffSkill
- xlsetSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
Use xlcat file.xlsx first to see schema and sample data
- Very specific: line 83
Use --where to filter rows by conditions
- Very specific: line 84
Use --cols to narrow to relevant columns
- Very specific: line 85
Use --sort to order results
- Very specific: line 86
Use --csv when piping to other tools
≈ “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
xlfilter — Excel Row/Column Filter
Filter, sort, and select data from Excel files. Outputs markdown tables or CSV.
Quick Reference
# Filter rows where State equals CA
xlfilter file.xlsx --where State=CA
# Multiple filters (AND logic)
xlfilter file.xlsx --where State=CA --where Amount>1000
# Select specific columns
xlfilter file.xlsx --cols State,City,Amount
# Sort by column (ascending by default)
xlfilter file.xlsx --sort Amount
xlfilter file.xlsx --sort Amount:desc
# Limit output rows
xlfilter file.xlsx --where Status=Active --limit 10
# First/last N rows (before filtering)
xlfilter file.xlsx --head 20
xlfilter file.xlsx --tail 10
# Target a specific sheet
xlfilter file.xlsx --sheet Revenue --where Region=East
# Skip metadata rows above the real header
xlfilter file.xlsx --skip 2 --where Name~alice
# CSV output for piping
xlfilter file.xlsx --where Amount>500 --csvFilter Operators
| Operator | Meaning | Example |
= | Equals | State=CA |
!= | Not equals | Status!=Draft |
> | Greater than | Amount>1000 |
< | Less than | Year<2024 |
>= | Greater or equal | Score>=90 |
<= | Less or equal | Price<=50 |
~ | Contains (case-insensitive) | Name~john |
!~ | Not contains | Name!~test |
Numeric columns compare numerically. String columns compare lexicographically.
Flags
| Flag | Purpose |
--where <expr> | Filter rows (repeatable, AND logic) |
--cols <cols> | Select columns by name or letter (A,B,D) |
--sort <spec> | Sort by column (col or col:desc) |
--limit <n> | Max rows in output (after filtering) |
--head <n> | First N rows (before filtering) |
--tail <n> | Last N rows (before filtering) |
--sheet <name|idx> | Select sheet by name or 0-based index |
--skip <n> | Skip metadata rows above header |
--csv | Output as CSV instead of markdown |
Exit Codes
| Code | Meaning |
| 0 | Success |
| 1 | Runtime error |
| 2 | Invalid arguments |
Workflow
- Use
xlcat file.xlsxfirst to see schema and sample data - Use
--whereto filter rows by conditions - Use
--colsto narrow to relevant columns - Use
--sortto order results - Use
--csvwhen piping to other tools
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.

