excelcli turns a written prompt into a real, editable .xlsx workbook — no templates, no manual formulas, no Excel app required. excelcli is the Excel generator inside the OfficeCLI toolkit, distributed as a single cross-platform binary on npm and Homebrew.
npm install -g officecliOr via Homebrew:
brew install officecli/homebrew-officecli/officecliPick one channel. If you previously installed via Homebrew and now want npm, uninstall the Homebrew formula first. Full install guide: officecli/officecli.
After install, the first run uses hosted anonymous trial access — no API key, no local model endpoint needed.
officecli new xlsx "Sales Pipeline" \
--prompt "Stages: Discovery, Demo, Proposal, Negotiation, Closed-Won, Closed-Lost. Columns: deal, owner, value, probability, next action."What excelcli does under that single command:
- Plans the workbook structure from your prompt (sheets, headers, columns, formulas)
- Writes a real
.xlsxfile to./output/— editable in Excel, Numbers, Google Sheets, and WPS - Optionally returns a public preview URL when online publishing is configured
- Powers data-grounded
Reportgeneration when given an existing.xlsxsource
From a prompt file
officecli new xlsx "Annual Budget" --prompt-file ./budget.txtWorkbook-backed report from real data
officecli new report "Q2 Business Review" \
--file ./data/q2_metrics.xlsx \
--prompt "Summarize regional revenue shifts and the board-level decision points."Higher-quality interactive mode
officecli new xlsx "Cohort Retention Workbook" --mode bestCustom output directory
officecli new xlsx "Forecast" --prompt-file ./fc.txt --out ./distJSON output for automation / CI
officecli new xlsx "Forecast" --prompt-file ./fc.txt --jsonSkip online publish (local only)
officecli new xlsx "Internal Tracker" --prompt "..." --no-publishFull command reference: officecli/officecli → Command Cheatsheet.
| Capability | Flag / command |
|---|---|
Natural-language → real .xlsx |
officecli new xlsx <title> --prompt "..." |
| Multi-sheet workbooks | inferred from the prompt |
| Workbook-backed reports | officecli new report <title> --file <xlsx> |
| Prompt from file | --prompt-file path |
| Higher-quality planner | --mode best |
| Custom output dir | --out ./dist |
| JSON output for automation | --json |
| Skip online publish | --no-publish |
| Persistent TUI | officecli (no args) |
- Sales operations producing pipeline trackers and forecast workbooks on demand
- Finance teams turning narrative briefs into budget / actuals templates
- Analysts generating reusable reporting workbooks from a description
- Product managers drafting metric scorecards and cohort tables
- Founders turning fundraising notes into a financial model skeleton
- Engineering / data teams automating weekly
.xlsxsnapshots in CI - AI agents / Claude Code plugins that need to emit
.xlsxartifacts programmatically
OfficeCLI ships as an official Claude Code marketplace plugin, so agents can generate .xlsx files directly from inside Claude Code:
/plugin marketplace add officecli/officecli
/plugin install officecli@officecli
Details: officecli/officecli → Claude Marketplace Install.
-
Hosted (default) — fastest path. Free trial on first install, then
officecli loginand buy hosted credits at officecli.io/pricing.loginprints a URL and short code, so it works in headless / remote shells too. -
External — point excelcli at your own model endpoint:
officecli config set-runtime external officecli config set-generation
excelcli is one of the document generators in the OfficeCLI toolkit. Sibling tools share the same install and the same prompt-driven workflow:
- 🎞 PowerPoint — pptcli ·
officecli new pptx· pptcli/pptcli - 📊 Excel — excelcli ·
officecli new xlsx· excelcli/excelcli - 📝 Word — wordcli ·
officecli new docx· wordcli/wordcli
- 🏠 Source & releases: https://github.com/officecli/officecli
- 📦 npm: https://www.npmjs.com/package/officecli
- 🌐 Website: https://officecli.io
- 💬 Discord: https://discord.gg/ezAHMkdG