Agent skill

DOCX

by MemTensor in MemTensor/memmy-agent

Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

MITAuto-check passedDocuments & Office

Install DOCX

skills CLI
$ npx skills add MemTensor/memmy-agent --skill docx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MemTensor/memmy-agent docx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MemTensor/memmy-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/App/memmy-agent/src/skills/docx .claude/skills/docx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docx
GitHub stars
2.1k
Token cost
~1.9k tokens
SKILL.md length
748 words
Files
77 (incl. scripts, references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

  • Works in 5 steps: Identify the operation: read/review,… → Keep the source document unchanged for… → Use Node OOXML for ordinary paragraphs,… → …
  • Tasks that involve Word documents
  • SKILL.md covers Core workflow, Route to the relevant guide, Rendering and visual QA and New documents and major rewrites, plus 3 more sections
  • Calls node

What it does

DOCX is an agent skill from MemTensor/memmy-agent. Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 80 other files, including scripts and reference files (for example `references/design_presets.md`, `references/examples/end_to_end_smoke_test.md` and `references/header_templates.md`).

It sits in Documents & Office, covering Word documents and Contract review. It works with Microsoft Word and OpenAI. The repository describes itself as: 🍙 A personal AI agent & local memory hub for all AI agents, gives every AI one shared, fully controlled memory and persistent context — all AI remember the same you. Now… The licence is MIT.

When your agent uses it

  • Tasks that involve Word documents
  • Tasks that involve Contract review

Example prompts

  • “/docx”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the operation: read/review, create/edit, template following,
  2. Keep the source document unchanged for review and template-distillation
  3. Use Node OOXML for ordinary paragraphs, runs, styles, tables,
  4. After every meaningful create or edit batch, render the document with
  5. Deliver only the requested final document. Keep rendered PNGs, temporary

What it can do on your machine

Read from SKILL.md and the folder at commit ee0ed02. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DOCX loads about 1.9k tokens when it runs, and up to ~26k if it reads all its reference files. Until then it costs about 39 tokens; SKILL.md has 748 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~26k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from MemTensor/memmy-agent at commit ee0ed02, republished under its MIT licence (© MemTensor). 748 words, ~1,850 tokens.

Download SKILL.mdSave it as .claude/skills/docx/SKILL.md (or your agent's skills folder). This skill also uses 76 other files; get the full folder from GitHub.
name
docx
description
Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work.

DOCX Skill

Use this skill when a task involves a Word .docx document and correctness depends on document structure, formatting, tracked changes, comments, fields, tables, forms, or rendered layout.

Core workflow

  1. Identify the operation: read/review, create/edit, template following, redlining/comments, conversion, or final verification.
  2. Keep the source document unchanged for review and template-distillation work. Write outputs and intermediate files to a task-specific writable directory.
  3. Use Node OOXML for ordinary paragraphs, runs, styles, tables, headers/footers, and page setup. Use the bundled helpers under scripts/ for deterministic audits and OOXML operations.
  4. After every meaningful create or edit batch, render the document with render_docx.mjs, inspect every generated page image, and iterate until the layout is clean.
  5. Deliver only the requested final document. Keep rendered PNGs, temporary PDFs, audit JSON, and diff images as internal QA artifacts unless requested.

Route to the relevant guide

Read only the supporting guide needed for the current operation:

Rendering and visual QA

The canonical renderer converts DOCX to PDF internally and rasterizes each page to page-<N>.png:

bash
node scripts/render_docx.mjs input.docx --output_dir /path/to/qa

Use --emit_pdf only when an intermediate PDF is useful for diagnosis. Use --verbose when LibreOffice conversion needs debugging. Inspect every page at full resolution for clipped or overlapping text, missing glyphs, broken tables, unexpected page breaks, and header/footer drift. Text extraction or XML checks alone cannot prove visual correctness.

If LibreOffice is unavailable, complete structural checks with the relevant audits and state that visual QA could not be performed. If conversion fails for another reason, diagnose the renderer/profile problem before judging the DOCX.

For repeated comparisons, use scripts/render_and_diff.mjs. For a quick structural pass, use the audits for sections, headings, images, fields, footnotes, comments, tables, styles, watermarks, accessibility, or content controls as applicable.

Show full SKILL.md (364 more words)Show less

New documents and major rewrites

When no supplied template controls the design, choose exactly one preset from references/design_presets.md:

  • standard_business_brief for formal memos and executive briefs
  • compact_reference_guide for checklists, launch guides, and dense references
  • narrative_proposal for proposals and longer persuasive documents
  • an archetype alias defined by the reference when it is a closer fit

Resolve the preset into explicit page, margin, typography, spacing, list, table, color, header, and footer tokens before drafting. Use real Word styles, numbering definitions, and fixed DXA table geometry; do not depend on inherited defaults or visual approximations. Read references/header_templates.md when a new first-page header, cover, or title block is needed.

Use the lightest form factor that matches the content: prose for explanation, bullets for unordered considerations, numbered steps for procedures, checklists for acceptance criteria, callouts for warnings, and tables only for genuinely tabular data. Avoid using tables as layout containers or turning cells into long prose blocks.

Editing, redlining, and OOXML

For an existing document, preserve the original structure and make the smallest local change that satisfies the request. Do not rewrite unrelated paragraphs or styles. Real tracked changes and Word comments require OOXML patching; use the corresponding helpers and perform another render plus structural check after any package-level change.

Use scripts/privacy_scrub.mjs before publication when personal metadata or rsid values should be removed. Use scripts/redact_docx.mjs for explicit redaction/anonymization requests and verify the result structurally and visually. Use scripts/set_protection.mjs only when the requested output needs editing restrictions.

File and command conventions

  • Refer to inputs and outputs by absolute paths when reporting results.
  • Keep temporary work in a unique writable directory; never modify a retained reference document during inspection.
  • Prefer the bundled Node/MJS helpers and the renderer bundled with the application. Check the renderer bundle before relying on an optional operation.
  • Do not claim a render or audit passed unless its output was actually checked.
  • Keep citation text human-readable; do not place internal tool tokens in the document.

Bundled resources

The package includes the canonical renderer, OOXML notes, task playbooks, design references, examples, and reusable scripts. references/manifest.txt lists the bundled paths. Scripts are intended to be run from a writable working directory, while this skill directory remains the source of reusable helpers.

© MemTensor, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 76 other files (scripts, references) in App/memmy-agent/src/skills/docx of MemTensor/memmy-agent.

  • SKILL.md
  • references/design_presets.md
  • references/examples/end_to_end_smoke_test.md
  • references/header_templates.md
  • references/manifest.txt
  • references/ooxml/comments.md
  • references/ooxml/hyperlinks_and_fields.md
  • references/ooxml/rels_and_content_types.md
  • references/ooxml/tracked_changes.md
  • references/tasks/accessibility_a11y.md
  • references/tasks/captions_crossrefs.md
  • references/tasks/clean_tracked_changes.md
  • references/tasks/comments_manage.md
  • references/tasks/compare_diff.md
  • references/tasks/create_edit.md
  • references/tasks/fields_update.md
  • references/tasks/fixtures_edge_cases.md
  • … and 60 more

Open the folder on GitHubat commit ee0ed02

Compare with similar skills

DOCX next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DOCX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DOCX this skillMemTensor/memmy-agent2.1k—~1.9kAutomated safety check: PassMIT
Weak Agent Testkklimuk/docx-cli215—~6.1kAutomated safety check: NotesMIT
WordIgorWarzocha/Opencode-Workflows122—~647Automated safety check: PassNone
Contract Output Formatterinfometa/workbuddyskills342—~1.6kAutomated safety check: PassNone
Adeu Redliningdealfluence/adeu165—~2.4kAutomated safety check: PassMIT
DOCX Processing Openailawve-ai/awesome-legal-skills826—~810Automated safety check: NotesApache-2.0

Similar skills

  • Weak Agent Test

    kklimuk/docx-cli

    Run the weak-agent adversarial test harness against docx-cli.

    215 GitHub stars~6.1k tokensUpdated 11 days ago
    Documents & OfficeAuto-check: notes
  • Word

    IgorWarzocha/Opencode-Workflows

    Handle Word document (.docx) creation, editing, and analysis with high-fidelity visual review.

    122 GitHub stars~647 tokensUpdated 8 mo ago
    Documents & OfficeAuto-check passed
  • Contract Output Formatter

    infometa/workbuddyskills

    Format contract work products into the delivery shape that best matches the hit scenario (C1-C9) and the reading audience.

    342 GitHub stars~1.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Adeu Redlining

    dealfluence/adeu

    A skill your agent uses when reviewing, editing, redlining, or negotiating an existing Microsoft Word document (.docx) — including proposing edits as tracked changes, accepting or rejecting existing…

    165 GitHub stars~2.4k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • DOCX Processing Openai

    lawve-ai/awesome-legal-skills

    Toolkit for comprehensive document reading, editing, and creation with visual quality control.

    826 GitHub stars~810 tokensUpdated 4 days ago
    Documents & OfficeAuto-check: notes
  • Doc

    nexu-io/open-design

    Read, create, and edit .docx documents with formatting and layout fidelity via OpenAI's document skill.

    100k GitHub stars~266 tokensUpdated today
    Documents & OfficeAuto-check passed

More from MemTensor/memmy-agent

All 10 skills in this repo
  • Skill Creator

    MemTensor/memmy-agent

    Create, edit, improve, tidy, review, audit, or restructure memmy-agent skills and SKILL.md files.

    2.1k GitHub stars~944 tokensUpdated 7 days ago
    Auto-check passed
  • Update Setup

    MemTensor/memmy-agent

    One-time setup wizard for the memmy upgrade skill. An agent skill from MemTensor/memmy-agent.

    2.1k GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Agent Memory Onboarding

    MemTensor/memmy-agent

    On-demand provisioning guide for a Memmy GUI task that fully connects an explicitly named local Agent: discover its active history store, install or remove its rendered Memmy Skill, bootstrap a scan…

    2.1k GitHub stars~4.6k tokensUpdated 7 days ago
    Auto-check passed
  • PPTX

    MemTensor/memmy-agent

    Create, inspect, edit, validate, render, and deliver PowerPoint presentations and templates while preserving OOXML structure and user metadata.

    2.1k GitHub stars~861 tokensUpdated 7 days ago
    Auto-check passed
  • Computer History

    MemTensor/memmy-agent

    Answer questions about what the user recently did on their computer — who contacted them, what they were working on, where they left off — by reading the local Computer History summaries and raw…

    2.1k GitHub stars~947 tokensUpdated 7 days ago
    Auto-check passed
  • Image Generation

    MemTensor/memmy-agent

    Generate images and iteratively edit saved image artifacts. An agent skill from MemTensor/memmy-agent.

    2.1k GitHub stars~727 tokensUpdated 7 days ago
    Auto-check passed

Questions about DOCX

What does DOCX do?

Create, read, edit, review, redline, comment on, merge, audit, render, and verify .docx Word documents, including layout-sensitive and OOXML-level work. DOCX is an agent skill from MemTensor/memmy-agent.docx Word documents, including layout-sensitive and OOXML-level work.

When should I use DOCX?

DOCX fits situations like: tasks that involve Word documents; tasks that involve Contract review.

How do I install DOCX in Claude Code?

Run `npx skills add MemTensor/memmy-agent --skill docx -a claude-code`. Or copy the skill folder (App/memmy-agent/src/skills/docx in MemTensor/memmy-agent) into .claude/skills/docx in your project. Claude Code loads it when a task matches its description.

How do I install DOCX in Codex?

Run `npx skills add MemTensor/memmy-agent --skill docx -a codex`. Or copy the skill folder (App/memmy-agent/src/skills/docx in MemTensor/memmy-agent) into .agents/skills/docx in your project. Codex loads it when a task matches its description.

Can I use DOCX in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MemTensor/memmy-agent --skill docx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docx, .gemini/skills/docx, .github/skills/docx and .opencode/skills/docx in your project.

What does DOCX need to run?

Going by SKILL.md and its folder, DOCX needs the command-line tools its instructions call (node).

Does DOCX access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is DOCX safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does DOCX use?

DOCX is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does DOCX use?

About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 24k tokens, read only when the agent opens those files.

What are the alternatives to DOCX?

Skills that share tags, products or a category with DOCX: Weak Agent Test (kklimuk/docx-cli, 215 stars), Word (IgorWarzocha/Opencode-Workflows, 122 stars), Contract Output Formatter (infometa/workbuddyskills, 342 stars) and Adeu Redlining (dealfluence/adeu, 165 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DOCX?

MemTensor (a GitHub organization) maintains it in MemTensor/memmy-agent, which has 2,064 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 30, 2026.

Source: MemTensor/memmy-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.