Skip to content
Skills Library
Documents & office · Automation

univer-workspace-cli

/univer-workspace-cli

Use when installing or operating the independent Univer Workspace CLI application (`univer-workspace-cli`) for remote Workspace files, Personal or Team Spaces, task Worktrees, Sheet/Doc/Slide/Base/Board Units, Facade authoring, inspection, verification, import/export, screenshots, or review handoff. Do not use for local targets handled by `univer`.

Repository
skills ↗
Licence
Apache-2.0
Last repository change
14.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when installing or operating the independent Univer Workspace CLI application (`univer-workspace-cli`) for remote Workspace files, Personal or Team Spaces, task Worktrees, Sheet/Doc/Slide/Base/Board Units, Facade authoring, inspection, verification, import/export, screenshots, or review handoff. Do not use for local targets handled by `univer`.

Original author description

Use when installing or operating the independent Univer Workspace CLI application (`univer-workspace-cli`) for remote Workspace files, Personal or Team Spaces, task Worktrees, Sheet/Doc/Slide/Base/Board Units, Facade authoring, inspection, verification, import/export, screenshots, or review handoff. Do not use for local targets handled by `univer`.

How it works

  1. Keep the CLI current
  2. Start here
  3. Core Model
  4. Unit Skills
  5. Task Routing
  6. Why Univer Workspace CLI
  7. Diagnose
Original SKILL.md headings · 127 lines, 774 words
SKILL.md preview
---
name: univer-workspace-cli
description: "Use when installing or operating the independent Univer Workspace CLI application (`univer-workspace-cli`) for remote Workspace files, Personal or Team Spaces, task Worktrees, Sheet/Doc/Slide/Base/Board Units, Facade authoring, inspection, verification, import/export, screenshots, or review handoff. Do not use for local targets handled by `univer`."
hidden: true
---

# Univer Workspace CLI

Remote authoring and inspection for Univer Workspace files. The CLI provides Space discovery,
per-task Worktrees, version-matched Facade guidance, model readback, and browser review.

`univer-workspace-cli` is independent from `univer`, not a variant: it operates remote Workspace
files, while `univer` operates local univerfiles.

Install and configure the target Workspace:

```bash
npm install -g univer-workspace-cli
univer-workspace-cli config set workspace.origin https://workspace.example.com
univer-workspace-cli login --json
```

Relay the first login command's verification URL and code to the user, then stop. Run `--complete`
only after the user confirms approval; do not poll while approval is pending.

```bash
univer-workspace-cli login --complete --json
univer-workspace-cli doctor
```

## Keep the CLI current

Use these commands to compare the installed CLI with the latest public release:

```bash
univer-workspace-cli --version
npm view univer-workspace-cli@latest version --registry=https://registry.npmjs.org/
```

Complete the current Workspace task before upgrading. This CLI has no `update` command; install the
new package version explicitly, then reload its operational Skills:

```bash
npm install -g univer-workspace-cli@latest
univer-workspace-cli doctor --json
univer-workspace-cli skills get core
```

## Start here

This file is the discovery entry, not the operational guide. Before using Workspace commands for a
task, load the complete core Skill from the installed CLI:

```bash
univer-workspace-cli skills get core          # remote model, workflow, evidence, and handoff
univer-workspace-cli skills get core --full   # include direct references
```

Runtime Skills ship with the CLI so their commands and Facade APIs match the installed version.

## Core Model

- Configure one Workspace origin, then authenticate against it.
- A Space is the file container users browse. Its tree contains Nodes identified by `nodeId`; a
  Univer Resource attached to a Node is identified by `resourceId`.
- A Unit is editable Sheet, Doc, Slide, Base, or Board content identified by `unitId` after its
  Resource is staged in a Worktree.
- Start every new task in a new Worktree. Continue a known Worktree only for rework on that same
  task; there is no implicit current Worktree or Unit.
- Command success is not correctness evidence. Read back the stored model and inspect rendered
  output when appearance matters.

Use public CLI and Facade surfaces. `execute` commits captured mutations as one Worktree revision,
and merge remains an explicit user review decision.

## Unit Skills

After core, load the Skill matching the target top-level Unit before authoring:

```bash
univer-workspace-cli skills get sheet
univer-workspace-cli skills get doc
univer-workspace-cli skills get slide
univer-workspace-cli skills get base
univer-workspace-cli skills get board
```

Use `univer-workspace-cli skills list` to discover the installed set. Each Unit Skill owns its
creation recipe, injected Facade root, readback guidance, and visual verification requirements.
For cross-Unit composition, also load `univer-workspace-cli skills get embed` or
`univer-workspace-cli skills get cross-unit-formula` after the Host and Source Unit Skills.

## Task Routing

| Task | Load and use |
| --- | --- |
| Authenticate or discover a Personal/Team Space file | core |
| Stage an existing file or create/import a new Unit in a task Worktree | core + target Unit |
| Inspect or edit Sheet values, formulas, formatting, charts, or tables | core + `sheet` |
| Create or refine Doc paragraphs, rich text, tables, charts, or pagination | core + `doc` |
| Build or review Slide pages, shapes, text, images, tables, or charts | core + `slide` |
| Inspect or edit Base tables, fields, records, views, or formulas | core + `base` |
| Build or review a Board canvas and its verified elements | core + `board` |
| Embed a Unit or back a Chart with another Unit | core + Host + Source + `embed` |
| Use Source data in a formula or formula-driven Shape | core + Host + Source + `cross-unit-formula` |
| Verify, screenshot, export, mark ready, or generate a review URL | core + target Unit |

## Why Univer Workspace CLI

- Space discovery resolves remote files before they enter a Worktree.
- Worktrees isolate one agent task until review, merge, or discard.
- Offline `api show` / `api find` resolves exact Facade symbols for the installed SDK.
- Runtime inspection and the Workspace review page verify stored and rendered results.
- Import/export and screenshots use the Workspace product runtime rather than unrelated file
  writers.

Do not substitute local office writers or bypass the remote Worktree lifecycle. Follow the loaded
core and Unit Skills for the supported path.

## Diagnose

```bash
univer-workspace-cli --help
univer-workspace-cli doctor
univer-workspace-cli skills list
univer-workspace-cli skills path
```

Use `univer-workspace-cli <command> --help` for exact syntax. If the CLI is unavailable, the
Workspace origin is not configured, authentication is missing, or `doctor` reports a blocking
runtime failure, stop and report the diagnostic instead of switching tools.

Versions

The database has no other skills named univer-workspace-cli.

Database snapshot: 13.11.2026 · package version 4e47834ff559 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100univer-cli
    Use when installing or operating Univer CLI for .univer files, spreadsheets, documents, slides, Base databases, Board canvases, cross-Unit embedding, worktrees, Facade authoring, inspection, verification, import/export, screenshots, or viewer handoff.
  • 100univer-integrate
    Integrate Univer Sheets, Docs, or Slides into React, Vue 3, HTML, or Node.js projects. Use when embedding Univer, choosing preset or plugin mode, initializing instances, configuring themes/locales/workers, or manipulating workbooks, worksheets, ranges, formulas, permissions, and…
  • 90Google Workspace CLI
    Automates Google Workspace from the terminal with the gws CLI: search, send, upload, export, share, and administer 20+ Google APIs. Use when driving Gmail, Drive, Calendar, Sheets, Docs, or the Admin SDK — bulk mail search and send, file sharing and export, event, user, and…
  • 90gws-workspace-recipes
    Use when the task is a reusable Google Workspace multi-step recipe rather than a single API call: scheduling from sheets, inbox-to-task flows, file sharing, doc generation, team announcements, event management, Drive organization, and cross-service automations built on the `gws` CLI.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.