Skill 88 · Convert Excel To Md
Subchapter 88.1
references/setup.mdMarkdown3 KBView on GitHub
Follow these steps exactly, in order, before running scripts/convert_excel_to_md.py
for the first time in a given environment. Don’t skip steps or improvise
alternatives — they’re written to be deterministic and safe to re-run.
python --versionwinget install --id Python.Python.3.12 -ebrew install python@3.12sudo apt-get update && sudo apt-get install -y python3 python3-pip python-is-python3python -m pip --versionpython -m ensurepip --upgradeUse the scripts/requirements.txt file bundled with this skill to install a pinned,
known-good version of the dependency:
python -m pip install -r scripts/requirements.txtThis pulls in markitdown[xlsx] (MarkItDown’s XLSX table conversion
dependencies, which include pandas and openpyxl). No extra package is needed for image extraction — this
skill’s script reads embedded images directly from the .xlsx zip
structure using Python’s built-in zipfile and xml modules.
python -c "from markitdown import MarkItDown; print('markitdown OK')"Expect to see markitdown OK printed with no errors. If you see
ModuleNotFoundError: No module named 'markitdown', repeat step 3 — pip may
be installing into a different Python environment than the one being
invoked (check python -m pip --version shows the same path as python --version‘s interpreter).
convert_excel_to_md.py itself also checks for markitdown at startup
and prints a pointer back to this file if it’s missing, so re-running
setup is safe and idempotent..xlsx is supported by this skill. Legacy binary .xls files are
out of scope (a completely different, harder-to-parse file format) — ask
the user to re-save the file as .xlsx (Excel: File > Save As > Excel
Workbook (.xlsx)) if one is encountered.xl/media folder are. Native Excel charts would need to be rendered by
Excel/LibreOffice to become images, which this lightweight skill does not
attempt.