Skills Plugins MCP Prompt Model 博客 我的中心

office-artifacts

Use when creating, opening, reading, or editing Office artifacts such as LibreOffice-native ODT/ODS/ODP files and compatibility DOCX/XLSX/PPTX files with the office_artifact tool.

DeepseekModel キュレーション済みスキル 品質 優秀 · 90 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=agent0ai-agent-zero-plugins-office-skills-office-artifacts-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name office-artifacts description Use when creating, opening, reading, or editing Office artifacts such as LibreOffice-native ODT/ODS/ODP files and compatibility DOCX/XLSX/PPTX files with the office_artifact tool. version 1.4.0 author Agent Zero Core Team tags ["office","documents","odt","ods","odp","docx","xlsx","pptx","spreadsheets","presentations","libreoffice","opendocument"] triggers ["office artifact","office document","odt","ods","odp","docx","xlsx","pptx","writer","spreadsheet","presentation"] allowed_tools ["office_artifact","text_editor"] 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 Create or open the Office artifact with tool_name: "office_artifact" and tool_args.action: "create" or "open" . Before content-sensitive edits, call the read action with file_id or path . Apply saved changes with the edit action. 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 Create: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "create" , "kind" : "document" , "title" : "Project Brief" , "format" : "odt" , "content" : "Draft text here." } } For spreadsheets, content can be CSV, TSV, or a Markdown table; the tool writes real cells, not one text blob per row. Read: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "read" , "file_id" : "abc123" } } Edit text in an ODT, DOCX, ODP, or PPTX file: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "edit" , "file_id" : "abc123" , "operation" : "replace_text" , "find" : "old phrase" , "replace" : "new phrase" } } Append text to an ODT or DOCX file: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "edit" , "file_id" : "abc123" , "operation" : "append_text" , "content" : "\nAdded line 1\nAdded line 2" } } Set spreadsheet cells: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "edit" , "path" : "/a0/usr/workdir/documents/Budget.ods" , "operation" : "set_cells" , "cells" : { "Sheet1!B2" : 12500 , "Sheet1!B3" : 9800 } } } Create an embedded spreadsheet chart: { "tool_name" : "office_artifact" , "tool_args" : { "action" : "edit" , "file_id" : "abc123" , "operation" : "create_chart" , "sheet" : "Sheet1" , "chart" : { "type" : "line" , "title" : "Monthly Revenue" , "data_range" : "B1:C13" , "categories" : "A2:A13" , "position" : "E1" , "width" : 18 , "height" : 10 } } } Edit Operations ODT and DOCX: set_text , append_text , prepend_text , replace_text , delete_text . ODS and XLSX: set_cells , append_rows , set_rows , replace_text , delete_text . XLSX only: create_chart for embedded spreadsheet charts. ODP and PPTX: set_slides , append_slide , replace_text , delete_text . Arguments: set_text , append_text , and prepend_text use content for the text being written; do not put that text in value, update, or edits. replace_text and delete_text require find ; replace_text uses replace . set_cells accepts { "A1": "value", "Sheet2!B3": 42 } or [{"sheet":"Sheet1","cell":"A1","value":"value"}] . rows accepts an array of rows. content can also be CSV, TSV, or a Markdown table. create_chart accepts chart as an object or JSON string for XLSX compatibility workbooks. Supported XLSX chart types: line , bar , column , pie , area , scatter , stock , ohlc , candlestick . Use data_range , categories / labels , position , title , width , and height . For stock-style charts only, provide Open/High/Low/Close columns in that order, or rely on a sheet whose headers are Date, Open, High, Low, Close . slides accepts [{"title":"Slide title","bullets":["point"]}] . Text slides can be separated with a line containing --- . count limits text replacements. Practical Rules Prefer file_id from document context or prior tool output; use path when that is all you have. Use read before editing unless the current saved content is already known. Do not create an artifact for tiny one-shot edits or answers the agent can finish cleanly in chat or by directly editing the file. For document-style writing requests with no requested binary format, use text_editor to create or edit Markdown and let the Editor surface be the primary interactive editor. For spreadsheet or presentation file requests with no OOXML compatibility requirement, create ODS or ODP. The Desktop runtime may be warmed during Agent Zero startup, but visible Desktop surface use remains opt-in. Treat LibreOffice GUI work as appropriate for explicit GUI requests, binary Office visual polish, or final layout inspection. Never open Editor or Desktop automatically from a tool result. If the user has not asked to open it, leave the saved artifact available through the normal UI affordance. Use native create_chart for embedded spreadsheet charts. Reach for Python/code execution only when the requested chart behavior is not supported by the tool. Use edit for precise saved Office changes; use Editor for Markdown polish and Desktop for binary Office visual polish. Direct edits update version history and refresh the document UI on edit/open results.
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。