Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/sbroenne/mcp-server-excel/excel-clinpx skills add sbroenne/mcp-server-excel --skill excel-cligit clone --depth 1 https://github.com/sbroenne/mcp-server-excelWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00114 | $0.02636 |
| Opus 5 | $0.00057 | $0.01318 |
| Sonnet 5 | $0.00023 | $0.00527 |
| Haiku 4.5 | $0.00011 | $0.00264 |
Grade A, and why
excel-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Excel Automation with excelcli
Preconditions
- Windows host with Microsoft Excel installed (2016+)
- Uses COM interop — does NOT work on macOS or Linux
- Every command below invokes
excelclidirectly, so it must resolve on PATH. Installing theexcel-cliplugin does not put it there — the global shim is opt-in. Runcom.github.copilot\bin\install-global.ps1from the installed plugin folder once (it writesexcelcli.cmd/excelcli.ps1into~\.copilot\binand adds that to your user PATH), or install the runtime independently via the standalone release zip ordotnet tool install --global Sbroenne.ExcelMcp.CLI. Ifexcelcliis not found, report that and stop — do not guess at a path. - In an Agent Plugins host, the runtime is downloaded and cached under
PLUGIN_DATA\runtime; release freshness is checked once per Copilot session. The optional global shim falls back to~\.copilot\plugin-runtime\mcp-server-excel\excel-cliand checks for updates at most once every 24 hours.
Workflow Checklist
| Step | Command | When |
|---|---|---|
| 1. Session | session create/open |
Always first |
| 2. Sheets | sheet create/rename |
If needed |
| 3. Write data | See below | If writing values |
| 4. Save & close | session close --save |
Always last |
10+ commands? Use
excelcli -q batch --input commands.json— sends all commands in one process with automatic session management. See Rule 8.
Writing Data (Step 3):
--valuestakes a JSON 2D array string:--values '[["Header1","Header2"],[1,2]]'- Write one row at a time for reliability:
--range A1:B1 --values '[["Name","Age"]]' - Strings MUST be double-quoted in JSON:
"text". Numbers are bare:42 - Always wrap the entire JSON value in single quotes to protect special characters
CRITICAL RULES (MUST FOLLOW)
⚡ Building dashboards or bulk operations? Skip to Rule 8: Batch Mode — it eliminates per-command process overhead and auto-manages session IDs.
What ships with it
27 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 3.6 KB
- references/analysis.md 2.4 KB
- references/anti-patterns.md 12 KB
- references/behavioral-rules.md 15 KB
- references/chart.md 8.1 KB
- references/cli-commands.md 96 KB
- references/conditionalformat.md 8.6 KB
- references/dashboard.md 5.4 KB
- references/datamodel.md 12 KB
- references/dmv-reference.md 2.9 KB
- references/drawing.md 2.3 KB
- references/excel_agent_mode.md 6.0 KB
- references/gotchas.md 7.1 KB
- references/m-code-syntax.md 1.3 KB
- references/pivottable.md 7.6 KB
- references/powerquery.md 9.1 KB
- references/querytable.md 2.6 KB
- references/range.md 7.4 KB
- references/README.md 875 B
- references/screenshot.md 5.5 KB
- references/slicer.md 3.8 KB
- references/table.md 4.6 KB
- references/window.md 5.5 KB
- references/workbook.md 2.2 KB
- references/workflows.md 2.6 KB
- references/worksheet.md 4.0 KB
- references/xmlmap.md 2.1 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 218 lines · 114 tokens per session scan A acee04e670dd
excel-cli is a skill published in the GitHub repository sbroenne/mcp-server-excel (645 stars, last pushed 3d ago), licensed MIT. It adds 114 tokens to every session and 2,636 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
automating-excel
Automates Microsoft Excel on macOS via JXA with AppleScript dictionary discovery. Use when asked to "automate Excel spreadsheets", "JXA Excel scripting", "Excel macOS automation", or "bulk Excel data operations". Focuses on workbooks, worksheets, ranges, 2D arrays, performance toggles, and VBA escape hatches.
bilig-xlsx-formula-recalc
Recalculate XLSX formula outputs in Node.js after cell edits without opening Excel, LibreOffice, or browser automation.
powerpoint-cli
PowerPoint CLI automation skill for Windows presentations. Use when a coding agent needs token-efficient, scriptable, or unattended PowerPoint automation via pptcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk deck edits. Supports slides, shapes, text frames, tables…
exceljs-formula-recalc
Recalculate formula outputs for ExcelJS workbook flows in Node.js after agents or services edit cells.
sheetjs-formula-recalc
Add fresh formula readback to SheetJS and xlsx workflows after writing XLSX inputs in Node.js.
powerpoint-mcp
PowerPoint MCP Server skill for Windows presentation automation via a live PowerPoint desktop instance (COM/PIA). Use when an assistant needs rich MCP tools to create, open, build, format, and export PowerPoint (.pptx/.pptm) presentations — slides, shapes, text boxes, tables, native charts, images, audio, video…