원클릭으로
docx
Read and edit Microsoft Word documents (.docx). Use for document editing and content extraction.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read and edit Microsoft Word documents (.docx). Use for document editing and content extraction.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Navigate large codebases and make surgical edits while following project conventions. Use for refactors, feature work, and bug fixes spanning multiple files.
Inspect, filter, and summarize JSON, CSV, and log data using jq, awk, and pandas.
Branch, commit, rebase, and resolve conflicts. Use for PR prep, conventional commit messages, and history cleanup.
Author and edit README, CHANGELOG, and other markdown documentation, following the project's existing style.
Extract text, merge, split, and search PDF documents. Use whenever the user mentions a PDF file.
Read, write, and transform CSV and XLSX files. Use for Excel, tabular data, bulk row edits, and column transforms.
| name | docx |
| description | Read and edit Microsoft Word documents (.docx). Use for document editing and content extraction. |
.docx file.docx content to plain text.doc file — see pitfalls belowpython-docx is available. If not, install: pip install --user python-docxrun_code with python-docx to read, inspect, or modify the file.Extract all text:
import docx
doc = docx.Document("/path/to/file.docx")
for para in doc.paragraphs:
if para.text.strip():
print(para.text)
List headings:
import docx
doc = docx.Document("/path/to/file.docx")
for para in doc.paragraphs:
if para.style.name.startswith("Heading"):
print(f"[{para.style.name}] {para.text}")
Extract tables:
import docx
doc = docx.Document("/path/to/file.docx")
for i, table in enumerate(doc.tables):
print(f"Table {i+1}:")
for row in table.rows:
print([cell.text for cell in row.cells])
Replace text (preserving styles — run level):
import docx
doc = docx.Document("/path/to/file.docx")
old_text = "FooBar Inc."
new_text = "Acme Corp."
for para in doc.paragraphs:
for run in para.runs:
if old_text in run.text:
run.text = run.text.replace(old_text, new_text)
doc.save("/path/to/output.docx")
Add a paragraph:
import docx
doc = docx.Document("/path/to/file.docx")
doc.add_paragraph("New paragraph text here.")
doc.save("/path/to/output.docx")
Convert old .doc to .docx via LibreOffice:
libreoffice --headless --convert-to docx /path/to/file.doc --outdir /tmp/
.doc files cannot be read by python-docx. Convert to .docx first using LibreOffice.para.text = ...) strips all formatting. Always edit at the run level.scripts/docx_text.py to inspect.python-docx is a third-party package — install via execute_shell before run_code.scripts/docx_text.py — extract full document text with run/paragraph structurescripts/docx_replace.py — safe run-level text replacement