xlsx-smart-extractor
Skill7 starsChanged 14 months agoMITView on GitHub
Use this skill to extract and analyze large Excel workbooks (1MB-50MB+) with minimal token usage. Losslessly extracts formulas, cell formatting, and complex tables while achieving 20-100x token reduction through local extraction, semantic chunking, and intelligent caching. Use when an .xlsx is too large for the context window (compliance matrices, financial models, audit logs).
In this repository15 other files it gives its agents.
- chrome-devtools-optimizer/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- batch-security-migrationSkill
- chrome-devtools-optimizerSkill
- claude-guideSkill
- cybersecurity-policy-generatorSkill
- docx-smart-extractorSkill
- gdpr-auditorSkill
- incident-response-playbook-creatorSkill
- pdf-smart-extractorSkill
- plugin-security-checkerSkill
- sbomSkill
- security-hooksSkill
- security-memory-templatesSkill
- security-report-builderSkill
The file
Files
Excel Smart Extractor Skill
Extract once locally, query forever. Reduces token cost by loading only the relevant sheets/columns instead of an entire workbook.
Usage
# 1. Extract (one-time, local — caches to ~/.claude-cache/xlsx/)
python scripts/extract_xlsx.py workbook.xlsx
# 2. Chunk the extracted content
python scripts/chunk_sheets.py {cache_key}
# 3. Query / list
python scripts/query_xlsx.py search {cache_key} "your query"
python scripts/query_xlsx.py listRequires openpyxl. Cache lives in ~/.claude-cache/xlsx/; extract, chunk, and query all
resolve to that same location via the shared smart_cache library.
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.

