Wordcraft 标志

Wordcraft

组织
hermes-pro
wordcraft

使用 WordCraft(类似 Word)进行文字处理:撰写、设置格式和编辑文档,包括报告、信件、备忘录、简历、提案和手册。支持标题和样式、列表、表格、图片、原生图表和 SmartArt、公式、页眉和页脚、页码、目录、脚注、批注、修订和邮件合并。可打开和保存 .docx、导出 PDF;也支持 ODT、RTF、HTML、Markdown、LaTeX、TXT 和读取 .doc 文件。

概览

发布者hermes-pro
代码仓库storytold-skills
技能名称wordcraft
星标数
36
复刻数
10
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 hermes-pro 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wordcraft AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hermes-pro/storytold-skills/tree/main/wordcraft
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hermes-pro/storytold-skills.git /tmp/storytold-skills
mkdir -p .claude/skills
cp -r /tmp/storytold-skills/wordcraft .claude/skills/wordcraft
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wordcraft,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wordcraft。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wordcraft 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

WordCraft

WordCraft is a free, open-source clean-room take on Microsoft Word (storytold Crafting Apps). An agent drives it through an MCP server (wordcraft-cli mcp) or one-shot CLI commands. It reads and writes real .docx that opens in Word, and exports PDF with selectable text. This skill is tested against WordCraft 0.15.2.

When to Use

Use it for flowing, text-first documents:

  • reports, memos, letters, résumés, proposals, handbooks, minutes, contracts
  • turning Markdown/notes into a formatted .docx or PDF
  • editing an existing .docx: find/replace, restyle, add sections, comments, tracked changes
  • mail merge (letters, labels, envelopes from CSV, .xlsx or .ods)

Pick a different Crafting App when:

The job is…Use
Slides or a presentationdeckcraft
Spreadsheets, calculations, data tables as the deliverablegridcraft
Designed layouts: brochures, magazines, flyers with free-placed framesdesigncraft
Editing pages, forms or annotations of an existing PDFpdfcraft
Logos or illustrations to place in the documentvectorcraft (export PNG, then insert it)

Simple bar/line/pie charts and process/cycle diagrams no longer need another app: use insert.chart and insert.smartArt (native, editable in Word).

Setup

  1. If tools named mcp_wordcraft_* are available, use them. This is the preferred way.
  2. Otherwise check for the CLI with wordcraft-cli --version. If it's missing, load the storytold-install skill and run its setup wordcraft. Then ask the user to start a new session or run /reload-mcp.
  3. Until the MCP tools appear, use the CLI one-shots (see CLI).

The server is headless by default (no window). Everything works except screenshot, click, key and ui_inspect. For the user to watch live: wordcraft --control 7981, then wordcraft-cli mcp --connect 127.0.0.1:7981 (the bridge sends the app's control key from WORDCRAFT_CONTROL_KEY or the key file the app writes, and keeps serving while the app isn't open yet: calls fail with "not reachable … will retry on each call" until it is). Plain wordcraft-cli mcp reads and writes any path. --automation-read-root DIR / --automation-write-root DIR confine file access to DIR (a root left out grants no access of that kind; they are an error with --connect). --author NAME names who tracked changes and comments are by (default WordCraft User).

Mental Model

  • One active document, edited like a person would: a caret/selection, and every edit is a command (655 of them) that acts at the caret or on the selection. execute {command, params} runs one, batch {commands: [...]} runs many in one call (stops at the first error unless keepGoing).
  • Several documents can be open. A fresh server starts with an empty Document1 (id 1); new_document and open_document open another one beside it and make it active (the reply has its id; opening a file replaces an unused blank one, and a file already open just becomes active, alreadyOpen: true). Tools act on the active document; pass doc: <id> to execute, batch, type_text, select_text, get_text, inspect_document, render_page or save_document to work on another without switching. list_documents lists them.
  • Write top to bottom: type a paragraph, style it, text.newParagraph, repeat. The paragraph after a heading comes back as Normal.
  • Positions are {story: "body" | {part: n}, path: [block, row, cell, block…], off: byteOffset}. Every command returns the new selection, so you can see where the caret went. Headers, footers, footnotes and comments are separate parts; commands that create them move the caret into the part.
  • Styles first, direct formatting second. Use para.style {style: "Heading 1"} (names or ids like Heading1), and change the look document-wide with design.theme, design.styleSet, then styles.modify.
  • Typing behaves like Word's keyboard: AutoCorrect runs when text.newParagraph ends a paragraph (see Pitfalls).
  • Units are points (72 per inch). new_document gives a Letter page 612 × 792 with 1-inch margins. Markdown, HTML and text files take the system region's paper (A4 outside Letter regions); the CLI honours WORDCRAFT_REGION=en-US. Check with document.layout, change with layout.size {name} or {width, height}.

Tools (Hermes names them mcp_wordcraft_<tool>)

ToolUse it for
new_document {template?}blank, sample, letter, resume, report (templates have placeholder text to replace). Opens a new document → {id}
open_document {path, password?} / save_document {path?, doc?}Open .docx .doc .odt .rtf .md .tex .html .txt .json (other text files as plain text). Save picks the format from the extension: docx, pdf, odt, rtf, html, md, tex, txt, png, xml (Word Flat XML)
list_documentsOpen documents: id, title, path, dirty, active
type_text {text, paragraphs?}Type at the caret, replacing the selection. paragraphs: true turns \n into new paragraphs
select_text {text, occurrence?}Select the n-th match (1-based). Then format it, or type to replace it
execute / batchRun commands (see Commands)
get_textPlain text of the story the caret is in (normally the body), tracked deletions left out
inspect_documentBlocks with style, runs, lists, tables (cell text), objects (pictures, charts, fields), sections, parts, pages
render_page {page?, scale?}A page as PNG so you can look at it (1-based page)
list_commands {query}Find command ids and params
parityFeature coverage report (rarely needed)
screenshot, click, key, ui_inspectDesktop app only (--connect)

Resources: wordcraft://document (same as inspect) and wordcraft://commands.

Commands you'll use most

  • Text & caret: text.insert {text}, text.newParagraph, text.lineBreak, text.tab (next table cell), text.pageBreak, caret.docStart/caret.docEnd/caret.end, select.text {text, occurrence?}, select.all, select.range {anchor, focus}, select.collapse.
  • Paragraph: para.style {style}, para.heading1..3, para.normal, para.align {value}, para.spacing {before, after}, para.indents {left, right, firstLine}, para.lineSpacing {value}, para.bullets {kind?, off?}, para.numbering {kind?, off?}, para.listLevel {level}, para.keepNext, para.tabs {set|tabs|clear}, para.borders {kind | sides}.
  • Character: format.bold|italic|underline {value?}, format.font {name}, format.size {size}, format.color {color: "RRGGBB"}, format.highlight {color: "yellow"}, format.charStyle {style}, format.clear.
  • Styles: styles.list, styles.modify {style, chr?, para?}, styles.create {name, basedOn?}, styles.delete {style}.
  • Insert: insert.table {rows, cols, style?}, insert.picture {path, width?, alt?}, insert.link {url | heading | bookmark, text?} (link.targets lists heading blocks and bookmarks for in-document links), insert.chart {type, data, title?, legend?, dataLabels?, width?, height?}, insert.smartArt {layout, items, colors?}, insert.equation {latex | linear, display?, edit: false}, insert.header {text?}, insert.footer {text? | preset: "pageNumber"}, insert.pageNumber {position, align, format?: "x of y"}, insert.closeHeader, insert.coverPage {title, subtitle?, author?}, insert.shape, insert.textBox.
  • References: references.toc {levels?} + references.updateToc, references.footnote {text}, references.caption {label, text, position?}, references.citation, references.bibliography.
  • Page: layout.margins {preset | top…}, layout.orientation {value}, layout.size {name}, layout.columns {count}, layout.break {kind: "nextPage"|"continuous"…}, layout.differentFirstPage.
  • Design: design.theme {name} (design.themes: Craft, Studio, Gallery, Atelier, Darkroom, Sketchbook), design.styleSet {name}, design.watermark {text, diagonal?}, design.pageColor, design.pageBorders.
  • Review: edit.replaceAll {text, with, matchCase?, wholeWord?, regex?, wildcards?, special?}, review.newComment {text}, review.trackChanges {value?}, review.changes, review.acceptAll, review.wordCount, file.setAuthor {name}, file.privacyOptions {removePersonalInfo?, removeDateTime?} (saved authors become "Author", no dates).
  • Tables (caret inside): table.style {style}, table.look {headerRow, bandedRows…}, table.insertRowBelow, table.merge, table.columnWidth {width}, table.autofit {mode}, table.sort, table.properties {…}, table.formula {formula: "=SUM(ABOVE)"} (a live field in the caret cell).
  • Lists & sizes: list.multilevelPreset {preset: "headings"|"article"|"outlineHeadings"|"chapter"} numbers Heading 1–9 (1 / 1.1 / 1.1.1…; tested), design.scaleFontSizes {delta | percent} grows or shrinks every size.
  • Languages: proof.packs lists spelling/hyphenation packs; proof.installPack {locale} downloads one only when the person has turned downloading on in the app (File › Options › Language), else it fails with downloading is turned off (not tested).
  • Documents: view.switchWindows {id?} (list, or make one active), file.closeDocument {id?, force?}.
  • Check: document.layout (pages and the first block on each), document.paragraph {path:[i]}, format.state, font.missing (fonts drawn with a substitute).

Table style ids: TableGrid, PlainTable1, GridTable1Light, GridTable4Accent{Blue|Orange|Green|Purple}, ListTable3Accent{Blue|Orange|Green|Purple}. Everything else: grep references/commands.md.

Procedure

  1. Plan the outline (headings), what needs a table, list, chart, picture, and the deliverable formats.
  2. Start: new_document {template}, open_document, or convert Markdown (fastest for long text, see below).
  3. Build in one batch per section: insert → style → new paragraph. Keep ids/paths from the replies.
  4. Look: inspect_document for structure, render_page for each page. Fix overflow, stray empty paragraphs, wrong styles.
  5. Save .docx (editable master), then export .pdf if needed. Absolute paths only.

Recipe: formatted report (tested)

text
new_document {template: "blank"}
batch {commands: [
  {command:"text.insert", params:{text:"Q3 Business Review"}}, {command:"para.style", params:{style:"Title"}},
  {command:"text.newParagraph"},
  {command:"text.insert", params:{text:"Highlights"}}, {command:"para.heading1"}, {command:"text.newParagraph"},
  {command:"text.insert", params:{text:"The quarter closed ahead of plan."}}, {command:"text.newParagraph"},
  {command:"para.bullets"},                                      ← turn the list on BEFORE typing items
  {command:"text.insert", params:{text:"Revenue up 12%"}}, {command:"text.newParagraph"},
  {command:"text.insert", params:{text:"Churn down to 2.1%"}}, {command:"text.newParagraph"},
  {command:"para.bullets", params:{off:true}}, {command:"para.normal"},
  {command:"text.insert", params:{text:"Revenue by region"}}, {command:"para.heading2"}, {command:"text.newParagraph"},
  {command:"insert.table", params:{rows:3, cols:3, style:"GridTable4AccentBlue"}},   ← caret lands in cell (0,0)
  {command:"text.insert", params:{text:"Region"}}, {command:"text.tab"}, … fill row by row with text.tab …
  {command:"caret.docEnd"},                                      ← leaves the table (an empty paragraph follows it)
  {command:"insert.picture", params:{path:"/abs/chart.png", width:300, alt:"Revenue trend"}},   ← caret lands after it
  {command:"para.alignCenter"}, {command:"text.newParagraph"}, {command:"para.alignLeft"},
  {command:"text.insert", params:{text:"Next steps"}}, {command:"para.heading1"}, {command:"text.newParagraph"},
  {command:"para.numbering"}, {command:"text.insert", params:{text:"Hire two account managers"}},
  {command:"select.text", params:{text:"Q3 Business Review"}}, {command:"caret.end"}, {command:"text.newParagraph"},
  {command:"references.toc", params:{levels:2}}, {command:"references.updateToc"},   ← TOC last, once headings exist
  {command:"insert.header", params:{text:"Northwind Ltd - Confidential"}}, {command:"insert.closeHeader"},
  {command:"insert.pageNumber", params:{position:"bottom", align:"center", format:"x of y"}}, {command:"insert.closeHeader"},
  {command:"file.properties", params:{title:"Q3 Business Review", author:"Strategy Team"}} ]}
render_page {page: 1}  →  look  ·  save_document {path:"/abs/report.docx"}  ·  save_document {path:"/abs/report.pdf"}

TOC page numbers come out right (checked in get_text, the render and the PDF). After any later edit that moves headings, run references.updateToc again before saving.

Recipe: native chart, SmartArt and equation (tested)

text
batch {commands: [
  {command:"insert.chart", params:{type:"column", title:"Revenue (M)", legend:"bottom", dataLabels:true, width:432, height:240,
     data:{categories:["Q1","Q2","Q3"], series:[{name:"North", values:[1.1,1.2,1.4]}, {name:"South", values:[0.8,0.9,1.0]}]}}},
  {command:"caret.end"}, {command:"text.newParagraph"},          ← a new chart is SELECTED, like a picture
  {command:"insert.smartArt", params:{layout:"process", items:["Plan","Build","Ship"], colors:"colorful", width:432, height:120}},
  {command:"caret.end"}, {command:"text.newParagraph"},
  {command:"insert.equation", params:{latex:"E = mc^2", display:true, edit:false}}, {command:"caret.docEnd"} ]}

Types: column, columnStacked, bar, barStacked, line, area, pie, doughnut, scatter. Layouts: basicList, process, cycle, hierarchy, pyramid, radial, matrix, venn. They save as real Word charts/diagrams/OMML and render in PDF. Change later with chart.editData, chart.type, smartArt.items (caret on the object).

Recipe: from Markdown, then polish (tested)

Write the content as Markdown (headings, **bold**, lists, pipe tables, links, > quotes, code fences), then:

text
open_document {path:"/abs/memo.md"}                     (or CLI: wordcraft-cli convert memo.md memo.docx)
select_text {text:"<text only found in a cell>"} → execute table.style {style:"ListTable3AccentGreen"}
execute table.look {headerRow:true, bandedRows:true}               ← imported tables are plain TableGrid
select_text {text:"the tracker"} → execute format.charStyle {style:"Hyperlink"}   ← links keep the URL but not the look
execute caret.docStart → execute insert.coverPage {title, subtitle, author}
execute select.range {anchor:{story:"body",path:[10],off:0}, focus:{story:"body",path:[16],off:0}} → execute text.delete
                                                                   ← trims 6 spacer paragraphs; see Pitfalls
execute insert.footer {preset:"pageNumber"} → execute insert.closeHeader → execute layout.differentFirstPage
save_document {path:"/abs/memo.docx"} · save_document {path:"/abs/memo.pdf"}

Numbered (1.) and bulleted Markdown lists, bold, italic, quotes (Quote style) and code (Code style) import correctly.

Recipe: edit an existing .docx (tested)

text
open_document {path:"/abs/report.docx"}
execute edit.replaceAll {text:"Lisbon", with:"Porto"}                → {replaced: n}; formatting is kept
execute design.theme {name:"Atelier"}                                ← theme BEFORE styles.modify (it resets style colours)
execute styles.modify {style:"Heading 1", chr:{color:"8B1E3F", bold:true, size:20}, para:{spaceBefore:24}}
select_text {text:"ahead of plan"} → execute format.bold → execute format.highlight {color:"yellow"}
execute review.newComment {text:"Confirm with finance"}             ← comment on the selection
select_text {text:"Churn down to 2.1%"} → execute caret.end → execute references.footnote {text:"Trailing twelve months."}
execute insert.closeHeader                                           ← back to the body
save_document {path:"/abs/report-v2.docx"}

For a letter, start from new_document {template:"letter"} and swap the placeholders with edit.replaceAll. Tracked edits: execute review.trackChanges {value:true}, then select_text + type_text or edit.replaceAll (both are recorded and saved as w:ins/w:del); review.changes lists them. To show comments and changes in a PDF: file.exportPdf {path, markup:true} or wordcraft-cli convert in.docx out.pdf --markup.

Recipe: mail merge letters (tested)

text
new_document {template:"blank"} → execute tools.autocorrect {enabled:false}
execute mailings.start {kind:"letters"}
execute mailings.recipients {path:"/abs/people.csv"}      → {fields:[…], records:n}   (.xlsx/.xls/.ods: add sheet)
batch: text.insert "Dear " · mailings.insertField {field:"Name"} · text.insert "," · text.newParagraph · …
execute mailings.preview → get_text                         ← shows record 1 filled in
execute mailings.finish {path:"/abs/merged.docx"}           → one letter per record, each on its own page

Only some records, or in another order: mailings.filterRecipients {rules:[{field:"City", op:"equal", value:"Porto"}], sort:[{field:"Name", descending:true}]} before preview/finish (→ {records, of}; {} clears it).

Recipe: work on several documents (tested)

text
open_document {path:"/abs/source.docx"}                       → {id: 2}   (replaces the unused Document1)
new_document {template:"report"}                              → {id: 3}, now the active one
get_text {doc: 2}                                             ← read the source without switching
batch {doc: 2, commands:[{command:"caret.docEnd"}, {command:"text.newParagraph"}, {command:"text.insert", params:{text:"…"}}]}
save_document {doc: 2, path:"/abs/source-v2.docx"}            ← a file opened with a password is saved with it again
list_documents → execute file.closeDocument {id: 2}           ← unsaved changes need force: true

Formats

  • Open: .docx .doc (Word 97-2003, read only) .odt .rtf .md .tex .html .txt .json .xml (Word XML), and other text files.
  • Save: .docx .pdf .odt .rtf .html .md .tex .txt .xml .png (page image). .doc can't be written. .xml is a Word XML Document (Flat OPC); execute file.save {path, format:"wordml2003"} writes a Word 2003 XML Document.
  • PDF has real text, links and bookmarks. save_document to a new path is "Save As"; omit path to save in place.
  • Password-protected Word files: open_document {path} fails with this document is protected with a password (a wrong one: the password is incorrect); pass password. Save encrypted with execute file.save {path, password}. A file opened with a password is saved with it again; PDF, HTML and text exports stay plain.

CLI (no MCP needed)

bash
wordcraft-cli convert in.md out.docx            # docx doc(read) pdf odt rtf html md tex txt json png
wordcraft-cli convert in.docx out.pdf --markup  # comments beside each page, tracked changes marked
wordcraft-cli convert in.docx out.xml --format wordml2003   # Word 2003 XML (default .xml is Flat OPC)
wordcraft-cli convert in.docx out.pdf --update-fields       # refresh unlocked fields (TOC, page refs) first
wordcraft-cli info file.docx                     # JSON: pages, words, paragraphs, properties
wordcraft-cli text file.docx                     # plain text with list labels  ·  wordcraft-cli inspect file.docx  (JSON)
wordcraft-cli render file.docx page.png --page 2 --scale 0.8
wordcraft-cli run --template letter --cmd 'edit.replaceAll={"text":"Dear","with":"Hello"}' \
                  --cmd 'select.text={"text":"Hello"}' --cmd format.bold --save /abs/out.docx --print
wordcraft-cli run --script job.json             # {"template"?|"file"?, "commands":[{"command","params"?} | id…], "save":["out.docx","out.pdf"]}
wordcraft-cli commands [--json]                  # the full command catalog
wordcraft-cli <command> --help                   # usage for one command

run takes --file F or --template T, then any number of --cmd 'id={json}', then --save, and --author NAME. With --script FILE (- = stdin) the script's commands run first; its relative paths resolve against the script's folder, and one run can save several formats (tested: docx + pdf). A protected file: --password-file PATH or WORDCRAFT_PASSWORD (better than --password PASS, which other processes can read). wordcraft-cli zotero … drives a running Zotero (rarely needed).

Pitfalls

  • A new chart or SmartArt stays selected. The next text.insert/type_text/text.newParagraph replaces it. Run caret.end (or select.collapse) right after inserting one. (insert.picture leaves the caret after the picture.)
  • AutoCorrect on Enter. text.newParagraph (and type_text {paragraphs:true}) applies AutoCorrect to the word before it: x → X, teh → the, sentence capitals. For names, codes or lowercase lines, run execute tools.autocorrect {enabled:false} first. It lasts for the server session only.
  • design.theme resets style colours and fonts. A styles.modify colour set before it is replaced by the theme colour. Apply the theme first, then styles.modify.
  • Cover page spills onto a second page. insert.coverPage builds the page from empty Normal paragraphs, and the author/date lines land on page 2. Right after it, delete six spacer paragraphs (select.range path [10] → [16], text.delete) and check document.layout (cover blocks on page 1 only).
  • select_text finds the first match anywhere, including TOC entries, headings and list items that share the text. After a TOC exists, a heading's text matches its TOC line first; use occurrence or a unique phrase.
  • TOC page numbers go stale after edits that move headings (also in the PDF). Run references.updateToc before saving.
  • Caret left in a part. insert.header/insert.footer/insert.pageNumber/references.footnote move the caret into that part; get_text then returns only that part. Run insert.closeHeader to get back to the body.
  • type_text {paragraphs:true} then para.bullets bullets only the last paragraph. Turn the list on first, then type.
  • Colours are "RRGGBB" everywhere, including property objects (styles.modify chr/para, format.set {props}, para.set {props}: color, shading, underlineColor). "#RRGGBB" and "auto" also work. A bad value fails with bad parameters: color must be RRGGBB or auto (format.color) or bad parameters: invalid value: string "zz", expected `auto`, `RRGGBB` or `#RRGGBB` (property objects); format.color {color: {"Rgb":[…]}} fails with bad parameters: `color` (string) is required.
  • Unknown param keys are silently ignored (no error). Check the effect with format.state or document.paragraph {path:[i]}.
  • Table style names: insert.table {style:"Grid Table 4 Accent 1"} → bad parameters: no table style Grid Table 4 Accent 1``. Use the ids listed above (styles.list).
  • table.* with the caret outside a table: not available: table.style: the cursor isn't in a table.
  • styles.create also applies the new style to the paragraph at the caret.
  • edit.replaceAll inserts with exactly as given: with matchCase off, replacing region with area also turns Region into lowercase area. Run a separate pass for capitalised matches.
  • edit.replaceAll searches the body only, not headers or footers (edit those with insert.editHeader, select.all, type_text). ^p, ^t and other ^ codes are special by default; pass special:false to match a literal ^.
  • references.caption {label:"Table", text:"Sales"} writes "Table 1: Sales". Don't start text with a colon.
  • render_page shows red spelling squiggles. PDF and wordcraft-cli render don't.
  • Paths: use absolute paths. Relative ones resolve against the server's working directory. With automation roots set, a path outside them fails with automation path rejected: outside the write root <DIR>: <path>.
  • file.closeDocument on a changed document fails with the document has unsaved changes: save it first, or pass "force": true to discard them. Closing the last one leaves a new blank document.
  • UI-only tools fail headless with `ui.screenshot` needs the desktop app: start `wordcraft --control 7981` and run `wordcraft-cli mcp --connect 127.0.0.1:7981`. That's expected.

Verification

  • inspect_document: expected styles per block, list on list items, cells filled, objects for pictures, charts and fields, pages. document.layout lists the first block of each page.
  • render_page every page and look at it before reporting done.
  • wordcraft-cli info out.docx and wordcraft-cli text out.docx confirm the saved file opens; render a page with wordcraft-cli render (docx) or open the PDF in pdfcraft.

References

  • ${HERMES_SKILL_DIR}/references/commands.md: all 655 commands with params, ribbon location and shortcut, grouped by area (text, para, table, chart, smartArt, equation, mailings, review, references, fields, proof, developer…). Grep it (grep -n 'chart[.]' ${HERMES_SKILL_DIR}/references/commands.md) rather than reading it whole.
  • Upstream docs: https://github.com/storytold/wordcraft/tree/main/docs (mcp.md, control-protocol.md, typing-parity.md).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wordcraft AI 技能有什么作用?

使用 WordCraft(类似 Word)进行文字处理:撰写、设置格式和编辑文档,包括报告、信件、备忘录、简历、提案和手册。支持标题和样式、列表、表格、图片、原生图表和 SmartArt、公式、页眉和页脚、页码、目录、脚注、批注、修订和邮件合并。可打开和保存 .docx、导出 PDF;也支持 ODT、RTF、HTML、Markdown、LaTeX、TXT 和读取 .doc 文件。

为什么在 TypingMind 中使用 Wordcraft?

因为您只需安装一次,就能搭配任何模型使用。Wordcraft 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wordcraft?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hermes-pro/storytold-skills/tree/main/wordcraft。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wordcraft?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wordcraft 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wordcraft 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wordcraft AI 技能免费吗?

是的。hermes-pro 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇