xlsx-official
Что он делает
Этот скилл работает с файлами таблиц, например xlsx, xlsm и csv: от создания новых книг до изменения существующих. Он нужен тем, кто работает с бюджетами, моделями и таблицами данных.
Когда использовать
- ✓Когда нужна новая книга с формулами и итогами.
- ✓Когда нужно обновить, очистить или проверить существующую таблицу.
- ✓Когда нужно экспортировать лист в CSV или подготовить книгу для проверки.
Ссылка на скилл
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/xlsx-official/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Сделай книгу с листом месячного бюджета, где итоги считаются через формулы.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент выбирает путь: создание нового файла с помощью openpyxl или pandas, редактирование существующей книги или чтение данных для анализа. Перед тем как вернуть результат, он его проверяет.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
XLSX Skill
An Apache-2.0 toolkit for producing, editing, and reading Microsoft Excel
(.xlsx) files. Written from scratch against the public
ECMA-376 / ISO/IEC 29500 (SpreadsheetML)
specification and built on permissively-licensed tooling
(openpyxl MIT, pandas BSD-3-Clause, lxml BSD-3-Clause,
optional xlsxwriter BSD-2-Clause, optional external binary soffice
MPL 2.0) so it can be reused in commercial projects without restriction.
Decision matrix
| Situation | Path | Read first |
|---|---|---|
| Build a workbook from a prompt / dataframe / raw values | Author with openpyxl (formulas + formatting) or pandas (bulk data) |
create.md |
Edit an existing .xlsx — add rows, patch cells, refresh formulas |
Load with openpyxl, preserve formulas & styles |
edit.md |
| Only need to read the data out (analysis, ETL, quick QA) | pandas.read_excel + openpyxl for structural inspection |
read.md |
| Clean, aggregate, or transform tabular data before writing back | pandas pipeline, then hand back to openpyxl for final polish | analyze.md |
| Deep structural edits (custom XML parts, defined names, VBA-free surgery) | Unpack → edit XML → repack | edit.md → Raw XML workflow |
| Recompute formula values before shipping | scripts/bake.py via LibreOffice |
see QA below |
If the task mixes several of these, do them in this order: read → plan → edit/create → recalc → validate.
One-time environment setup
Bundled runtime: when the
MIMO_PYTHONenvironment variable is set, skip the pip installs below — run every command withpython3/uv runreplaced by"$MIMO_PYTHON"(e.g."$MIMO_PYTHON" scripts/overview.py book.xlsx). openpyxl/pandas/lxml/xlsxwriter are preinstalled in that interpreter; pip console scripts are unavailable, so always go through"$MIMO_PYTHON" -m <module>. A bundled LibreOffice (forbake.py/pdf_out.py) is exposed asMIMO_SOFFICEand picked up automatically.
python3 -m pip install --upgrade openpyxl pandas lxml
# Optional but recommended:
python3 -m pip install --upgrade xlsxwriter
# For formula recalc and PDF export:
# macOS brew install --cask libreoffice
# Debian/Ubuntu apt-get install -y libreoffice
Every script under scripts/ uses only the standard library plus openpyxl
and pandas. No proprietary dependencies.
Common commands
# 1. Describe a workbook (sheets, dimensions, formula count, sample rows)
python scripts/overview.py input.xlsx
# 2. Recalculate every formula, then flag any residual #REF! / #DIV/0! / etc.
python scripts/bake.py output.xlsx # default 30s LibreOffice timeout
python scripts/bake.py output.xlsx --timeout 60 # custom timeout
# 3. Validate ZIP integrity, XML well-formedness, and openpyxl load
python scripts/audit.py output.xlsx
# 4. Convert to CSV (one file per sheet, or a single sheet by name/index)
python scripts/csv_out.py input.xlsx out_dir/ # all sheets
python scripts/csv_out.py input.xlsx out.csv --sheet 0 # first sheet
# 5. Convert to PDF for visual QA (needs LibreOffice)
python scripts/pdf_out.py output.xlsx # writes output.pdf next to it
# 6. Unpack an .xlsx into readable XML parts (for surgical edits)
python scripts/explode.py input.xlsx unpacked/
# 7. Repack an unpacked directory into a fresh .xlsx
python scripts/assemble.py unpacked/ output.xlsx
Every script is a small, self-contained Python file. Read the top of the file for full CLI options.
Authoring principles
Excel is a live calculation surface, not a static table renderer. Users open workbooks and expect to change numbers, watch the rest update, and trust what they see. Keep that in mind:
- Use formulas, not hardcoded values. Compute totals with
=SUM(...), not with a Pythonsum()written into the cell. When source data changes, the workbook must recompute itself. - Put assumptions in dedicated input cells. Reference them from formulas
(
=B5*(1+$B$6)), never inline (=B5*1.05). This is the single biggest determinant of whether a model is usable. - One sheet per idea. Inputs on one sheet, calculations on another, output
on a third. Cross-sheet references (
Inputs!B5) make dependencies explicit. - Named styles beat ad-hoc formatting. For anything reused (headers,
Частые вопросы
Сохранит ли он мои формулы при редактировании?
Скилл охватывает редактирование существующих книг с сохранением формул и стилей.
Нужно ли дополнительное ПО?
Он использует библиотеки Python, например openpyxl и pandas, а для отрисовки может использовать LibreOffice, если он установлен.
Умеет ли он читать CSV?
Да. Скилл включает чтение и экспорт файлов CSV и TSV.
Подробности
Оригинальное описание автора
Spreadsheet toolkit. Reach for it whenever the artifact on either side of the conversation is a workbook file — .xlsx, .xlsm, .xltx, .csv, .tsv — and the user wants that artifact produced, changed, cleaned, or read. Typical triggers: 'build me a model', 'update this sheet', 'add a column', 'compute the totals as formulas', 'sanity-check this xlsx', 'export sheet 2 to CSV', 'render the workbook as PDF', 'the spreadsheet in ~/Downloads is a mess, fix it'. Applies equally to financial models, ops reports, data cleanups, and template fills. Skip it when the workbook is only source material and the
repo: XiaomiMiMo/MiMo-Code
Популярность
- Звёзды на GitHub
- 14k
- Место в рейтинге
- #11371
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
effect
14kПомогает агенту отвечать на вопросы о фреймворке Effect для TypeScript, проверяя его исходный код и документацию, а не полагаясь на память.
arxiv
14kПомогает агенту искать, читать, цитировать и отслеживать научные статьи на arXiv: аннотации, цитаты BibTeX, загрузку PDF и связи цитирования.
claude-code
14kПомогает агенту передать задачу по кодингу инструменту командной строки Claude Code: как разовый запуск, интерактивную сессию или фоновую задачу.
codex
14kПомогает агенту запускать инструмент командной строки OpenAI Codex без окна чата для задач по кодингу, скриптов и автоматических конвейеров.
Похожие скиллы
feishu-doc
394kПомогает агенту читать, создавать и редактировать облачные документы Feishu, включая текст, изображения и таблицы, с помощью инструмента для документов.
feishu-drive
394kПозволяет агенту просматривать, упорядочивать и комментировать файлы в облачной папке Feishu, к которой предоставлен доступ боту.
feishu-perm
394kПомогает агенту проверить и изменить, кто может получить доступ к файлу Feishu, выбирая наименьшее право, которое соответствует вашему запросу.