Skip to main content
skill CX Codex

office-to-md — Claude Code skill: what it does, how to install

office-to-md turns Office documents and PDFs into Markdown files while keeping tables and images. Ideal when an agent needs to read spreadsheets, slide decks, or text files.

no license 1 installs ★ 277 updated 2026-06-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add shuyu-labs/WebCode --skill office-to-md -a claude-code
Open on GitHub

What office-to-md does

The skill uses Python scripts to translate DOCX, XLSX, PPTX, and PDF files into structured Markdown. It recognizes heading hierarchies, extracts inline pictures, and formats spreadsheet grids into Markdown tables. You can serve extracted graphics via a local directory or a custom URL.

Processing legacy DOC files strictly requires a working LibreOffice installation on your machine. Without LibreOffice, the companion script doc_converter.py fails immediately. Table parsing in PDF files offers two approaches: fast boundary detection with lines or precise detection based on text coordinates.

The parser handles individual files up to 160MB in size.

What it helps with

  • turn spreadsheet sheets from Excel into Markdown tables
  • extract text and graphics from PowerPoint presentations
  • convert complex PDF documents while preserving headings
  • transform legacy Word DOC files into clean text

Example prompts for the agent

  • Convert specification.docx into Markdown and export its images
  • Transform the budget.xlsx sheets into Markdown tables
  • Parse deck.pptx into Markdown while keeping slide order

How to install office-to-md

1Skills CLI (Vercel)

npx skills add shuyu-labs/WebCode --skill office-to-md -a claude-code

2Manually: put the files in place

~/.claude/skills/office-to-md/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/office-to-md/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about office-to-md

How to install office-to-md in Claude Code?

Run npx skills add shuyu-labs/WebCode --skill office-to-md -a claude-code. The skill definition will be added to ~/.claude/skills/office-to-md/SKILL.md.

Which file formats are supported?

It parses DOCX, DOC, PDF, XLSX, XLS, and PPTX files with sizes up to 160MB.

Why is LibreOffice required?

LibreOffice is needed specifically to transform legacy DOC files before parsing them with enhanced_parser.py.

Similar skills

All skills for Office documents →

Project sponsors

Companies that keep this analytics open