본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드14k · #11371

xlsx-official

하는 일

이 스킬은 xlsx, xlsm, csv 같은 스프레드시트 파일을 다룹니다. 새 통합 문서를 만드는 일부터 기존 문서를 바꾸는 일까지 포함합니다. 예산, 모델, 데이터 표를 다루는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓수식과 합계가 있는 새 통합 문서가 필요할 때.
  • ✓기존 스프레드시트를 업데이트하거나 정리하거나 점검해야 할 때.
  • ✓시트를 CSV로 내보내거나 검토용으로 통합 문서를 렌더링하고 싶은 경우.

스킬 링크

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/xlsx-official/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/xlsx-official/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“합계를 수식으로 계산하는 월간 예산 시트가 있는 통합 문서를 만들어 주세요.”

매주 새 스킬 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_PYTHON environment variable is set, skip the pip installs below — run every command with python3/uv run replaced 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 (for bake.py/pdf_out.py) is exposed as MIMO_SOFFICE and 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:

  1. Use formulas, not hardcoded values. Compute totals with =SUM(...), not with a Python sum() written into the cell. When source data changes, the workbook must recompute itself.
  2. 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.
  3. One sheet per idea. Inputs on one sheet, calculations on another, output on a third. Cross-sheet references (Inputs!B5) make dependencies explicit.
  4. Named styles beat ad-hoc formatting. For anything reused (headers,
자주 묻는 질문

편집할 때 수식이 유지되나요?

스킬은 기존 통합 문서를 편집할 때 수식과 스타일을 그대로 유지하는 것을 다룹니다.

추가 소프트웨어가 필요한가요?

openpyxl이나 pandas 같은 Python 라이브러리를 사용하며, 설치되어 있다면 렌더링에 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬