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.
npx skills add matingai/crab --skill docx-editgit clone --depth 1 https://github.com/matingai/crabWrote 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.
[](https://agentmods.dev/skills/matingai/crab/docx-edit)<a href="https://agentmods.dev/skills/matingai/crab/docx-edit"><img src="https://agentmods.dev/badge/skills/matingai/crab/docx-edit/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.
<a href="https://agentmods.dev/skills/matingai/crab/docx-edit"><img src="https://agentmods.dev/badge/skills/matingai/crab/docx-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.00415 |
| Opus 5.5 | $0.00012 | $0.00166 |
| Sonnet 5.5 | $0.00006 | $0.00083 |
| Haiku 4.5 | $0.00003 | $0.00042 |
Grade A, and why
docx-edit 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 3mo 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.
What it actually says
DOCX Edit
Use this skill when the user wants to inspect, draft, or modify .docx content.
Default Workflow
- Call
office_inspectfirst to confirm the file is.docx. - Use
office_previewfor a quick paragraph snapshot. - Use
office_extract_irbefore planning edits so you can target paragraph ids explicitly. - Use
office_apply_opsfor paragraph-oriented changes:replace_paragraph,insert_paragraph_after,append_paragraph,remove_paragraph. - Use
office_createfor simple new documents. - Save to a new output path unless the user explicitly asks for overwrite semantics.
Escalate To A Python Script
Prefer write_file + execute_code with python-docx when the user expects richer document structure:
- headings, sections, spacing, or page layout
- tables, images, headers, footers, or lists
- polished reports, memos, letters, or templates
- consistent style application across many paragraphs
When using a script:
- generate a new output file path
- keep the document structure explicit and deterministic
- print the output path and a compact summary of sections, tables, or paragraphs changed
- state clearly when tracked changes, comments, or exact style fidelity are out of scope
See DOCX.md for a script pattern.
What ships with it
1 file 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.
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.
- 3mo ago First seen · 55 lines · 31 tokens per session scan A edd17acced06
docx-edit is a skill published in the GitHub repository matingai/crab (4 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 415 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-08-31.
docx-edit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docx-editmatingai/crab | Skill | 4 | 5mo ago | MIT | A | 31 | Claude Code, Codex |
| docxzhixuli0406/DuDuClaw | Skill | 53 | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| docxdesirecore/market | Skill | 2 | yesterday | MIT | B | 203 | Claude Code |
| docxPracticalSwan/agent-skills | Skill | 25 | 20d ago | MIT | A | 48 | Codex |
| docx-draftvaltterimelkko/agent-workflow-skills | Skill | 3 | 7d ago | MIT | A | 82 | Claude Code, Codex |
| docx-manipulationclaude-office-skills/skills | Skill | 604 | 10mo ago | MIT | A | 20 | Claude Code, Codex |
| document-converterwentorai/Research-Claw | Skill | 862 | 3mo ago | none | A | 50 | Claude Code, Codex |