Quick-start routine and exact command names for scripting Excel workbook changes through the excelcli command.

CCM score
76 of 100
skills.sh installs
1K
GitHub stars
963
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the open, change, check, and save routine in about three batch calls, with session.open, --stop-on-error, and session close --save
  • Includes a lookup table of exact camelCase argument names for common actions such as range.set-values, table.append, pivottable.create-from-table, and chart.create-from-range
  • Enforces an overwrite guard so range.set-values and range.set-formulas refuse to replace existing cells unless overwritePolicy is set to allow
  • Designed for coding agents that need token-efficient, unattended Excel edits, with reads limited to the rows and columns actually needed

Install

$ npx -y skills add sbroenne/mcp-server-excel --skill excel-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

excelcli quick start

If excelcli is not on PATH, run this plugin's bin\start-cli.ps1 by its full path with the same arguments.

The routine: about three calls

  1. Open and look in one batch. Start the batch with session.open; later entries in the same batch use that workbook automatically. Read what you need to plan, such as sheet.list, table.list and range.get-used-range. The result of session.open gives the sessionId. Before editing, check its autoSaveOn and warning: Excel may save edits automatically.
  2. Change and check in one batch with --session <sessionId> --stop-on-error. Put the writes first, then reads of the cells you changed, so one result shows that the change worked.
  3. Save and close: session close --session <sessionId> --save, only after step 2's reads look right. Closing without --save discards only unsaved edits; it cannot undo changes already saved by AutoSave.

Details

Repository
github.com/sbroenne/mcp-server-excel
Categories
Office Files & Slides, Workflow Automation
First seen
Apr 16, 2026

Similar to Excel Cli

More Office Files & Slides