docx

docx is a skill for Claude Code, Codex from TasiTech/tasi-harness. It costs 77 tokens per session (4,020 once invoked), scanned B, original, MIT.

A toolkit for creating, editing, and analysing Microsoft Word documents in DOCX format. It supports tracked changes, comments, and preservation of existing formatting.

In plain words
What is it for?
Use it to create or modify professional documents, review their contents, apply tracked changes, add comments, and extract text.
Why use it?
It helps make controlled document edits while keeping review history, comments, and established styles intact.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node resources/skills/work/diagram-generator-1.1.1/scripts/validate_diagram_exports.mjs --asset-dir diagrams/exports --drawio-dir diagrams/drawio.

Good fit Use it to create or modify professional documents, review their contents, apply tracked changes, add comments, and extract text.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TasiTech/tasi-harness
agentmods
npx agentmods add skills/tasitech/tasi-harness/docx

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 docx

README.md
[![agentmods](https://agentmods.dev/badge/skills/tasitech/tasi-harness/docx/github.svg)](https://agentmods.dev/skills/tasitech/tasi-harness/docx)
Your own site
<a href="https://agentmods.dev/skills/tasitech/tasi-harness/docx"><img src="https://agentmods.dev/badge/skills/tasitech/tasi-harness/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 docx

Your own site · 80×15
<a href="https://agentmods.dev/skills/tasitech/tasi-harness/docx"><img src="https://agentmods.dev/badge/skills/tasitech/tasi-harness/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00077 $0.04020
Opus 5.5 $0.00031 $0.01608
Sonnet 5.5 $0.00015 $0.00804
Haiku 4.5 $0.00008 $0.00402

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

Security

Grade B, and why

docx scanned grade B with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (ooxml/scripts/pack.py, ooxml/scripts/unpack.py, ooxml/scripts/validate.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **pandoc**: `sudo apt-get install pandoc` (for text extraction)
resources/skills/work/docx/SKILL.md · 279 lines

How it starts

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

DOCX creation, editing, and analysis

Overview

A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.

Content Quality Defaults (Critical)

When the user asks to create or rewrite document content and does not explicitly ask for brevity, generate a substantive first draft instead of skeletal outlines.

Required defaults:

  • Prefer complete prose over bullet-only stubs.
  • Each major section should contain at least 2-4 developed paragraphs unless the user requests a short memo format.
  • Paragraphs should include concrete details: context, rationale, implications, and next actions (not generic filler).
  • Add specific examples, scenarios, or mini case-style illustrations where appropriate.
  • Use domain-appropriate terminology and define key concepts the first time they appear.
  • If requirements are ambiguous, state reasonable assumptions in the document and continue with a complete draft.

Anti-patterns to avoid:

  • One-line section placeholders (for example: "TBD", "待补充", "略").
  • Repeating high-level statements without evidence, explanation, or actionable detail.
  • Ending after a high-level outline when the user asked for "write/generate/draft".

Length guidance (default baseline unless user specifies otherwise):

  • Short practical document: 800-1200 Chinese characters (or 500-900 English words).
  • Standard report/proposal: 1500-3000 Chinese characters (or 1000-2000 English words).
  • For multi-section documents, keep section depth balanced; avoid one oversized section plus many thin sections.

Workflow Decision Tree

Reading/Analyzing Content

Use "Text extraction" or "Raw XML access" sections below

Creating New Document

Use "Creating a new Word document" workflow

Editing Existing Document

  • Your own document + simple changes Use "Basic OOXML editing" workflow

Read the full file on GitHub · 279 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 279 lines · 77 tokens per session scan B cb4fcabf4d4c

Subscribe to this mod's changes

docx is a skill published in the GitHub repository TasiTech/tasi-harness (11 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 4,020 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories