一键导入
docx-create
DOCX: Create a new Word document with headings, paragraphs, tables, and lists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
DOCX: Create a new Word document with headings, paragraphs, tables, and lists.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
cURL (curl): Command-line web browser alternative. Fetch webpage HTML, test site connectivity, bypass basic bot detection, and read public web content directly from the terminal.
Python as a general-purpose problem-solving capability — use it to DO things (CV, parsing, APIs, data), not just to write programs. When stuck, reach for Python and install what you need into your dedicated Tool Environment. if you need a new package and you are unsure. ask the user for guidance and confirm before installing.
GitHub CLI (gh): Manage pull requests, issues, repositories, workflows, and releases from the terminal.
DOCX: Edit an existing Word document — append content, replace text, or add tables.
DOCX: Read text, tables, and metadata from a Word document.
Google Calendar: Show upcoming events across all calendars.
| name | docx-create |
| description | DOCX: Create a new Word document with headings, paragraphs, tables, and lists. |
| metadata | {"version":"0.22.0","openclaw":{"category":"productivity","requires":{"bins":["python"]}},"maxent":{"requires":{"bins":[{"name":"python","install":{"windows":{"method":"winget","id":"Python.Python.3"},"linux":{"method":"apt","id":"python3"},"darwin":{"method":"brew","id":"python"}}}]}}} |
PREREQUISITE: Ensure
python-docxis installed:pip install python-docx
Create a new .docx Word document with headings, paragraphs, tables, and lists.
python - <<'EOF'
from docx import Document
doc = Document()
doc.add_heading("My Document", level=0)
doc.add_paragraph("First paragraph.")
doc.save("output.docx")
EOF
python - <<'EOF'
from docx import Document
doc = Document()
doc.add_heading("Project Report", level=0) # Title
doc.add_heading("Introduction", level=1)
doc.add_paragraph("This report covers the Q1 results.")
doc.add_heading("Details", level=2)
doc.add_paragraph("See the table below for a breakdown.")
doc.save("report.docx")
EOF
python - <<'EOF'
from docx import Document
doc = Document()
doc.add_heading("Sales Data", level=0)
table = doc.add_table(rows=1, cols=3)
table.style = "Table Grid"
hdr = table.rows[0].cells
hdr[0].text = "Name"
hdr[1].text = "Region"
hdr[2].text = "Revenue"
data = [("Alice", "North", "$120k"), ("Bob", "South", "$95k")]
for name, region, revenue in data:
row = table.add_row().cells
row[0].text = name
row[1].text = region
row[2].text = revenue
doc.save("sales.docx")
EOF
python - <<'EOF'
from docx import Document
doc = Document()
doc.add_heading("Action Items", level=1)
for item in ["Fix the login bug", "Write unit tests", "Deploy to staging"]:
doc.add_paragraph(item, style="List Bullet")
doc.save("actions.docx")
EOF
python - <<'EOF'
from docx import Document
doc = Document()
doc.add_heading("Steps", level=1)
for step in ["Clone the repo", "Install dependencies", "Run the server"]:
doc.add_paragraph(step, style="List Number")
doc.save("steps.docx")
EOF
python - <<'EOF'
from docx import Document
doc = Document()
para = doc.add_paragraph()
para.add_run("Important: ").bold = True
para.add_run("this part is italic.").italic = True
doc.save("styled.docx")
EOF
python - <<'EOF'
from docx import Document
from datetime import datetime
doc = Document()
doc.core_properties.title = "Q1 Report"
doc.core_properties.author = "Jane Doe"
doc.core_properties.subject = "Quarterly Results"
doc.add_paragraph("Content here.")
doc.save("report.docx")
EOF
level=0 in add_heading renders as the document Title style; levels 1–9 are Heading 1–9.table.style = "Table Grid" adds visible borders; omit for a borderless table.doc.save(path) at the end — nothing is written until then.[!CAUTION] This is a write command — confirm with the user before executing.