Excel CLI automation skill for Windows workbooks. Use when a coding agent needs token-efficient, scriptable, or unattended Excel automation via excelcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk workbook edits. Supports Power Query, DAX, PivotTables, Tables, Ranges, Charts, VBA, Data Models, screenshots, and formatting. Triggers: excelcli, Excel CLI, command line, batch, script, automation, CI/CD, scheduled, PowerShell, unattended, coding agent...
Install
npx skills add https://github.com/sbroenne/mcp-server-excel --skill excel-cliExcel CLI discovery
The plugin does not place excelcli on PATH. Its launcher runs
npx -y @sbroenne/excelcli@latest; do not assume a standalone executable is
installed or restore the retired GitHub-release downloader.
For the plugin-bundled copy of this skill, ..\..\bin\start-cli.ps1 relative to
the directory containing this SKILL.md locates the plugin launcher.
Replace <plugin-root> below with that plugin's actual installed directory:
Run these commands in PowerShell 7.4 or later (pwsh), not Windows PowerShell 5.1.
& "<plugin-root>\bin\start-cli.ps1" --help
& "<plugin-root>\bin\start-cli.ps1" session --help
Use the same full launcher path for subsequent commands, especially quoted JSON
arguments. Discover exact command names, flags, defaults,
and save/close behavior through native --help; do not invent syntax.
Inspect the existing workbook state relevant to the request. Preserve unrelated
contents and save only the authorized result. If an operation fails, inspect its
reported partial state rather than assuming rollback or automatically cleaning up.
For JSON errors, read errorMessage as the single error-text field; use
errorCategory when present to guide recovery.
Load excel-cli-report-formatting only for requested report presentation, not
ordinary Excel reads or targeted updates.