docx
БесплатноБез исполняемых скриптовНе проверенUse when the user wants to read, change or create a Word document (.docx) in their files. Works with the Simple Office add-on tools, with no command runner.
от mudler★ 50 644 звезды на GitHubОб этом скилле
Word documents with the Simple Office tools
Use the tools of the Simple Office add-on: addon__office__read-docx,
addon__office__edit-docx and addon__office__create-docx. A file is a
path in the user's files, such as /reports/plan.docx.
Read first
- Call
read-docxwith the path. You get the paragraphs with their index, and the tables. - Answer from what you read. Do not guess text you did not read.
Change a document
- Read the document first to get the paragraph indexes.
- Call
edit-docxwithpathandedits. Each edit has anop:set: replace the text of the paragraphindex.insert: add a paragraph withtextafter the paragraphafter(-1for the start).styleis optional and must be a style of the document.delete: remove the paragraphindex.replace: replacefindwithtexteverywhere.
- The edits run in order, and all or none are saved. An insert or a delete moves the indexes after it: plan the order, or read the document again.
- Change the smallest range of paragraphs. Do not create the document again to fix a typo.
- If someone changed the file meanwhile, your version is saved as a second file. Tell the user its path.
Create a document
Use create-docx with path and a markdown string. Markdown supports
headings, paragraphs, bullet and numbered lists, bold/italic emphasis and
simple rectangular tables. Code is literal text; links show their labels
without fetching targets. HTML, images and unsupported constructs are refused.
Optional title is metadata, not an extra visible heading. All arguments
are strings. The former blocks argument is no longer accepted.
Example: {"path":"/reports/plan.docx","markdown":"# Plan\n\nA **short** summary."}.
If the path is taken, the old file stays and the new one is saved next to it.
When the tools cannot do it
The tools do not edit tables, tracked changes, comments, images, headers, footers or fields. Say so before you start, and offer what the tools can do. Do not describe a manual method instead.
Установить docx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл docx?
Use when the user wants to read, change or create a Word document (.docx) in their files. Works with the Simple Office add-on tools, with no command runner.
Как установить скилл docx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic