docx
Skill này làm gì
Skill này giúp agent làm việc với file Microsoft Word. Nó có thể đọc chúng, tạo file mới và chỉnh sửa cẩn thận. Dành cho bất kỳ ai cần một tài liệu Word được tạo hoặc cập nhật.
Khi nào nên dùng
- ✓Khi bạn muốn tạo một tài liệu Word mới từ nội dung của mình.
- ✓Khi bạn muốn thay đổi file Word trong khi định dạng của nó vẫn được giữ nguyên.
- ✓Khi bạn cần điền một mẫu Word hoặc xem lại các thay đổi được theo dõi và bình luận.
Liên kết skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Điền các chỗ giữ chỗ trong mẫu Word này bằng thông tin khách hàng từ danh sách của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra file trước, rồi dùng các script trợ giúp nhỏ để đọc, sửa, thêm bình luận, điền mẫu hoặc kiểm tra kết quả. Mặc định nó lưu thành một bản sao mới thay vì ghi đè bản gốc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Word documents
Use this Skill for .docx work. Preserve the user's content and formatting intent, and make the smallest change that satisfies the request.
Start here
Call skill_view for this Skill before using its resources. It returns baseDirectory; every bundled helper below lives under <baseDirectory>/scripts.
Default to a new output file. Replace the input only when the user explicitly asks for an in-place edit. Before changing a document, inspect it with docx_read.py and keep a recoverable original.
Core dependency:
python3 -m pip install python-docx lxml
Do not install dependencies silently. Check availability first and explain any missing dependency that blocks the task.
Helpers
- docx_read.py: extract paragraphs, headings, tables, links, comments, headers, footers, and document metadata.
- docx_create.py: create a document from structured JSON.
- docx_edit.py: perform targeted text, paragraph, table, image, header, and footer edits.
- docx_template.py: inspect placeholders and populate a template.
- docx_comments.py: add, list, or remove comments.
- docx_revisions.py: inspect, accept, or reject tracked revisions.
- docx_validate.py: validate the resulting package and report structural problems.
Run helpers with terminal_exec, passing python3 as the command and arguments as an array. Use --help when a helper's exact arguments are unclear.
python3 <baseDirectory>/scripts/docx_read.py input.docx --json
python3 <baseDirectory>/scripts/docx_create.py spec.json -o output.docx
python3 <baseDirectory>/scripts/docx_edit.py input.docx edits.json -o output.docx
python3 <baseDirectory>/scripts/docx_validate.py output.docx
For tracked changes and comments, read references/revisions-and-comments.md through skill_view before editing them.
Workflow
- Inspect the source document and identify the exact sections to preserve or change.
- Build a structured specification or edit plan. Do not approximate names, numbers, dates, citations, or legal wording.
- Generate or edit a new .docx.
- Run docx_validate.py.
- When layout matters, convert the result to PDF with LibreOffice if available, render the relevant PDF pages with the bundled pdf Skill, and inspect the images with view_image. Check clipping, page breaks, tables, headers, footers, and image placement.
- Return the final absolute path and summarize material changes.
If LibreOffice is unavailable, still perform structural validation and clearly state that visual rendering was not available.
Safety
- Never discard comments or tracked revisions unless the user requested that operation.
- Treat accept-all/reject-all revisions and remove-all comments as destructive transformations; confirm the intended scope when it is ambiguous.
- Do not execute macros or embedded objects.
- Avoid copying sensitive document text into external services unless the user requested a workflow that requires it.
Câu hỏi thường gặp
Nó có ghi đè file gốc của tôi không?
Không. Mặc định nó làm việc trên file đầu ra mới và chỉ sửa bản gốc khi bạn yêu cầu rõ ràng.
Nó có xử lý thay đổi được theo dõi không?
Có. Skill có các công cụ trợ giúp để kiểm tra, chấp nhận hoặc từ chối các chỉnh sửa được theo dõi.
Nó có cần phần mềm bổ sung không?
Nó cần các gói Python python-docx và lxml, và agent kiểm tra chúng trước khi bắt đầu.
Chi tiết
Mô tả gốc của tác giả
Create, inspect, edit, validate, and visually verify Microsoft Word .docx documents, including templates, comments, tracked revisions, tables, images, headers, and footers.
repo: EKKOLearnAI/ekko-studio
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11564
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
1password
12kGiúp agent của bạn dùng 1Password CLI để lấy bí mật cho lệnh và file cấu hình mà không hiển thị chúng trong chat, nhật ký hay file đã lưu.
apple-notes
12kGiúp agent của bạn tạo, tìm, đọc, sửa, di chuyển hoặc xóa Apple Notes trên Mac, bằng công cụ dòng lệnh memo.
apple-reminders
12kGiúp agent của bạn liệt kê, tạo, sửa, đánh dấu hoàn thành hoặc xóa Apple Reminders và danh sách nhắc việc trên Mac, bằng công cụ remindctl.
document-to-action-items
12kGiúp agent của bạn biến tài liệu, bản ghi cuộc họp hoặc các ghi chú thành bảng việc cần làm rõ ràng gồm người phụ trách, thời hạn và quyết định.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.