К основному содержанию
скилл CX Codex

excel-cli — скилл для Claude Code: что делает и как установить

Автоматизирует работу с книгами Excel на Windows: читает ячейки, пишет формулы, обновляет данные и подключается к открытым сессиям через консоль.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sbroenne/mcp-server-excel --skill excel-cli -a claude-code
Открыть на GitHub

Что делает excel-cli

Скилл управляет настольным Excel на Windows через скрипт запуска start-cli.ps1, который вызывает npx -y @sbroenne/excelcli@latest. Сама утилита не добавляется в PATH. Инструмент выполняет типовые задачи с файлами: чтение и запись ячеек, расчёт формул, обновление данных и автоматизацию без ручного переоткрытия окон.

Перед запуском файла скилл выполняет session discover и подключается к уже запущенному процессу через session attach --workbook-id <ID>. Такой подход бережёт несохранённые правки и параметры AutoSave. Если фоновая операция выполняется долго, проверять статус нужно через команду session list, не запуская повторный вызов вслепую.

Для работы требуются Windows с установленным классическим Excel, Node.js 18+ и PowerShell 7.4+ (pwsh). Стандартный Windows PowerShell 5.1 не поддерживается и приведёт к ошибке выполнения скрипта запуска.

Какие задачи решает

  • читать и обновлять значения ячеек в книгах настольного Excel
  • подключаться к уже открытому файлу Excel по workbookId
  • записывать формулы и запускать обновление данных
  • контролировать состояние фоновых сессий Excel через session list

Примеры запросов агенту

  • Выполни session discover, чтобы найти открытый отчёт и его workbookId
  • Подключись к активной сессии через session attach --workbook-id <ID> и обнови данные
  • Проверь через session list, завершилась ли операция в открытом файле Excel

Как установить excel-cli

1Через Skills CLI (Vercel)

npx skills add sbroenne/mcp-server-excel --skill excel-cli -a claude-code

2Вручную: положить файлы

~/.claude/skills/excel-cli/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/excel-cli/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о excel-cli

Как установить excel-cli в Claude Code?

Выполните команду npx skills add sbroenne/mcp-server-excel --skill excel-cli -a claude-code. Для работы понадобятся Windows с настольным Excel, Node.js 18 или новее и PowerShell 7.4+.

Что делает скилл excel-cli?

Он запускает CLI-инструмент для чтения, записи, расчёта формул и обновления таблиц Excel на Windows. Скилл умеет находить запущенные копии программы и работать с ними без повторного открытия файла.

Можно ли использовать стандартный Windows PowerShell 5.1?

Нет. Скрипт запуска прямо требует современный PowerShell 7.4 или новее (pwsh), иначе запуск утилиты завершится сбоем.

Исходный текст

SKILL.md · MIT
---
name: excel-cli
description: >-
  Discover and launch the Excel CLI for ordinary Excel workbook requests on
  Windows, including reads, writes, formulas, data refreshes, and workbook
  automation. Use the installed excel-cli plugin's npx launcher and native help
  to find commands; report presentation conventions are a separate optional skill.
compatibility: Windows with desktop Excel, PowerShell 7.4 or later, Node.js 18 or later, and the excel-cli plugin.
---

# Excel 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.

```powershell
& "<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.
Before opening, run `session discover` to find an already-open workbook. Confirm
the intended `workbookId`, then use `session attach --workbook-id <ID>` so the
workbook is not reopened. Check discovery `complete` and `errors`; an incomplete
scan cannot establish that a workbook is absent. Attach preserves unsaved edits
and leaves the workbook open when the service exits. Its response reports the
current AutoSave setting; open preserves it too. If enabled, Excel may save edits
automatically. Normal service shutdown leaves unsaved owned workbooks open and
visible without saving or discarding; save and close explicitly for completed jobs.
If a wait expires, check `session list` for the operation's start time, pending
work, and eventual outcome; do not automatically repeat it. Zero active requests
does not mean Excel has finished. Inspect the workbook after completion.
`service status` and `service stop` report recorded Excel copies from earlier
services. Stopping an already-stopped service leaves those copies open, and
they do not block a new service. `service stop` always stops the service; if a
workbook was busy or its state could not be confirmed, that Excel copy is left
as it is and reported in `shutdownWarning`. Use discovery and explicit attachment to inspect
them; unknown or incomplete information is not permission to end Excel.
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.

© sbroenne · MIT · sbroenne/mcp-server-excel

Похожие скиллы

Всё по теме «Документы и офис» →
excel-automation daymade Создаёт отчёты Excel через openpyxl, читает сложные модели xlsm через zipfile и управляет окном приложения на macOS. Пригодится для финотчётов и переноса бумажных бланков в таблицы. CX Codex +1 1 500установок csv-excel-merger OneWave-AI Скилл складывает несколько CSV, TSV и Excel в один файл: склеивает, джойнит по ключу, убирает дубли и проверяет арифметику строк. CX Codex +1 1 200установок dwg-to-excel datadrivenconstruction Конвертирует чертежи AutoCAD DWG в базы данных Excel и PDF через утилиту DwgExporter. Пригодится, когда нужно выгрузить слои, блоки и геометрию без покупки лицензий Autodesk. CX Codex +1 308установок minimax-xlsx MiniMax-AI Скилл для создания, чтения, редактирования и проверки Excel-файлов (.xlsx, .xlsm, .csv, .tsv) прямо в коде. Пригодится, если нужно обработать табличные данные, построить финмодель или исправить формулы без потери форматирования. CX Codex +1 3 800установок clean-data-xls официальный anthropics Скилл автоматизирует уборку грязных данных в Excel и Google Sheets: убирает пробелы, унифицирует регистр, конвертирует числа из текста, стандартизирует даты, удаляет дубликаты и выявляет колонки со смешанными типами. CX Codex +1 2 100установок

Из того же набора2

Спонсоры проекта

Компании, которые помогают держать аналитику открытой