# Office Tools

Inspect, check, and edit .docx/.pptx/.xlsx packages in place, block-level reading...

- Repository: https://github.com/Fei2411/DS-Bot (4852 stars)
- Category: Documents
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Fei2411/DS-Bot --skill office-tools -g -a claude-code -y`
Codex: `npx skills add Fei2411/DS-Bot --skill office-tools -g -a codex -y`
Cursor: `npx skills add Fei2411/DS-Bot --skill office-tools -g -a cursor -y`
Gemini CLI: `npx skills add Fei2411/DS-Bot --skill office-tools -g -a gemini-cli -y`

## Description

Inspect, check, and edit .docx/.pptx/.xlsx packages in place, block-level reading, comments, tracked changes, slide inventory and layout checks, slide reorder/duplicate/cleanup, workbook errors, package checks, contact sheets. Works offline; nothing to install.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Office tools

A bundled command line for the jobs the format skills cannot do safely: reading a document's structure with stable ids, repairing packages, targeted edits, tracked changes, layout findings, and contact sheets of rendered pages. Run every command through the Node and CLI paths in the runtime block at the end of this skill.

Every command accepts `--json` and prints `{"ok":true,"data":…}` for a run that completed, or `{"ok":false,"error":{"code","message"}}` when it failed. Findings are results, not failures: they land inside `data.findings` with `ok` still true, and the exit code carries them, 0 = ok, 1 = findings remain, 2 = usage or failure. Edits write a new file (`-o out`) or overwrite the input (`--in-place`); they never touch the input otherwise.

## Commands

The rest: https://github.com/Fei2411/DS-Bot/blob/HEAD/ds-bot/src/office/skills/office-tools/SKILL.md
