Agent Skills
› KunAgent/Kun
› office-editor
office-editor
GitHub用于检查并原子化编辑DOCX、XLSX和PPTX文件,通过哈希保护确保操作安全与结构完整。
Trigger Scenarios
需要修改Office文档内容
验证Office文档结构
Install
npx skills add KunAgent/Kun --skill office-editor -g -y
SKILL.md
Frontmatter
{
"name": "office-editor",
"description": "Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations."
}
Office Editor
Copyright (c) 2026 KunAgent. Licensed under the MIT License.
Purpose
Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations.
Tool routing
| Tool or skill | Use |
|---|---|
office_inspect |
Inspect source structure and obtain SHA-256. |
office_edit |
Apply atomic validated operations. |
office_preview |
Preview the edited result. |
ppt_agent |
Use the governed workflow for presentation tasks beyond bounded structural edits. |
Workflow
- Identify the file format and exact requested changes.
- Inspect the file and capture the current source SHA-256.
- Translate the request into the smallest structured operation batch.
- Apply with expectedSha256.
- Validate and preview the result.
Completion gates
- Never edit from a stale hash.
- Preserve unrelated content and relationships.
- For presentations, use ppt_agent whenever the task is a presentation workflow rather than a bounded Office patch.
Boundaries
- Do not use binary search-and-replace on Office packages.
- Do not suppress OpenXML validation failures.
Delivery
Lead with the outcome, name the evidence used for verification, and disclose any real limitation that remains.
Version History
- a984912 Current 2026-09-09 01:50


