univer-doc
Skill by dream-num
Univer Doc Units is a skill for reading, creating, editing, paginating, charting, exporting and reviewing Univer Doc Units. It suits assistants that work on Univer Docs 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/univer-workspace /tmp/univer-workspace && mkdir -p ~/.claude/skills && cp -r /tmp/univer-workspace/packages/dsh-univer-workspace-plugin/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/univer-workspace /tmp/univer-workspace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/univer-workspace/packages/dsh-univer-workspace-plugin/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 lets an AI assistant work on Univer Doc Units. It covers paragraphs, rich text, lists, tasks, tables, images, charts, headers, footers, page layout and docx import or export. Work runs through the univer_execute tool, which provides univerAPI, api and doc objects for the selected Doc Unit. The skill also documents how to create Modern Docs from Markdown with univer_compile_markdown and how to make partial updates with univer_export_markdown.
The skill asks the assistant to verify each change. It recommends a read-only readback, univer_inspect, and a univer_screenshot of every returned page before any handoff. It is aimed at developers and document automation workflows that build or edit Univer Docs. The source says to load the univer skill first.
Written from the project's SKILL.md and checked against it.
What it can do
- univer_executeRuns scripts against univerAPI, api and doc for the selected Doc Unit.
- univer_compile_markdownCreates a Modern Doc or applies a partial update from a Markdown source file.
- univer_export_markdownReads selected top-level blocks as Markdown before a partial update.
- Native chartsCreates, reads, updates and removes live charts in a Doc.
- Native imagesInserts Base64 images with set width, height and text wrapping.
- Tables and layoutInserts tables from data, merges cells and sets table borders.
- PaginationInserts hard section breaks in Traditional Docs.
- VerificationUses univer_inspect, univer_screenshot and docx export to check results.
What you need
- The univer skill, loaded first
- Univer DSH tools such as univer_execute, univer_inspect and univer_screenshot
Try asking
- Create a Modern Doc from this Markdown outline with headings and a callout
- Add a column chart of quarterly revenue to my Doc
- Insert a page break before Chapter 2 in this Traditional Doc
Good to know
- Traditional section and page APIs reject Modern Docs.
- Docs do not support formulas or recalculation.
- The public Facade has no verified dynamic current-page field, table-cell padding or cell vertical alignment mutation.
- The compile-typst converter is not available in this plugin.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/dsh-univer-workspace-plugin/skills/univer-doc/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/markdown.md8 KB
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
Can this skill create Modern Docs from Markdown?
Yes. The skill says to write a session Markdown file and call univer_compile_markdown once for new Modern Docs. Unsupported content stops conversion and is reported instead of being flattened.
Does it add page breaks to Docs?
Hard page breaks are inserted with section breaks, but only in Traditional Docs. The source says Modern Docs are pageless and page-specific APIs reject them.
Can it export a Doc to docx?
Yes, through univer_export when .docx delivery is requested. The source says to run it only after structural readback succeeds.
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 81 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.
