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 MarwanDevSpace/mcp-arabic-ms-word --skill docx-xml-surgeongit clone --depth 1 https://github.com/MarwanDevSpace/mcp-arabic-ms-wordWrote 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/marwandevspace/mcp-arabic-ms-word/docx-xml-surgeon)<a href="https://agentmods.dev/skills/marwandevspace/mcp-arabic-ms-word/docx-xml-surgeon"><img src="https://agentmods.dev/badge/skills/marwandevspace/mcp-arabic-ms-word/docx-xml-surgeon/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/marwandevspace/mcp-arabic-ms-word/docx-xml-surgeon"><img src="https://agentmods.dev/badge/skills/marwandevspace/mcp-arabic-ms-word/docx-xml-surgeon.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.00043 | $0.00413 |
| Opus 5.5 | $0.00017 | $0.00165 |
| Sonnet 5.5 | $0.00009 | $0.00083 |
| Haiku 4.5 | $0.00004 | $0.00041 |
Grade A, and why
docx-xml-surgeon 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
WordprocessingML XML Decompression & Surgery Skill
This skill provides advanced guidance for decompressing .docx zip archives in memory, diagnosing low-level OpenXML structures, and applying surgical regex/node replacements.
1. Inner XML Structure Map
word/document.xml: Main body content, paragraphs (w:p), runs (w:r), text (w:t), tables (w:tbl), and section properties (w:sectPr).word/styles.xml: Style hierarchies (Normal, Heading 1..6), default font families (w:rFonts), and paragraph spacing rules.word/numbering.xml: List formatting and multi-level outline numbering.word/settings.xml: Document-level RTL properties (w:bidi), track changes, and compatibility options.word/header1.xml/word/footer1.xml: Header and footer section XML structures containing dynamic page number fields (w:fldSimple w:instr="PAGE").
2. Tool Execution Workflow
{
"tool": "decompress_and_modify_word_xml",
"arguments": {
"filePath": "path/to/document.docx",
"targetXmlPath": "word/document.xml",
"searchPattern": "<w:jc w:val=\"left\"/>",
"replacementValue": "<w:jc w:val=\"right\"/>",
"outputPath": "path/to/repaired_document.docx"
}
}
3. Safety & Integrity Guidelines
- Always verify that replacement XML tags are balanced and correctly namespaced (
xmlns:w="..."). - Use
inspect_word_documentorconvert_word_to_markdownafter modifications to confirm document readability.
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 Changed · +20 lines e70d9306ad39
- 3mo ago First seen · 22 lines · 43 tokens per session scan A 243b3b09f6f3
docx-xml-surgeon is a skill published in the GitHub repository MarwanDevSpace/mcp-arabic-ms-word (1 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 413 once invoked, about $0.0002 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-xml-surgeon compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docx-xml-surgeonMarwanDevSpace/mcp-arabic-ms-word | Skill | 1 | 3mo ago | MIT | A | 43 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | yesterday | Apache-2.0 | A | 123 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 111k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| report-to-pdfasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 17 | Claude Code, Codex |
| legal-holdanthropics/claude-for-legal | Skill | 10k | 4d ago | Apache-2.0 | A | 68 | Claude Code |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 54 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |