# Office Artifacts

Manage Office files, formats and versions; use Writer, Calc or Impress for content.

- Repository: https://github.com/agent0ai/agent-zero (19630 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add agent0ai/agent-zero --skill office-artifacts -g -a claude-code -y`
Codex: `npx skills add agent0ai/agent-zero --skill office-artifacts -g -a codex -y`
Cursor: `npx skills add agent0ai/agent-zero --skill office-artifacts -g -a cursor -y`
Gemini CLI: `npx skills add agent0ai/agent-zero --skill office-artifacts -g -a gemini-cli -y`

## Description

Manage Office files, formats and versions; use Writer, Calc or Impress for content.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Office Artifacts

Use `office_artifact` for deliverables that must be real Office packages in LibreOffice Desktop. Use `text_editor` for Markdown and plain text. For LibreOffice office files, ODF is first-class: use ODT for Writer, ODS for Spreadsheet/Calc, and ODP for Presentation/Impress. Use DOCX, XLSX, or PPTX only when the user explicitly asks for OOXML compatibility, provides an existing file in that format, or needs that compatibility format.

The Desktop surface is user-owned UI. Creating, reading, or editing an artifact must save the file and update its state, but it must not open Desktop automatically if the user has not asked for that UI. Use the `open` action, `open_in_canvas: true`, or `open_in_desktop: true` only when the user explicitly asks to open the Office document/Desktop. After create/edit, answer briefly with what changed and the saved path when useful; do not write faux UI action labels such as "Open document" or "Download file", and do not add a note saying the canvas was not opened automatically unless the user explicitly asks about UI behavior.

For format-specific work, prefer the matching skill when available:

- `writer-documents` for Writer/ODT files and DOCX compatibility files.
- `calc-spreadsheets` for Calc/ODS spreadsheets and XLSX compatibility workbooks.
- `impress-presentations` for Impress/ODP decks and PPTX compatibility decks.

## Workflow

1. Create or open the Office artifact with `tool_name: "office_artifact"` and `tool_args.action: "create"` or `"open"`.
2. Before content-sensitive edits, call the `read` action with `file_id` or `path`.
3. Apply saved changes with the `edit` action.
4. Use `version_history` or `restore_version` when the user asks to audit or roll back.

Office context may list opened files with `file_id`, path, version, size, and timestamp. It intentionally omits full file contents; use `read` when the content matters.

## Minimal Calls

The rest: https://github.com/agent0ai/agent-zero/blob/HEAD/plugins/_office/skills/office-artifacts/SKILL.md
