office-docx

office-docx is a skill for Claude Code, Codex from singula-ai/alego. It costs 18 tokens per session (759 once invoked), scanned A, original, MIT.

A toolset for creating, reading, editing, and checking Microsoft Word files in the .docx format.

In plain words
What is it for?
It is for producing or updating reports, letters, and formatted tables, and for inspecting existing Word documents.
Why use it?
It avoids manually rebuilding Word documents and helps preserve their text, tables, layout, and formatting when making changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit It is for producing or updating reports, letters, and formatted tables, and for inspecting existing Word documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/singula-ai/alego/office-docx
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add singula-ai/alego --skill office-docx
Clone the repo
git clone --depth 1 https://github.com/singula-ai/alego

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for office-docx

README.md
[![agentmods](https://agentmods.dev/badge/skills/singula-ai/alego/office-docx/github.svg)](https://agentmods.dev/skills/singula-ai/alego/office-docx)
Your own site
<a href="https://agentmods.dev/skills/singula-ai/alego/office-docx"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/office-docx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for office-docx

Your own site · 80×15
<a href="https://agentmods.dev/skills/singula-ai/alego/office-docx"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/office-docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00759
Opus 5.5 $0.00007 $0.00304
Sonnet 5.5 $0.00004 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 1mo ago against content hash 8216b62c08cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

office-docx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/skill/skill-office/assets/office-docx/SKILL.md · 41 lines

How it starts

The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Word documents

Use python-docx for DOCX creation and ordinary edits. Follow an explicit user or applicable AGENTS.md requirement for a project environment or another library. Otherwise call load_workspace_dependencies and execute the returned Python path with its bundled libraries. Do not install packages or discover a system Python for the default workflow. If the tool is unavailable, use an already configured environment and report a missing dependency only when it prevents the requested operation.

Keep source scripts, intermediate files, and final documents in the task workspace; the runtime and this skill directory are read-only resources. Use the user's requested language and preserve an existing document's design unless a redesign is requested.

Name Python scripts for their task, such as edit_docx.py; avoid module names such as inspect.py, docx.py, or zipfile.py that shadow imported libraries.

Create and edit

For text edits, locate the target by its text or position and inspect only its runs and formatting. A title can be an ordinary paragraph without a Title style or document-property title. Update the relevant runs; assigning paragraph .text destroys run formatting. Save a new file unless an in-place edit is requested. Read other structures only when the edit involves them; rebuilding a document can lose unsupported features.

Use paragraph styles for headings and body text. Size tables for the section that contains them, and account for merged cells and nested tables. Chinese, Japanese, and Korean text may need an explicit w:eastAsia font assignment in addition to run.font.name; font names alone do not establish glyph availability or rendered appearance.

For a new document, use the selected Python executable:

from docx import Document

document = Document()
document.add_heading("Project report", level=0)
document.add_paragraph("Summary", style="Heading 1")
document.add_paragraph("The requested findings go here.")
document.save("report.docx")

Read the full file on GitHub · 41 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -17 lines · -57 tokens per session 8216b62c08cc
  2. 2mo ago First seen · 58 lines · 75 tokens per session scan A f8b0d9192c77

Subscribe to this mod's changes

office-docx is a skill published in the GitHub repository singula-ai/alego (110 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 759 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

office-docx compared with skills from other repositories

office-docx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
office-docxsingula-ai/alegoSkill110yesterdayMITA18Claude Code, Codex
office-docxhuiliyi37/Tianshu-harnessSkill1.4k3d agoApache-2.0A50Claude Code, Codex
harnessericrisco/rsc-harnessSkill6824d agoMITB129Claude Code
impact-report-writertravisjneuman/.claudeSkill115yesterdayMITA43Claude Code
investment-memo-generatortravisjneuman/.claudeSkill115yesterdayMITA37Claude Code
codebase-documentertravisjneuman/.claudeSkill115yesterdayMITA42Claude Code
agent-documentation-writertravisjneuman/.claudeSkill115yesterdayMITA41Claude Code