Skip to main content

writer-documents

Create, open or edit Writer documents: ODT default; DOCX for Word compatibility.

来源信息

仓库
agent0ai/agent-zero
最近来源活动
2026年9月8日 00:37
检测到的 SKILL.md 语言
英语
星标
19,563
Forks
3,838

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
writer-documents
description
Create, open or edit Writer documents: ODT default; DOCX for Word compatibility.
version
1.1.0
author
Agent Zero Core Team
tags
["writer","odt","opendocument","word","docx","documents","reports","memos","contracts"]
triggers
["Writer","ODT","odt","OpenDocument Text","Word","DOCX","docx","Microsoft Word","LibreOffice Writer","Word document"]
allowed_tools
["office_artifact"]
# Writer Documents Use ODT for LibreOffice Writer documents. Use DOCX only when the user explicitly asks for Word/DOCX/OOXML compatibility, provides an existing `.docx`, or needs that compatibility format. For ordinary writing with no binary requirement, use Markdown instead. The document UI and Desktop are user-owned. Creating or editing an ODT or DOCX must save the file, but must not open a document modal or Desktop surface automatically. Use Desktop/Writer only for explicit GUI requests, visual layout polish, or final visual confirmation. 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. ## Workflow Create: ```json { "tool_name": "office_artifact", "tool_args": { "action": "create", "kind": "document", "title": "Board Memo", "format": "odt", "content": "Memo body text." } } ``` Edit: 1. Use the `read` action with `file_id` or `path` before content-sensitive edits. 2. Use the `edit` action for deterministic saved changes: `set_text`, `append_text`, `prepend_text`, `replace_text`, or `delete_text`. 3. Use the Desktop only when the user asks to see Writer or when layout cannot be handled reliably through structured edits. Practical rules: - Keep Writer content clean and structured. Use headings and paragraphs; avoid over-formatting unless requested. - Treat DOCX as a compatibility export/request, not the default Writer format. - Do not say the document is open. Say it was created or updated, and rely on the Open in Desktop action for user-controlled viewing.
在 GitHub 查看