Anthropic’s Word, PowerPoint and Excel skills cut links to your files before rendering

2 days ago

In anthropics/skills, the Word, PowerPoint and Excel skills now cut a document's links to files outside it before LibreOffice draws it as a PDF or image. Edits unpack with Python's zipfile instead of unzip, and the validator stops early when the original cannot be unpacked. Merged November 16, 2026.

Ask about this presentation

Chapters

  1. 0:00Anthropic’s Word, PowerPoint and Excel skills cut links to your files before rendering
  2. 0:15Web and mail links stay
  3. 0:26Only on a copy, only when drawing
  4. 0:40Edits unpack without unzip
  5. 0:53validate.py stops on an unreadable original
  6. 1:07Who gets it
Show transcript
  1. In Anthropic's skills repository, the Word, PowerPoint and Excel skills now cut a document's links to outside files before drawing it as a PDF or image. A file someone sends you can no longer reach your disk through Claude's preview.

    Slide text
    github.com/anthropics/skills · document-skills merged Nov 16, 2026
    link to a file on disk about:blank
    anthropics/skills · PR #2221 · scripts/office/soffice.py
  2. Not every link goes. Web and email links are kept. Any other outside link points to a blank page. If a link list cannot be parsed, every link in it is dropped.

    Slide text
    github.com/anthropics/skills docx · pptx · xlsx · soffice.py

    Web and mail links stay; every other outside link points nowhere

    https:// · mailto: kept as written
    any other outside link set to about:blank
    unreadable link list every link in it dropped
    anthropics/skills · PR #2221 · skills/docx/scripts/office/soffice.py
  3. Your own file is never touched. The cut happens on a copy, and only when the document is drawn as a PDF or an image. Turning an old Word file into a new one is unchanged.

    Slide text
    github.com/anthropics/skills soffice.py

    The cut happens on a copy, and only when the file is drawn

    your file left as it is
    →
    copy outside links cut
    →
    PDF · PNG · JPG · SVG drawn by LibreOffice
    anthropics/skills · PR #2221 · skills/pptx/scripts/office/soffice.py
  4. To edit a Word file or deck, Claude unpacks it first. The old step used unzip, which restores symlinks. It now unpacks with Python's zip module, and repacks so a symlink stays a link.

    Slide text
    github.com/anthropics/skills docx · pptx · SKILL.md

    Word and PowerPoint edits stop using unzip, which restores symlinks

    unzip -q doc.docx -d unpacked/
    python3 -c "…zipfile…extractall('unpacked')" doc.docx
    repack: zip -XrDy ../out.docx .
    anthropics/skills · PR #2221 · skills/docx/SKILL.md, skills/pptx/SKILL.md
  5. After an edit, the validator compares the new file with the original. If the original cannot be unpacked, it now stops before any check runs, with a plain cannot unpack message.

    Slide text
    github.com/anthropics/skills scripts/office/validate.py

    The validator stops at once when the original file cannot be opened

    $ validate.py out.docx --original doc.docx
    cannot unpack doc.docx: …
    anthropics/skills · PR #2221 · skills/docx/scripts/office/validate.py
  6. The change merged on November 16, in the document skills plugin. If Claude previews Office files from outside your team, I would pick it up. One limit: the file you get back keeps its links. Only the drawn copy is cut.

    Slide text
    github.com/anthropics/skills merged Nov 16, 2026

    Worth picking up if Claude opens Office files other people send you

    document-skills plugin · docx, pptx, xlsx
    The file you get back keeps its links. Only the copy that gets drawn is cut.

    anthropics/skills · PR #2221 · .claude-plugin/marketplace.json

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York