| name | office-reader |
| description | Read Excel (.xls, .xlsx) and Word (.docx) files — extract text, tables, and data. Use whenever you receive an Office document attachment. |
| allowed-tools | Bash(office-reader:*) |
Office Reader
Quick start
office-reader extract report.xlsx
office-reader extract report.xlsx --sheet Sales
office-reader extract report.xlsx --json
office-reader extract contract.docx
office-reader info report.xlsx
office-reader list
Commands
extract — Extract content from Office files
office-reader extract <file>
office-reader extract <file> --sheet <name>
office-reader extract <file> --json
Supported formats: .xls, .xlsx, .docx
info — File metadata
office-reader info <file>
Shows sheet names, row counts, and file size for Excel files.
list — Find all Office files
office-reader list
Recursively lists all .xls, .xlsx, .docx files with size.
WhatsApp Office attachments
When a user sends an Office file on WhatsApp, it is saved to attachments/. The message includes:
[Office: attachments/report.xlsx (207KB)]
Use: office-reader extract attachments/report.xlsx
To read the attached file:
office-reader extract attachments/report.xlsx
office-reader extract attachments/report.xlsx --json