/convert-to-md:convert-excel-to-mdfrom convert-to-md
Converts Excel .xlsx workbooks to Markdown so spreadsheet contents can be read, summarized, searched, extracted, compared, charted, or analyzed.
Ships in convert-to-md. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Converts .xlsx workbooks into Markdown folders with sheet tables and extracted embedded images, then reads the Markdown output to perform the user's requested analysis instead of parsing zipped Excel XML directly.
.xlsx only. For legacy .xls, ask the user to re-save as .xlsx using Excel: File > Save As > Excel Workbook (.xlsx).references/setup.md to ensure Python, pip, and markitdown are installed.scripts/convert_excel_to_md.py..xlsx directly or write ad-hoc extraction code..md files to perform the requested analysis.ask_user or the host's confirmation mechanism to obtain the full absolute path before conversion..pdf, .docx, and .xlsx files, invoke convert-pdf-to-md, convert-word-to-md, and convert-excel-to-md so no supported type is skipped.scripts/convert_excel_to_md.py on the file or folder.--recursive only when subfolders should be included.python scripts\convert_excel_to_md.py "C:\path\to\workbook.xlsx"
python scripts\convert_excel_to_md.py "C:\path\to\workbook.xlsx" -o "C:\path\to\output_folder"
python scripts\convert_excel_to_md.py "C:\path\to\folder"
python scripts\convert_excel_to_md.py "C:\path\to\folder" --recursive
python scripts\convert_excel_to_md.py "C:\path\to\folder" --recursive -o "C:\path\to\output_parent"
Use -o only when the user explicitly says where to save output, such as C:\output or D:\work. Do not choose -o based on the agent current working directory, session state folder, or implied location.
| Feature | Behavior |
|---|---|
| Workbook output | A <name>/ folder is created next to the source .xlsx by default. |
| Markdown file | <name>/<name>.md contains each sheet as its own ## <SheetName> Markdown table. |
| Images | Real embedded raster pictures are extracted into <name>/img/ and inserted after each sheet table under #### Images in this sheet. |
| Image filenames | sheet001_<sheetname>_img001.<ext>, sheet002_<sheetname>_img001.<ext>, and so on. |
| Placement accuracy | Images are placed per sheet, not exact cell position, because MarkItDown anchors stable output at ## <SheetName>. |
| No images | No img/ folder or image sections are created. |
| Charts | Native Excel charts are not extracted; only real embedded pictures are extracted. |
| Batch mode | Each .xlsx gets its own <name>/ output folder; with -o, generated folders are collected under the output parent and subfolder structure is preserved with --recursive. |
| Non-Excel files | Folder conversion intentionally skips non-.xlsx files and reports NOTE: skipped N non-.xlsx file(s). |
| Symptom | Likely cause | Resolution |
|---|---|---|
ModuleNotFoundError: No module named 'markitdown' / exit code 2 | MarkItDown is not installed. | Follow references/setup.md. |
ERROR: Unsupported file type '.xls' / exit code 3 | Legacy .xls, not .xlsx. | Ask the user to re-save as .xlsx. |
ERROR: Input path not found / exit code 3 | Wrong path or moved file. | Confirm the correct absolute path with the user. |
FAILED <file> -> ... in batch output | That workbook is corrupt, password-protected, or unreadable. | Report failed files; other batch files may still succeed. |
NOTE: skipped N non-.xlsx file(s) | Folder contains non-Excel files. | Expected for this skill; invoke sibling skills for .pdf and .docx. |
| A sheet's charts do not appear as images | Charts are chart objects, not embedded raster images. | Expected limitation; explain if the user needs chart images. |
references/setup.md: Python, pip, and MarkItDown setup.scripts/convert_excel_to_md.py: deterministic Excel-to-Markdown conversion with embedded picture extraction.scripts/requirements.txt: Python package requirements for the script.| Name | Type | Use it when |
|---|---|---|
convert-pdf-to-md | skill | The input set contains .pdf files. |
convert-word-to-md | skill | The input set contains .docx files. |
IMPORTANT: the agent MUST convert before analysis. MarkItDown's XLSX output is self-contained in <name>\, such as workbook\, workbook.md, and workbook\img\. Image placement is per-sheet; native charts require Excel/LibreOffice rendering and are out of scope. Batch output can use -o "C:\path\to\output_parent" only when the user explicitly requests it.
### Excel to Markdown conversion result
**Status:** converted | partially converted | blocked
**Input:** `<file or folder>`
**Output:** `<name>/` or `<output_parent>/<name>/`
**Recursive:** yes | no
| Workbook | Markdown output | Images extracted | Notes |
| --- | --- | --- | --- |
| `<workbook.xlsx>` | `<name>/<name>.md` | `<count or none>` | `<success, skipped, or failure reason>` |
**Next analysis performed**
- <summary, extraction, comparison, chart review, or user-requested analysis>
**Validation**
- `python scripts\convert_excel_to_md.py ...`: pass | fail
scripts/convert_excel_to_md.py was used before analysis.ask_user or equivalent..xls files were rejected with re-save guidance.-o..pdf, .docx, and .xlsx sets invoked the sibling converters..md files were read before answering the user's content question.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/convert-pdf-to-mdConvert PDF .pdf documents to Markdown with the bundled script so reports, papers, invoices, forms, contracts, scanned documents, and folders of PDFs can be read, summarized, searched, extracted, compared, or analyzed. Use whenever a user references a PDF; invoke sibling converters for mixed .pdf, .docx, and .xlsx sets./convert-word-to-mdConvert Word .docx documents into Markdown with extracted images using the bundled script. Use this skill when a user asks to read, summarize, review, compare, analyze, extract data from, or batch-process Word documents, resumes, reports, contracts, or proposals, including mixed folders that also require sibling PDF or Excel conversion skills.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin convert-to-mdOther plugins' skills for the same job