Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates, converts, reads and edits Office documents (pptx, xlsx, docx, pdf) locally through the GenOffice command line.
32% 86%+55 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v4. v8 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
genoffice is installed with GenOffice. Run genoffice --version first. If the command is not found, GenOffice writes the launcher directory to ~/.genoffice/launcher (Windows: %USERPROFILE%\.genoffice\launcher) on every start: read that one line and run "<dir>/genoffice" from bash or "<dir>\genoffice.cmd" from PowerShell / cmd, quoted, in place of genoffice below. Default locations when that file is missing: macOS /Applications/GenOffice.app/Contents/Resources/cli, Windows %LOCALAPPDATA%\Programs\GenOffice\resources\cli, Linux /opt/GenOffice/resources/cli. Every command runs headless on the app's own engines; only search, image and media send data off the machine, to the provider configured in GenOffice.
Always add --json when a program reads the output: one JSON object on stdout, { "status": "ok" | "partial", "command", "summary", "output_path"?, "warnings"?, "detail"? } (partial: an apply with --best-effort / --stop-on-error wrote the file but lost ops) or { "status": "error", "code", "error", "message", "suggestion"?, "detail"? }. Exit codes: 0 ok, 1 usage or rejected ops, 2 file not found / output exists / file open in GenOffice, 3 conversion failed, 4 app not available. error is the machine-readable reason (table under "When a command fails"), suggestion the next step in one sentence, including did you mean "…"? when a command, option, op name, element id or sheet name is one typo away. detail carries facts as fields (failures[] with index, op, error, reason, valid_range, available, supported, usage; sheets, options, commands); never parse message.
| Command | What it does |
|---|---|
genoffice info <file> [--password <pw>] | Metadata and structure summary (docx blocks and headings, pptx slides, xlsx sheets, pdf pages) |
genoffice convert <file> --to <fmt> [--out <path>] [--force] | pdf→docx/pptx/xlsx, csv→xlsx, xls/xlsb/ods→xlsx, md→docx/html, docx→html/md, html→docx, xlsx→csv (--sheet, opt-in --neutralize-formulas), and docx/xlsx/pptx/md/html→pdf |
genoffice create --type pptx --ops <file> --out <path> | New deck from a list of slide ops |
genoffice create --type pptx --spec <dir|file> [--outline <file>] --out <path> [--render [dir]] [--audit] | New deck from page spec files (one per slide, name order) or one deck spec file: px-positioned text, shapes and images (the designed-deck path, see below) |
genoffice create --type xlsx --from <data.csv | table.json> [--header] [--decimal ,] --out <path> | New workbook from CSV or a 2-D array / {sheets:[{name,rows}]}; "=..." cells are formulas; --header freezes row 1 and filters the range |
genoffice create --type docx --from <text.md | fragment.html> [--no-generator-fields] --out <path> | New Word document from Markdown or a restricted-HTML fragment |
genoffice create --type pdf --from <document> --out <path> | PDF printed by the GenOffice renderer from any md/html/docx/xlsx/pptx file |
genoffice slides read <pptx> [--slide n] [--full | --max-chars n] [--layouts] [--units in|cm|pt|px] / genoffice slides apply <pptx> --ops <file> [--dry-run] | Inspect ids, geometry (box and size in EMU, or converted with unit named when --units is given) and text previews (clipped to 300 characters, ending in …(+n chars) with truncated: true; --max-chars moves the cap, --full: whole text, every table row, speaker notes), then edit with ops Text elements carry effective (first run's font size/family/color/bold/italic and paragraph align) with src naming where each value comes from: run, paragraph defRPr, shape lstStyle, layout placeholder, master placeholder, master titleStyle/bodyStyle, presentation defaultTextStyle, theme major/minor; setFont writes the run level and overrides all of them, applyTheme changes the theme fonts and colors. Elements with a hyperlink carry link (url, slide jump or a PowerPoint action: nextslide / previousslide / firstslide / lastslide / lastslideviewed / endshow); setLink and setText run link fields write the same three kinds. |
genoffice slides audit <pptx> [--slide n] / genoffice slides render <pptx> --out <dir> [--scale 2] | Geometry audit (out_of_bounds, off_slide, text_overflow, text_overflow_width, overlap, picture_distorted = box aspect off the cropped source by >5%): issues[] with a code, level, path (s_n/e_*) and, except for overlap, a suggest setTransform op you can pass to slides apply as is; one PNG per slide to look at |
genoffice render <file> --out <dir> [--page n] [--scale 2] [--el e_12 [--pad px]] [--grid [--cols 4] [--tile 320]] | One PNG per page of a docx, xlsx, pptx, md, html or pdf file, laid out by the GenOffice renderer: look at it before reporting a document or workbook as done; --el (pptx) also writes the page cropped to one element (<stem>-NN-e_12.png, ids from slides read) so a small box is legible; --grid also writes every page onto one contact sheet (<stem>-grid.png, row-major, tile positions in grid.tiles) to see a whole deck at once |
genoffice slides check <outline.json|page.json> / genoffice slides replace <pptx> --slide n --spec <page.json> | Validate a deck outline (exit 1 on errors) or build-and-audit one page file and check it against its outline entry and style.json; rebuild one slide from its page file, other slides untouched |
genoffice slides prompt <request.json> --stage style|outline|page|repair | The system and user text of one generation request, as the app sends it to the model: for building training samples and evaluation runs, not for making a deck. |
genoffice sheet read <xlsx> [--sheet name] [--range A1:D20] [--cols A,C:E] [--max-rows n] [--where formula|error|empty|number|text] [--stats] [--formats] / genoffice sheet apply <xlsx> --ops <file> | --cells <file> / genoffice sheet check <xlsx> | Read a range plus features (panes, filter, charts, tables, rule counts for the sheet; merges and links in the range; --formats adds cell formats, widths, heights); keep the output small with --cols (only those columns, named in columns), --max-rows (rowsShown / rowsTotal and a note with the --range to continue), --where (only cells of one kind as {ref, value, formula}, no grid) or --stats (counts, used range and the sheet list, no cells); edit with the workbook DSL or by cell address; check lists formula errors, references to missing sheets, broken defined names, chart ranges off the data, ### columns (with a set_col_width suggestion), placeholder text and existing rules |
genoffice sheet links <xlsx> [--update] [--break indices] | External [n] links: list them (stored path, resolved path, whether the file exists, source sheet names); --update re-reads reachable sources and writes the computed values as the formulas' cached <v> (formula text untouched; unreachable links keep their cache); --break indices turns those formulas into their cached literals, removes the links' parts and renumbers the surviving [m] |
genoffice docs read <docx> [--range a-b] [--html] [--full \ / genoffice docs compare <original.docx> <revised.docx> --out <redline.docx> [--author name] [--date ] [--granularity word | char] [--ignore formatting,case,whitespace]` |
genoffice merge <template.docx|pptx|xlsx> --data <values.json | inline JSON> --out <path> [--force] [--strict] | Fill {{key}} placeholders in a Word, PowerPoint or Excel template from a JSON object (nested objects flatten to dotted keys a.b; whitespace inside the braces is tolerated) through the engines' own find/replace (Word, PowerPoint: text, tables, speaker notes) and typed set_cell writes (Excel: a whole-cell placeholder takes the value's type, a number stays a number; substituted text stays text even when it starts with =). detail.used_keys, detail.unused_keys and detail.unresolved_placeholders[] ({placeholder, key, reason: no_key | split_placeholder | unreachable_nested, location} — block index / slide + element id / sheet + cell) tell what happened; unresolved placeholders stay in place with a unresolved_placeholder warning unless --strict makes them an error. split_placeholder = the braces sit where a flat text match cannot reach them, split by a line break or crossing blocks; fix the template there (Word fills a marker split over differently formatted runs, as PowerPoint does). unreachable_nested = inside a nested pptx group (or a table in a group), which deck findReplace does not reach; ungroup it. A Word table nothing fills is left untouched |
genoffice pdf read <pdf> [--page n | --range a-b] [--password <pw>] [--full | --max-chars n] | Text layer of a PDF page by page: 1-based page, width_pt / height_pt, text clipped to 4000 characters ending in …(+n chars) with truncated: true (--max-chars moves the cap, --full lifts it and reads every page), plus page count, encrypted and title / author / producer metadata; without --page / --range the first 20 pages come back and detail.truncated names the rest; scanned pages have empty text (convert --to docx runs OCR) |
genoffice guide <slides|docs|sheets> [group|op|design|spec] [--json] [--index] [--fingerprint] | The op reference for each domain, generated from the same definitions apply validates against (read this before writing ops); one group or one op with its JSON schema on request; slides design / slides spec for building a deck |
genoffice search <query> [--images] [--max n] | Web / image search via the provider configured in GenOffice; detail.results[] {title,url,snippet} |
genoffice image <prompt> [--out f.png] [--aspect 16:9] [--ref a.png,b.png] [--model <name>] | Generate an image with the configured provider and save it; detail.mime, output_path |
genoffice media <file|url> [--ask <question>] | Describe / question an image, video or audio file; answer in summary and detail.text |
genoffice capabilities | Which cloud features are configured in GenOffice (search, image search, image generation, media analysis) and whether the app is installed; no network call |
genoffice open <file> [--slide n [--el e_12] | --block n | --range [Sheet!]B2:D5 | --page n] | Open the file in the GenOffice app (only when the user asks to see it there); with a target, also scroll to and select that slide element / block / range / page so the user is looking at the same spot you are (target_not_found / out_of_range come back with the valid ids or range) |
genoffice selection <file> --json | What the user has selected in the editor showing the file: {slide, elements[], types[]}, {blocks:[a,b], text, collapsed}, {sheet, range, values?} or {page, text?} — resolve "this one" / "here" from it before editing; file_not_open_in_gui when no tab shows the file |
genoffice skill list / genoffice skill install <agent|all> [--dir <path>] [--force] / genoffice skill path | Skill install targets found on this machine with the skill version each has — one row per tool that scans its own folder (Claude Code, Windsurf, OpenClaw) plus the shared .agents row that Codex, Cursor, Gemini CLI, Copilot, OpenCode, dsh and the like read; copy or update this skill into a skills directory, or print the bundled SKILL.md; nothing is installed without this command or a click in Settings → Integrations |
--ops - and --cells - read stdin. --out defaults to the input file's folder with the new extension (convert) or edits in place (apply). Unknown options are rejected (exit 1). The mcp server runs on stdio by default; mcp [--http <port> [--host <addr>] [--token <secret>]] serves Streamable HTTP instead; genoffice mcp install <agent|all> [--dir <path>] [--force] registers the stdio server in a coding agent's MCP config (mcp uninstall <agent> removes it, mcp list shows each agent).
genoffice mcp as an MCP client sees it:
Next to this one in the catalogue, plus more from the same author.