documents
Skill by asgeirtj
Creates, edits, redlines and comments on .docx, Word and Google Docs-targeted files. It renders each page to PNG for visual checks before delivery.
Install documents
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/OpenAI/Codex/plugins/documents/skills/documents ~/.claude/skills/documentsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/OpenAI/Codex/plugins/documents/skills/documents ~/.gemini/antigravity-cli/skills/documentsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The documents skill lets an AI assistant create, edit, redline and comment on .docx files, Word documents and documents aimed at Google Docs, inside the container environment. It uses a render and verify workflow. The render_docx.py script produces page PNG images, and optionally a PDF, so the assistant can inspect layout and fix problems before it delivers the file.
For Google Docs requests, the skill first builds a local .docx, runs a title sanitizer script, and then imports it as a native Google Doc through the Google Drive plugin. The skill also includes guidance on title clarity, writing quality and design standards. It is aimed at people who need professional Word or Google Docs files produced and checked by an assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Create and edit DOCX filesBuilds new .docx documents and makes deterministic OOXML edits inside the container.
- Render pages for visual QAUses render_docx.py to generate page-N.png images, with an optional PDF via --emit_pdf.
- Redline and commentSupports redlining and commenting on Word documents.
- Google Docs importImports a verified local DOCX as a native Google Doc through the Google Drive plugin.
- Title sanitizing for Google DocsRuns a script that removes Word Title border residue before Google Docs import.
- Design and writing guidanceGives standards for document titles, structure, spacing, tables and editorial review.
What you need
- Codex workspace dependencies (Node and Python runtimes)
- Google Drive plugin for native Google Docs output
Try asking
- Create a Word memo summarizing this project update and render it to check layout
- Edit this .docx and add tracked redline changes to section two
- Turn this draft into a Google Doc, checking the layout before import
Good to know
- Rendered PNGs and PDFs are for internal QA and are not delivered unless requested.
- Native Google Docs output requires the Google Drive plugin; other construction paths are not used unless the user asks.
- Shipping requires rendering and inspecting every page before delivery.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: OpenAI/Codex/plugins/documents/skills/documents/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md41 KB -
examples/end_to_end_smoke_test.md930 B -
ooxml/comments.md2 KB -
ooxml/hyperlinks_and_fields.md2 KB -
ooxml/rels_and_content_types.md1 KB
Show all 38 files
-
ooxml/tracked_changes.md2 KB -
references/template-elicitation.md1 KB -
tasks/accessibility_a11y.md2 KB -
tasks/captions_crossrefs.md4 KB -
tasks/clean_tracked_changes.md2 KB -
tasks/comments_manage.md3 KB -
tasks/compare_diff.md1 KB -
tasks/create_edit.md2 KB -
tasks/equations.md4 KB -
tasks/fields_update.md2 KB -
tasks/fixtures_edge_cases.md2 KB -
tasks/footnotes_endnotes.md2 KB -
tasks/forms_content_controls.md2 KB -
tasks/headings_numbering.md2 KB -
tasks/images_figures.md1 KB -
tasks/multi_doc_merge.md1 KB -
tasks/navigation_internal_links.md2 KB -
tasks/privacy_scrub_metadata.md842 B -
tasks/protection_restrict_editing.md1 KB -
tasks/read_review.md2 KB -
tasks/redaction_anonymization.md2 KB -
tasks/sections_layout.md2 KB -
tasks/style_lint_normalize.md3 KB -
tasks/tables_spreadsheets.md1 KB -
tasks/templates_style_packs.md1 KB
And 8 more files on GitHub.
Alternatives to documents
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
documents: common questions
What does render_docx.py do?
It generates page PNG images for each page of a DOCX, and can also produce a PDF with the --emit_pdf option. The skill uses these renders for visual QA before delivering the document.
How does the skill create a native Google Doc?
It creates and verifies a local .docx first, then imports it using the Google Drive plugin's document import action with native_google_docs upload mode. It runs a title sanitizer before rendering or importing.
Can it edit existing Word documents?
The skill covers creating, editing, redlining and commenting on .docx files. For edits, it uses the edit operation marker and follows the same render and verify steps.
How do I install documents?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is documents free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is documents safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to documents?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
