Skip to content
Back to skills

Summaries

ASecurity

Skill for creating, reading, editing `.docx` Word documents. A `.docx` is a ZIP archive of XML files. **Quick reference**: - Read/analyze: `pandoc` or unpack for raw XML. - Create new: `docx-js` JS library. - Edit existing: unpack → edit XML → repack. **Read content**: `pandoc --track-changes=all document.docx -o output.md` for text + tracked changes. Raw XML via `python scripts/office/unpack.py document.docx unpacked/`. **Convert legacy `.doc` → `.docx`**: `python scripts/office/soffice.py -...

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 30, 2026
ai-agentspythongit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 21 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add NickCollect/ai-coding-runbook --skill Summaries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Summaries?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Summaries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nickcollect-summaries-bc65dff6/badge)](https://www.skillsdirectory.com/skills/nickcollect-summaries-bc65dff6)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
type: summary
source: 01_Raw/github/anthropics/skills/skills/docx/SKILL.md
title: "docx (Anthropic Skills)"
summarized_at: 2026-05-05
entities_referenced: [Skill]
concepts_referenced: []
---

Skill for creating, reading, editing `.docx` Word documents. A `.docx` is a ZIP archive of XML files.

**Quick reference**:
- Read/analyze: `pandoc` or unpack for raw XML.
- Create new: `docx-js` JS library.
- Edit existing: unpack → edit XML → repack.

**Read content**: `pandoc --track-changes=all document.docx -o output.md` for text + tracked changes. Raw XML via `python scripts/office/unpack.py document.docx unpacked/`.

**Convert legacy `.doc` → `.docx`**: `python scripts/office/soffice.py --headless --convert-to docx document.doc`.

**Convert to images**: `soffice.py --convert-to pdf` then `pdftoppm -jpeg -r 150 document.pdf page`.

**Accept tracked changes** (LibreOffice required): `python scripts/accept_changes.py input.docx output.docx`.

**Create new docs** with docx-js — `npm install -g docx`. After creation validate with `python scripts/office/validate.py doc.docx`. If validation fails, unpack/fix XML/repack.

**Page sizing CRITICAL**: docx-js defaults to A4, NOT US Letter. Always set explicit `page.size`. Common sizes in DXA units (1440 DXA = 1 inch):
- US Letter 12240×15840 (content width 9360 with 1" margins).
- A4 (default) 11906×16838.

**Landscape orientation**: docx-js swaps width/height internally — pass PORTRAIT dimensions and set `orientation: PageOrientation.LANDSCAPE`. Content width uses long edge.

**Styles**: use Arial as default font (universally supported). Keep titles black for readability.

(Skill body continues with extensive examples for headings, tables, images, tables of contents, hyperlinks, footnotes, etc.)

Files in this skill

  • 100k-context-windows--anthropic-news.md1.2 KB
  • 2026-w13.md2.5 KB
  • 2026-w14.md2.5 KB
  • 2026-w15.md2.5 KB
  • 2026-w16.md3.3 KB
  • 2026-w17.md2.9 KB
  • 3-5-models-and-computer-use--anthropic-news.md1.8 KB
  • 3p-updates--internal-comms.md1.6 KB
  • 81k-economics--anthropic-research.md2.3 KB
  • AGENTS--codex-openai.md1.8 KB
  • AGENTS--mcp-py-sdk.md3.1 KB
  • AGENTS--mcp-spec.md860 B
  • AI-assistance-coding-skills--anthropic-research.md1.3 KB
  • AI-fluency-index--anthropic-research.md1.2 KB
  • AI-resistant-technical-evaluations--anthropic-eng.md2.5 KB
  • ANTITRUST--mcp-spec.md569 B
  • AmazonBedrock-CONTRIBUTING--prompt-eng-tutorial.md1.3 KB
  • AmazonBedrock-README--prompt-eng-tutorial.md1.8 KB
  • CHANGELOG--agent-sdk-py-repo.md3.2 KB
  • CHANGELOG--anthropic-sdk-py.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.