git404hub

what is opencode-office fr?

bobaba99/opencode-office — explained in plain English

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 3/5Setup · moderate

tl;dr

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

vibe map

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 make with this?

VIBE 1

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

VIBE 2

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

VIBE 3

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

VIBE 4

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

what's the stack?

TypeScriptPythonpython-docxpython-pptxLibreOffice

how it stacks up fr

bobaba99/opencode-office0xradioac7iv/tempfs7vignesh/pgpulse
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

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

how do i run it?

Difficulty · moderate time til it works · 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.

prompts (copy fr)

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 fr?

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.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.