BeClaude

aurochs-office

New
12Community RegistryDocumentationby trkbt10 · MIT

Inspect, build, and verify Office documents (PPTX, DOCX, XLSX) using the aurochs CLI. Supports ASCII preview, JSON spec-based building, and text extraction.

Community PluginView Source

Overview

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/brand/[email protected]"> <source media="(prefers-color-scheme: light)" srcset="docs/brand/[email protected]"> <img alt="Aurochs" src="docs/brand/[email protected]" width="120"> </picture> </p>

<h1 align="center">aurochs</h1>

<p align="center"> Parse, render, and edit Office documents (PPTX, DOCX, XLSX) in pure TypeScript.<br> No native dependencies, no server required. </p>

[Demo](https://trkbt10.github.io/aurochs/)

Features

  • Parsers — PPTX, DOCX, XLSX (ECMA-376) and legacy PPT, DOC, XLS, plus Figma .fig and PDF
  • Renderers — SVG, WebGL, React components, ASCII terminal preview
  • Builders — programmatic document creation from JSON spec
  • Converters — DOC→DOCX, PPT→PPTX, XLS→XLSX, PDF→PPTX
  • CLI — 45 commands for inspecting, building, and comparing files
  • MCP Server — 20 tools for AI-assisted presentation editing
  • VS Code Extension — view PPTX/PPT, DOCX/DOC, XLSX/XLS directly in the editor
  • Browser demo — viewer, editor, and slideshow, all client-side

Setup

bash
bun install
bun run dev:pages    # start demo app
bash
bun run test         # run tests
bun run lint         # lint
bun run typecheck    # type check

CLI

bash
npx aurochs pptx <command> [options] <file>
npx aurochs docx <command> [options] <file>
npx aurochs xlsx <command> [options] <file>

PPTX commands

CategoryCommands
Inspectinfo, list, show, theme, inventory
Extractextract, tables, images
Previewpreview
Buildbuild, patch, verify
Comparediff

DOCX commands

CategoryCommands
Inspectinfo, list, show, styles, numbering, headers-footers, toc
Extractextract, tables, images, comments
Previewpreview
Buildbuild, patch, verify

XLSX commands

CategoryCommands
Inspectinfo, list, show, styles, names, tables
Extractextract, formulas, strings, comments, hyperlinks
Dataautofilter, validation, conditional
Previewpreview
Buildbuild, verify

VS Code Extension

View Office documents directly in VS Code with zero configuration.

Install from Marketplace:

code
ext install trkbt10.aurochs-office-viewer

Supported formats: PPTX, PPT, DOCX, DOC, XLSX, XLS — files open automatically in the custom viewer.

Marketplace page

MCP Server

Model Context Protocol server for AI-assisted presentation editing. Works with Claude Desktop, Cline, and other MCP clients.

bash
# stdio transport (default)
bun packages/@aurochs-mcp/pptx-mcp/src/index.ts

# HTTP transport
bun packages/@aurochs-mcp/pptx-mcp/src/index.ts --transport http --port 3000

20 tools available:

CategoryTools
Presentationpptx_create_presentation, pptx_get_info, pptx_build
Slidespptx_add_slide, pptx_remove_slide, pptx_duplicate_slide, pptx_reorder_slide, pptx_modify_slide
Shapespptx_add_shape, pptx_add_text_box, pptx_add_image, pptx_add_connector, pptx_add_group
Tablespptx_add_table, pptx_update_table
Effectspptx_set_transition, pptx_add_animations
Notespptx_set_speaker_notes, pptx_add_comments
Renderingpptx_render_slide

Each tool operates on an in-memory session and returns SVG previews after every operation.

Converters

Convert legacy and cross-format documents. All converters run entirely in-memory.

ConverterFromTo
@aurochs-converters/doc-to-docxDOC (Word 97-2003)DOCX
@aurochs-converters/ppt-to-pptxPPT (PowerPoint 97-2003)PPTX
@aurochs-converters/xls-to-xlsxXLS (BIFF8)XLSX
@aurochs-converters/pdf-to-pptxPDFPPTX

Builders

Create documents programmatically from JSON specifications.

PackageDescription
@aurochs-builder/pptxSlides, shapes, images, tables, connectors, groups
@aurochs-builder/docxParagraphs, tables, styles, numbering, headers/footers
@aurochs-builder/xlsxWorksheets, cells, formulas, styles, shared strings
@aurochs-builder/chartBar, line, pie, scatter, area charts with embedded data
@aurochs-builder/diagramSmartArt / diagram layouts
@aurochs-builder/mermaidOffice chart / diagram → Mermaid syntax serializer

Renderers

Multiple output targets for each format.

PackageSVGReactASCIIMermaid
@aurochs-renderer/pptxyesyesyes
@aurochs-renderer/docxyes
@aurochs-renderer/xlsxyes
@aurochs-renderer/chartyesyesyes
@aurochs-renderer/diagramyesyesyes
@aurochs-renderer/figyes

Figma .fig renderer

Parses Figma binary files and renders to SVG or WebGL.

  • SVG — all node types, fills, effects, text, symbol/instance resolution
  • WebGL — GPU-accelerated rendering with stencil-based path fill, Gaussian blur, inner/drop shadows

Parsers

Low-level format parsers. Each returns a typed domain model.

PackageFormat
@aurochs-office/pptxECMA-376 PresentationML
@aurochs-office/docxECMA-376 WordprocessingML
@aurochs-office/xlsxECMA-376 SpreadsheetML
@aurochs-office/pptPowerPoint 97-2003 binary
@aurochs-office/docWord 97-2003 binary
@aurochs-office/xlsExcel BIFF8 binary
@aurochs-office/chartOffice chart XML
@aurochs-office/diagramOffice diagram / SmartArt XML
@aurochs-office/drawing-mlDrawingML (shapes, effects, 3D)
@aurochs-office/cfbCompound File Binary (OLE)
@aurochs/figFigma .fig (Kiwi binary)
@aurochs/pdfPDF (structure, fonts, images, paths)

Claude Code Skill

A Claude Code skill that teaches Claude how to inspect, build, and verify Office documents via the aurochs CLI.

Install

code
/plugin marketplace add trkbt10/aurochs
/plugin install aurochs-office

Once installed, ask Claude naturally — e.g. "Show me what's in presentation.pptx" or "Build a PPTX from this spec" — and it will pick the right commands.

See `skills/aurochs-office/SKILL.md` for full command reference.

Package structure

code
packages/
  @aurochs/              # Core utilities (zip, xml, color, buffer, fig, pdf, ...)
  @aurochs-office/       # Format parsers (pptx, docx, xlsx, ppt, doc, xls, ...)
  @aurochs-builder/      # Document builders (pptx, docx, xlsx, chart, diagram, mermaid)
  @aurochs-renderer/     # Renderers (pptx, docx, xlsx, chart, diagram, figma)
  @aurochs-converters/   # Format converters (doc→docx, ppt→pptx, xls→xlsx, pdf→pptx)
  @aurochs-cli/          # CLI packages (cli, pptx-cli, docx-cli, xlsx-cli, cli-core)
  @aurochs-ui/           # React editor components (pptx, docx, xlsx, chart, diagram, ...)
  @aurochs-mcp/          # MCP server (pptx-mcp)
  @aurochs-build/        # Build tooling (vscode-office-viewer)
extensions/
  aurochs-office-viewer/ # VS Code extension

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/aurochs-office.md https://raw.githubusercontent.com/trkbt10/aurochs/main/SKILL.md
3
Invoke in Claude Code
/aurochs-office
View source on GitHub
code-reviewdocumentationpptxdocxxlsxofficecli

Frequently Asked Questions

What is aurochs-office?

Inspect, build, and verify Office documents (PPTX, DOCX, XLSX) using the aurochs CLI. Supports ASCII preview, JSON spec-based building, and text extraction.

How to install aurochs-office?

To install aurochs-office, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /aurochs-office.

What is aurochs-office best for?

aurochs-office is a community categorized under Documentation. It is designed for: code-review, documentation, pptx, docx, xlsx, office, cli. Created by trkbt10.