MITupdated 2mo ago
Extract once locally, query forever. Reduces token cost by loading only the relevant sheets/columns instead of an entire workbook.
What can you do with XLSX Smart Extractor?
name: xlsx-smart-extractor description: 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). license: MIT
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 list
Requires openpyxl. Cache lives in ~/.claude-cache/xlsx/; extract, chunk, and query all
resolve to that same location via the shared smart_cache library.
Install
Add XLSX Smart Extractor to your client. Pick the one you use.
npx skills add diegocconsolini/ClaudeSkillCollectionInstalls every skill in the repository, then prompts for which to keep.
/plugin marketplace add diegocconsolini/ClaudeSkillCollectionAdds the repository as a plugin marketplace; install individual plugins with `/plugin install`.
git clone https://github.com/diegocconsolini/ClaudeSkillCollection
cp -r xlsx-smart-extractor ~/.claude/skills/A skill is a plain directory. Copy it into `.claude/skills/` in a project or in your home directory.
Score
64 / 100
Good