Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

excelcli — AI Excel CLI / XLSX Generator from Natural-Language Prompts

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 Source Discord Website


Install

npm install -g officecli

Or via Homebrew:

brew install officecli/homebrew-officecli/officecli

Pick 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.


Generate an Excel workbook from a prompt

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 .xlsx file to ./output/ — editable in Excel, Numbers, Google Sheets, and WPS
  • Optionally returns a public preview URL when online publishing is configured
  • Powers data-grounded Report generation when given an existing .xlsx source

More examples

From a prompt file

officecli new xlsx "Annual Budget" --prompt-file ./budget.txt

Workbook-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 best

Custom output directory

officecli new xlsx "Forecast" --prompt-file ./fc.txt --out ./dist

JSON output for automation / CI

officecli new xlsx "Forecast" --prompt-file ./fc.txt --json

Skip online publish (local only)

officecli new xlsx "Internal Tracker" --prompt "..." --no-publish

Full command reference: officecli/officecli → Command Cheatsheet.


Feature highlights

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)

What excelcli is built for

  • 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 .xlsx snapshots in CI
  • AI agents / Claude Code plugins that need to emit .xlsx artifacts programmatically

Claude Code marketplace plugin

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 vs external runtime

  • Hosted (default) — fastest path. Free trial on first install, then officecli login and buy hosted credits at officecli.io/pricing. login prints 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

Related document CLIs

excelcli is one of the document generators in the OfficeCLI toolkit. Sibling tools share the same install and the same prompt-driven workflow:


Links

About

AI Excel CLI — generate editable .xlsx workbooks and data-grounded reports from natural-language prompts. Part of the OfficeCLI toolkit. Install: npm i -g officecli. Use: officecli new xlsx.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors