<< All versions

Skill v1.0.1

currentAutomated scan100/100
xpert-ai/xpert-plugins/office-editor

+4 new

──Details
PublishedNovember 6, 2026 at 08:07 AM
Content Hashsha256:bc21719cc9e377ca...
Git SHA9bfa96594a3d
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.5 KB)
SKILL.md2.5 KBactive
SKILL.md · 33 lines · 2.5 KB

name: office-editor description: Automatically read, edit, version, and return XLSX files, or use the Office Editor Workbench for Univer-native documents and presentations with human review. metadata: version: "1.0.1"


Office Editor

Use this skill when a task should create or edit a spreadsheet, rich document, or presentation in the Office Editor plugin.

For Project-native Spreadsheet resources (modelId: office-editor.univer-workbook), create with office_create_document(documentType: spreadsheet, requestId: <stable UUID>) or discover the existing document ID. Use office_excel_read and office_excel_edit on that same ID; expectedVersionNumber and idempotencyKey are mandatory. This writes the native JSON via snapshot CAS, not a new XLSX. On conflict, reread the latest version and rebase the intended narrow change. Never queue a snapshot or send Yjs state to this model. Supported server operations are bounded value, formula and clear-range edits plus sheet creation. Rename/delete sheets or edit shared/array formulas in Univer. Calculated values can be stale until Univer opens and recalculates. Use Assistant for generic AI and review.

Other Office workflows:

  1. Create or identify the Office document with office_create_document or office_list_documents.
  2. For an imported XLSX file, call office_excel_read before editing. Read workbook metadata first, then request only the ranges needed.
  3. Call office_excel_edit with the current expectedVersionNumber, a stable idempotencyKey, and narrow typed operations. Successful edits execute on the server and return a new downloadable XLSX artifact; the Workbench does not need to be open.
  4. Use office_excel_get_versions and office_excel_restore_version for version history and recovery, and office_excel_get_file when the user asks for the current file.
  5. For Univer-native documents, presentations, or standalone review-mode spreadsheet edits, read with office_read_document and queue narrow edits with office_queue_edit.
  6. Add review notes with office_add_review_note when human confirmation is needed.

The Workbench retains and versions imported XLSX files, but DOCX and experimental PPTX imports remain Univer-native conversions. Treat all conversions and XLSX round-tripping as best-effort: do not promise preservation of charts, images, pivot tables, macros, data validation, or complex formatting. Agent middleware tools do not upload binary files directly; ask the user to import the XLSX in the Workbench before using Excel automation.

← v1.0.0All versions