explaingit

bobaba99/opencode-office

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

An opencode plugin that gives AI coding agents tools to read, edit, create, and render Word and PowerPoint files.

Mindmap

mindmap
  root((opencode office))
    What it does
      Read outline first
      Anchored edits
      Render to images
    Tech stack
      TypeScript
      Python docx pptx
      LibreOffice
    Use cases
      Agent document edits
      Slide generation
      Model benchmarking
    Audience
      AI agent developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let a coding agent make a targeted edit to one paragraph or table cell in a Word document without touching the rest.

USE CASE 2

Have an AI agent generate a new PowerPoint presentation from an existing file used as a template.

USE CASE 3

Render slides or pages to images so an agent or reviewer can visually check a document before finalizing it.

USE CASE 4

Benchmark how well different AI models handle real Word and PowerPoint editing tasks.

What is it built with?

TypeScriptPythonpython-docxpython-pptxLibreOffice

How does it compare?

bobaba99/opencode-office0xradioac7iv/tempfs52191314/web-agent-proxy-sdk
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Windows is untested, the plugin's skill file must be copied into opencode's skills folder manually.

In plain English

opencode-office is a plugin for opencode, a coding agent platform, that gives an AI agent the ability to read and edit Word and PowerPoint files. It adds five tools plus a written skill document that teaches the agent how to use them well. One tool lets the agent read a document's outline first before deciding what to look at in full, so it understands the structure before touching anything. Another makes anchored, targeted edits, such as replacing one paragraph's text or fixing a single table cell, without disturbing anything else in the file. A third tool creates a brand new Word or PowerPoint file from scratch, or a new PowerPoint file based on an existing one used as a layout template. A fourth renders pages or slides as images using LibreOffice so a person or agent can visually check the result, and a fifth gives direct access to the underlying Python code for tasks the other tools do not cover. Under the hood, the plugin relies on a companion package called opencode-office-core, which uses the Python libraries python-docx, python-pptx, pillow, and pymupdf inside a Python virtual environment that gets created automatically the first time it is needed, so there is nothing to install by hand. LibreOffice is only needed for the image rendering tool, everything else still works without it. The project is developed and tested on macOS and Linux, and Windows is not tested. Installing the plugin means adding it to an opencode configuration file, and separately copying its skill document into opencode's skills folder by hand, since automatic registration is not currently supported. The project includes a small benchmark comparing how well different AI models perform at these Word and PowerPoint editing tasks, scored against a known correct answer rather than the model's own claims, with results across several cloud-hosted models included in the README as a table.

Copy-paste prompts

Prompt 1
Walk me through installing opencode-plugin-office and registering its skill document with opencode.
Prompt 2
Show me how to use the office_edit tool to replace a single paragraph in a Word document without changing anything else.
Prompt 3
Explain how office_render uses LibreOffice to turn PowerPoint slides into images.
Prompt 4
Help me set up the Python dependencies this plugin auto-provisions for reading Word and PowerPoint files.

Frequently asked questions

What is opencode-office?

An opencode plugin that gives AI coding agents tools to read, edit, create, and render Word and PowerPoint files.

What language is opencode-office written in?

Mainly TypeScript. The stack also includes TypeScript, Python, python-docx.

How hard is opencode-office to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is opencode-office for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.