xlsx-code-mode
Installation
SKILL.md
Setup
Files are cached server-side by content hash so repeated operations skip re-upload.
The CLI automatically applies per-attempt request timeouts and retries transient API failures (408, 429, 500, 502, 503, 504, plus timeout/network errors). Non-retryable 4xx responses fail immediately.
The CLI automatically converts older .xls files to .xlsx, so it fully supports all Excel file formats.
Quick Reference
# Create a new workbook from scratch (.xlsx only)
witan xlsx exec model.xlsx --create --save --stdin <<'WITAN'
await xlsx.addSheet(wb, "Inputs")
await xlsx.setCells(wb, [{ address: "Inputs!A1", value: "Revenue" }])
return await xlsx.listSheets(wb)
WITAN
Related skills
More from witanlabs/witan-cli
read-source
Extract text from source documents (PDF, DOCX, PPTX, HTML, Markdown) for spreadsheet workflows. Use to understand source material before populating workbooks.
25xlsx-verify
Verify Excel spreadsheets — render to check layout, calc to check formulas, lint to catch formula bugs. Use alongside your spreadsheet update tools.
7