univer-doc
Skill by dream-num
The univer-doc skill lets an AI assistant read, create, edit, chart, inspect and export Univer Doc Units. It is for people who work with Univer documents through DSH tools and the Lite Interface.
Install univer-doc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dream-num/dsh-univer-office /tmp/dsh-univer-office && mkdir -p ~/.claude/skills && cp -r /tmp/dsh-univer-office/skills/univer-doc ~/.claude/skills/univer-docRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dream-num/dsh-univer-office /tmp/dsh-univer-office && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dsh-univer-office/skills/univer-doc ~/.gemini/antigravity-cli/skills/univer-docAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The univer-doc skill gives an AI assistant ways to read, create, edit, paginate, chart, inspect, export and review Univer Doc Units. It covers paragraphs, rich text, lists, tasks, tables, images, charts, headers, footers and page layout, for both Traditional and Modern documents. It also handles docx import and export.
The skill works through the univer_execute tool, which provides univerAPI and a doc object selected by unitId. It tells the assistant to load the univer skill first, to check the document flavor before page work, and to verify each change with a read-only readback, an inspection and page screenshots. It is aimed at people who edit Univer documents with an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- univer_executeRuns document edits against univerAPI and the selected Doc.
- univer_apiLooks up exact API signatures and enums before writing code.
- univer_importImports .docx files, as Traditional documents by default.
- univer_inspectChecks the document overview and relevant paragraphs or ranges.
- univer_screenshotRenders page PNGs to check wrapping, pagination and image placement.
- univer_exportExports the Doc to .docx once structural readback succeeds.
- Native chartsCreates, reads, updates and removes native charts in a Doc.
- Page layoutInserts section breaks and reads effective page setup in Traditional Docs.
What you need
- The univer skill, which must be loaded first
- DSH tools
- The Univer Lite Interface
Try asking
- Create a Univer Doc with a heading, a bulleted list and a 3-column table.
- Insert a native column chart of quarterly revenue into this Doc.
- Import this .docx as a Traditional document and add a page break before Chapter 2.
Good to know
- Docs do not support formulas or recalculation.
- Traditional section and page APIs reject Modern Docs.
- compile-typst is not available in this plugin.
- The public Facade has no current-page field, cell padding mutation or cell vertical-alignment mutation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/univer-doc/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to univer-doc
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
univer-doc: common questions
Does univer-doc work with .docx files?
Yes. univer_import imports .docx as a Traditional document by default, and univer_export can export the Doc back to .docx after readback succeeds.
Can it add charts and images to a Univer Doc?
Yes. The skill covers native charts through doc.insertChart and related methods, and native images through doc.insertImage.
Does the skill check its own output?
It asks the assistant to run a read-only readback, call univer_inspect and take univer_screenshot page PNGs after each mutation.
How do I install univer-doc?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is univer-doc free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is univer-doc safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to univer-doc?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
