Skills

Office Artifacts

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

Install

npx skills add agent0ai/agent-zero --skill office-artifacts -g -a claude-code -y
Repository
agent0ai/agent-zero19.6k
Category
Engineering
Updated
3d ago
License
See repository
Context cost
Mediumabout 1,584 tokens
Runs scripts
No, instructions only

What it does

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

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

Read the whole SKILL.md on GitHub

More in Engineering