Extract content from Word and Excel documents using local Python scripts.

Install

mkdir -p .claude/skills/office-docs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5350" && unzip -o skill.zip -d .claude/skills/office-docs && rm skill.zip

Installs to .claude/skills/office-docs

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Extract text and tables from .docx and .xlsx using local scripts (no external deps).
84 charsno explicit “when” trigger
Beginner

Key capabilities

  • Extract text from .docx files
  • Extract tables from .docx files
  • Extract sheet data from .xlsx files
  • Convert spreadsheet data to CSV format

How it works

The skill utilizes local Python scripts located in the tools directory to parse Office document structures and output the content to specified file paths.

Inputs & outputs

You give it
path to .docx or .xlsx file
You get back
extracted text or CSV file

When to use office-docs

  • Extract text from docx
  • Convert excel sheets to csv
  • Read table data from office files

About this skill

Office Docs (docx + xlsx)

This skill provides lightweight, dependency-free extraction for Office documents using the scripts in tools/.

DOCX

Extract paragraphs and tables from a .docx file:

python tools/docx_extract.py "/path/to/file.docx" --output "/path/to/output.txt"

XLSX

Extract sheet data from a .xlsx file:

python tools/xlsx_extract.py "/path/to/file.xlsx" --output "/path/to/output.txt" --format csv

Notes

  • If --output points to a directory, each sheet is written to its own file.
  • If --output is a file and there are multiple sheets, the script prefixes each sheet with # Sheet: <name>.

When not to use it

  • Processing files requiring external dependencies
  • Handling non-Office document formats

Limitations

  • Limited to .docx and .xlsx file formats

How it compares

This approach avoids external software dependencies by using lightweight, local scripts for document parsing.

Compared to similar skills

office-docs side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
office-docs (this skill)16moReviewBeginner
douyin-video16moReviewBeginner
calc03moReviewBeginner
codeinterpreter-automation06moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry