Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

office-file-process

Skill by xstongxue

Processes Word, Excel and PowerPoint files, covering creating, reading, editing, extracting, converting and validating them. It is aimed at users on Windows with Microsoft Office installed.

  • Score 83
  • 3.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install office-file-process

Built from the published package, never by AI.

git clone --depth 1 https://github.com/xstongxue/best-skills /tmp/best-skills && mkdir -p ~/.claude/skills && cp -r /tmp/best-skills/skills/office-file-process ~/.claude/skills/office-file-process

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install office-file-process in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill handles Word (.doc, .docx, .dotx), Excel (.xls, .xlsx, .xlsm, .csv) and PowerPoint (.ppt, .pptx, .potx) files. It first probes the environment, then picks a route. For reading, it prefers official tools such as pandoc, markitdown, openpyxl and pandas. When those are missing, it falls back to a PowerShell script that drives Office through COM automation and writes plain text next to the source file. For creating and editing, it points to docx-js, pptxgenjs and openpyxl, with reference guides and validation scripts for each format.

The skill is written for Windows machines with Office, where COM automation is its main fallback. Users who work with Word, Excel or PowerPoint files and want an assistant to read, extract or produce them will find it most useful. Machines without Windows or Office get a limited fallback that only covers the newer XML-based formats.

Written from the project's SKILL.md and checked against it.

What it can do

  • Read and extract Word filesReads .docx with pandoc, or extracts text through Office COM when pandoc is absent.
  • Read and extract PowerPoint filesReads .pptx with markitdown, or extracts slide text and speaker notes through COM.
  • Read and extract Excel filesReads .xlsx with openpyxl or pandas for cell coordinates, or extracts sheet text through COM.
  • Batch COM text extractionRuns extract_office_text.ps1 over a path pattern and writes ASCII-named output files.
  • Create and edit Word documentsCreates new .docx files with docx-js and edits existing ones through unzip and XML.
  • Create and edit PowerPoint decksBuilds new .pptx files with pptxgenjs and edits existing ones through unzip and XML.
  • Create and edit Excel spreadsheetsBuilds and edits .xlsx files with openpyxl and pandas, including formulas.
  • Validate Office outputChecks docx, pptx and xlsx output with scripts/office/validate.py against XSD schemas.
  • Recalculate Excel formulasRuns recalc.py to recalculate formulas, using LibreOffice.
  • Accept, comment and merge in WordProvides scripts to accept tracked changes, add comments and merge text runs.

What you need

  • Windows with Microsoft Office for the COM extraction path
  • Python with pip packages such as openpyxl, pandas and markitdown
  • Node.js with the docx and pptxgenjs npm packages
  • LibreOffice for rendering, recalculation and conversion (optional)

Try asking

  • Read this Word file and summarize the main sections.
  • Extract all the text from this Excel workbook, including each sheet.
  • Tell me what the slides in this PowerPoint deck cover, including the notes.

Good to know

  • Designed for Windows with Office; other systems get a fallback for .docx, .xlsx and .pptx only.
  • Legacy .doc, .xls and .ppt files need Office COM or a LibreOffice conversion.
  • Extracted files are written next to the source files and can appear as untracked in SVN.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/office-file-process/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to office-file-process

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

office-file-process: common questions

Can it read old .doc files without Office?

The source says legacy .doc, .xls and .ppt are binary formats that official tools cannot read. Without Office, the source says there is no solution unless LibreOffice is installed.

How does it handle Chinese file names?

The COM extraction script writes output files with fixed ASCII names such as office_extract_1.txt, so assistants can open them even when the folder path contains Chinese characters.

Does it need Office installed to create files?

The source says creating and editing uses docx-js, pptxgenjs and openpyxl. Office COM is described as the fallback for reading and extracting, not for creating.

How do I install office-file-process?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is office-file-process free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is office-file-process safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to office-file-process?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

office-file-process Install

Add to stack

Loading.