基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/HybridAIOne/hybridclaw --skill docx命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Read, send, react to, edit, pin, and thread Discord messages with HybridClaw's `message` tool.
Work with Lexware Office contacts, products, invoices, quotations, bookkeeping vouchers, receipts, payment status, and guarded invoice, quotation, or expense writes through the Public API.
Expose HybridClaw as a custom Alexa skill and prepare guarded Alexa smart-home/device control payloads without exposing Amazon credentials.
| name | docx |
| description | Create, inspect, and edit `.docx` files safely, including comments and OOXML-preserving changes. |
| user-invocable | true |
| disable-model-invocation | false |
| requires | {"bins":["node"]} |
| metadata | {"hybridclaw":{"category":"office","short_description":"DOCX editing.","tags":["office","document","docx"],"related_skills":["xlsx"]}} |
Use this skill whenever the user asks to create, revise, comment on, or inspect a .docx document.
pandoc..cjs script and use require("docx"). The container exposes global Node packages through NODE_PATH; avoid bare ESM import "docx" examples..docx, never round-trip the original file through docx or pandoc. Unpack the OOXML, edit the XML you need, and repack it.node skills/office/unpack.cjs input.docx tmp/docx-edit
node skills/office/validate.cjs tmp/docx-edit
node skills/office/pack.cjs tmp/docx-edit output.docx
Edit only the relevant parts under tmp/docx-edit/word/:
document.xml for the main bodystyles.xml for stylesnumbering.xml for list definitionsheader*.xml / footer*.xml for page furniture_rels/*.rels when you add new parts&, <, >) and preserve xml:space="preserve" when surrounding spaces matter..docx file path. If generation fails, stop and report the error.node skills/docx/scripts/comment.cjs --help to insert a comment around an exact text match inside an unpacked DOCX tree.node skills/docx/scripts/accept_changes.cjs /tmp/docx-edit --json to accept straightforward tracked changes after unpacking.word/document.xml. For complex tracked changes, nested fields, or multi-run matches, edit the OOXML manually after unpacking.pandoc draft.docx -t gfm -o draft.md
pandoc outline.md -o report.docx
.docx templates from the current workspace for letterhead, memos, and branded report formats.const fs = require("node:fs");
const { Document, Packer, Paragraph, TextRun } = require("docx");
const document = new Document({
sections: [
{
children: [
new Paragraph({
children: [new TextRun({ text: "Quarterly Update", bold: true })],
}),
new Paragraph("Prepared for leadership review."),
],
},
],
});
Packer.toBuffer(document).then((buffer) => {
fs.writeFileSync("quarterly-update.docx", buffer);
});