A skill that lets Claude Code query and edit live Excel files using SQL.
Uses xlwings (Excel process control) + pandasql (in-memory SQL) — no intermediate database files.
When working with large Excel datasets, loading the whole file into context is wasteful and slow. This skill lets Claude Code:
- Read data with SQL queries (
SELECT * FROM Monsters WHERE hp > 1000) - Write changes back to the open Excel file (
UPDATE Monsters SET damage = damage * 1.2) - Excel auto-recalculates formulas — you see results in real-time
npx skills add github:yulcat/excel-sql-skillOr clone manually into your project's skills/ folder.
pip install -r requirements.txtThe target Excel file must be open in Excel before attaching.
| Platform | Live Edit | Notes |
|---|---|---|
| Windows | ✅ Full | COM automation, real-time cell updates |
| macOS | ✅ Works | AppleScript bridge, may need manual save |
| Linux | ❌ No | No Excel desktop app |
See SKILL.md for detailed usage instructions and examples.
Excel (open) ←→ xlwings ←→ pandas DataFrame ←→ pandasql (SQL) ←→ Claude Code
↑ ↓
writes cells reads/analyzes
directly via SQL queries
MIT