GenOffice Supplement
Use when editing .docx or other Office files with GenOffice (Docs editor, genoffice CLI/MCP) and its own bundled skill leaves a Docs op, unit, page-count difference or document-style rebuild unclear; load next to GenOffice's own skill
Editor's Note
This skill is only applicable when used alongside GenOffice's own bundled skills, and should not replace them. Ensure that you are using GenOffice version 0.13.886 or later for full compatibility, as this skill was tested on that version. Before reporting any issues, verify the results on the specific GenOffice version you are using, and note whether the findings were verified through XML read-back, tool read-back, or rendering.
When to Use It
- Identify and resolve discrepancies in Docs ops, units, and page counts when using GenOffice
- Understand and avoid common traps when working with GenOffice's CLI and MCP
- Rebuild document styles in GenOffice and compare them with WordCraft and ONLYOFFICE
- Verify and document findings from GenOffice operations using XML read-back or rendering
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
GenOffice supplement
Updates: if this folder has a
.installed-fromfile (written when it was copied from the repo), rungit ls-remote https://gitlab.com/e1dred/agent-skills.git HEADonce per session. Take the hash on the output line that ends in exactlyHEAD; if it differs from the file's, tell the user a newer version exists and offer to update it (see "Updating" in https://gitlab.com/e1dred/agent-skills/-/blob/main/INSTALL.md, which can merge local edits); never update without asking. Compare the hashes after trimming whitespace. No file, a clone or symlink, or no network (empty output or an error fromgit ls-remote): skip silently.
Scope rule (strict): this skill holds only things GenOffice's own bundled skills do not provide. It never copies or restates
a GenOffice-provided skill (its generated genoffice skill, the ~45 recommended app skills). Read those first; this adds
what running the app showed. Tested on GenOffice 0.13.886 (bundled skill 2.71.0, Linux AppImage); the sweeps gave the same results on 0.12.117 to 0.13.886 (re-run on 0.12.446, 0.12.600, 0.12.852, 0.13.18, 0.13.615 and 0.13.886; 0.13.x .docx zips carry no directory entries, so file-list counts are shorter), CLI and MCP, headless; the live-editor checks were not.
When GenOffice's own skills start to say something written here, it is removed from this skill (checked 2026-11-28 against 2.71.0, whose only change is the new convert --neutralize-formulas flag for xlsx→csv).
GenOffice has six editors: Docs, Sheets, Slides, Markdown, HTML and PDF. The Docs (.docx), Sheets (.xlsx) and Slides (.pptx ops and the page-spec build) are covered, plus the conversions that reach the Markdown, HTML and PDF editors. The live editor (open, selection, writes to an open file) is covered too.
Where things are
Read the file that matches the task; each lists the sections it holds. Use grep -n on reference/ to find a command id.
File in reference/ |
Read it for | Sections |
|---|---|---|
docs-ops.md |
Docs ops (docs apply): the sweep results, gaps closed, and how far the op list was exercised |
Docs-op sweep, 2026-10-27, GenOffice 0.12.117; Docs gaps closed; Coverage of the op lists; New in 0.13.18 |
sheets.md |
Spreadsheet ops (sheet apply) |
Sheets sweep |
slides.md |
Presentation ops (slides apply) |
Slides sweep |
markdown-html-pdf.md |
Converting and creating Markdown, HTML and PDF with the CLI | Markdown, HTML and PDF through the CLI |
live-editor.md |
open, selection and writing to a file that is open in the GenOffice editor |
Live editor: open, selection, writing to a file that is open |
document-styles.md |
Rebuilding the eight document styles in GenOffice, compared with WordCraft and ONLYOFFICE; headless vs app page counts | All eight styles x doc, report, resume and cv against WordCraft; Style rebuild: modern doc via GenOffice vs WordCraft vs ONLYOFFICE; All eight styles, doc kind, GenOffice vs WordCraft; Page count: headless render vs the app window |
Traps (each one tripped the sweep)
- Things defined or created earlier in a batch are NOT visible to later ops of the same batch for:
define_styletype table thensetTableStyle;wrap_content_controlthenunwrap_content_control. Split into twoapplycalls. (define_style paragraph then applyStyle in one batch works.) define_stylefor a new style needs paragraph or run formatting (or basedOn), and basedOn must already exist. A new document has no table styles to base one on, so a new table style takes a run property and a secondapplybefore it can be used.setTableCellFormatfill does not change text colour: a dark header fill keeps black text. Set white text separately (setFont on that block does not reach table cells in my sweep; not yet tested how).- Comment ids are small positional strings ("1", "2").
- Rejecting all revisions restores the original text; accepting with a type filter leaves the other revisions pending.
- Table merge concatenates cell text as separate paragraphs; split keeps text in the top-left cell.
- Watermark is heavy at opacity 0.3 with a large size; use about 0.15 for body-text legibility.
Verify before reporting
Say what was checked (XML read-back, read-back through the tools, or a render) and on which GenOffice version. Anything listed under "Not yet tested" is unverified; say so.
Not yet tested
setFont null (clear), partial-selection edits, setImageProperties on a floating picture, insert_content formula render, insertField IF/PAGEREF, --dry-run and --best-effort. (Writing to a file open in the app, live open/selection and the style comparison with WordCraft and ONLYOFFICE are now tested: see reference/live-editor.md and reference/document-styles.md.)
Updating this skill
Rules for adding findings, fixing claims and logging: reference/maintenance.md.
View original Markdown
---
name: genoffice-supplement
description: Use when editing .docx or other Office files with GenOffice (Docs editor, genoffice CLI/MCP) and its own bundled skill leaves a Docs op, unit, page-count difference or document-style rebuild unclear; load next to GenOffice's own skill
---
# GenOffice supplement
> **Updates:** if this folder has a `.installed-from` file (written when it was copied from the repo), run `git ls-remote https://gitlab.com/e1dred/agent-skills.git HEAD` once per session. Take the hash on the output line that ends in exactly `HEAD`; if it differs from the file's, tell the user a newer version exists and offer to update it (see "Updating" in https://gitlab.com/e1dred/agent-skills/-/blob/main/INSTALL.md, which can merge local edits); never update without asking. Compare the hashes after trimming whitespace. No file, a clone or symlink, or no network (empty output or an error from `git ls-remote`): skip silently.
**Scope rule (strict):** this skill holds only things GenOffice's own bundled skills do not provide. It never copies or restates
a GenOffice-provided skill (its generated `genoffice` skill, the ~45 recommended app skills). Read those first; this adds
what running the app showed. Tested on GenOffice 0.13.886 (bundled skill 2.71.0, Linux AppImage); the sweeps gave the same results on 0.12.117 to 0.13.886 (re-run on 0.12.446, 0.12.600, 0.12.852, 0.13.18, 0.13.615 and 0.13.886; 0.13.x .docx zips carry no directory entries, so file-list counts are shorter), CLI and MCP, headless; the live-editor checks were not.
When GenOffice's own skills start to say something written here, it is removed from this skill (checked 2026-11-28 against 2.71.0, whose only change is the new `convert --neutralize-formulas` flag for xlsx→csv).
GenOffice has six editors: Docs, Sheets, Slides, Markdown, HTML and PDF. The Docs (.docx), Sheets (.xlsx) and Slides (.pptx ops and the page-spec build) are covered, plus the conversions that reach the Markdown, HTML and PDF editors. The live editor (`open`, `selection`, writes to an open file) is covered too.
## Where things are
Read the file that matches the task; each lists the sections it holds. Use `grep -n` on `reference/` to find a command id.
| File in `reference/` | Read it for | Sections |
|---|---|---|
| `docs-ops.md` | Docs ops (`docs apply`): the sweep results, gaps closed, and how far the op list was exercised | Docs-op sweep, 2026-10-27, GenOffice 0.12.117; Docs gaps closed; Coverage of the op lists; New in 0.13.18 |
| `sheets.md` | Spreadsheet ops (`sheet apply`) | Sheets sweep |
| `slides.md` | Presentation ops (`slides apply`) | Slides sweep |
| `markdown-html-pdf.md` | Converting and creating Markdown, HTML and PDF with the CLI | Markdown, HTML and PDF through the CLI |
| `live-editor.md` | `open`, `selection` and writing to a file that is open in the GenOffice editor | Live editor: `open`, `selection`, writing to a file that is open |
| `document-styles.md` | Rebuilding the eight document styles in GenOffice, compared with WordCraft and ONLYOFFICE; headless vs app page counts | All eight styles x doc, report, resume and cv against WordCraft; Style rebuild: `modern` doc via GenOffice vs WordCraft vs ONLYOFFICE; All eight styles, doc kind, GenOffice vs WordCraft; Page count: headless `render` vs the app window |
## Traps (each one tripped the sweep)
- Things defined or created earlier in a batch are NOT visible to later ops of the same batch for: `define_style` type table then `setTableStyle`; `wrap_content_control` then `unwrap_content_control`. Split into two `apply` calls. (define_style paragraph then applyStyle in one batch works.)
- `define_style` for a new style needs paragraph or run formatting (or basedOn), and basedOn must already exist. A new document has no table styles to base one on, so a new table style takes a run property and a second `apply` before it can be used.
- `setTableCellFormat` fill does not change text colour: a dark header fill keeps black text. Set white text separately (setFont on that block does not reach table cells in my sweep; not yet tested how).
- Comment ids are small positional strings ("1", "2").
- Rejecting all revisions restores the original text; accepting with a type filter leaves the other revisions pending.
- Table merge concatenates cell text as separate paragraphs; split keeps text in the top-left cell.
- Watermark is heavy at opacity 0.3 with a large size; use about 0.15 for body-text legibility.
## Verify before reporting
Say what was checked (XML read-back, read-back through the tools, or a render) and on which GenOffice version. Anything listed under "Not yet tested" is unverified; say so.
## Not yet tested
setFont null (clear), partial-selection edits, setImageProperties on a floating picture, insert_content formula render, insertField IF/PAGEREF, `--dry-run` and `--best-effort`. (Writing to a file open in the app, live `open`/`selection` and the style comparison with WordCraft and ONLYOFFICE are now tested: see `reference/live-editor.md` and `reference/document-styles.md`.)
## Updating this skill
Rules for adding findings, fixing claims and logging: `reference/maintenance.md`.
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.