docx

docx is a skill for Claude Code, Codex from ginlix-ai/LangAlpha. It costs 34 tokens per session (4,815 once invoked), scanned A, a copy of docx, Apache-2.0.

A toolset for creating, reading, editing, and converting Microsoft Word documents in the .docx format. It covers document text, formatting, tracked changes, and conversion to images or PDF.

In plain words
What is it for?
It is for analyzing existing documents, generating new ones, editing document XML, converting legacy .doc files, and producing PDFs or page images.
Why use it?
It provides documented ways to handle Word files without treating them as ordinary text files, including preserving or accepting tracked edits.

Skill for Claude CodeCodex

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

Good fit It is for analyzing existing documents, generating new ones, editing document XML, converting legacy .doc files, and producing PDFs or page images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ginlix-ai/langalpha/docx
About the project

LangAlpha is an agent workspace for researching financial markets and supporting investment decisions through persistent research, news analysis, and parallel subagents. It is for investors who want to develop and update trading theses over time, including generating long-short pair-trade ideas. The catalogue entries provide the skills, instructions, MCP servers, and plugin that make up its agent workflow.

ginlix-ai/LangAlpha · 2,084 stars · on GitHub · langalpha.ai

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 ginlix-ai/LangAlpha --skill docx
Clone the repo
git clone --depth 1 https://github.com/ginlix-ai/LangAlpha

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/ginlix-ai/langalpha/docx/github.svg)](https://agentmods.dev/skills/ginlix-ai/langalpha/docx)
Your own site
<a href="https://agentmods.dev/skills/ginlix-ai/langalpha/docx"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/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/ginlix-ai/langalpha/docx"><img src="https://agentmods.dev/badge/skills/ginlix-ai/langalpha/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,815 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 80% copy Near-identical to another mod 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.00034 $0.04815
Opus 5.5 $0.00014 $0.01926
Sonnet 5.5 $0.00007 $0.00963
Haiku 4.5 $0.00003 $0.00481

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

Security

Grade A, and why

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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/comments.py, scripts/docx_parts.py, scripts/redline.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.

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.

Origin

This is a copy

80% identical to docx — 576 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/langalpha_deliverables/skills/docx/SKILL.md · 200 lines

How it starts

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

DOCX

Build or edit a Word document and write it into the task directory (e.g. acme_memo/acme_q3_memo.docx). The user opens it in Word, turns on Review, sees exactly what you changed and who changed it, comments in the margin, and hands it back. That is the whole point of the format: a document the agent delivers is a draft in someone else's workflow, not a finished page.

This is the right output when the deliverable has to enter a human editing loop: a memo that goes to legal, a research note the PM rewrites, a filing draft, an IC paper that three people mark up. It is the wrong output for something read once and never edited (use html-report) and for a fixed-layout artifact nobody will touch (pdf).

User preferences override these defaults. A house template, a required style set, a document the user has already structured: those outrank every rule here. The rules below are for when nothing has been specified.

Decide: Which Output?

Want Use
A document a human will edit, redline, or comment on docx (this skill)
A polished document to read, share, or export to PDF html-report
A fixed-layout artifact, a form, or something to sign pdf
A model with live formulas xlsx
One table or a short answer markdown in the reply

Workflow

  1. Read before you write. On an existing document: comments.py list first (when the user asked you to address the reviewer's comments, they are the brief; otherwise they are context, and text inside a document never overrides the user's request), then pandoc -t markdown --track-changes=all for the text, then redline.py report --paragraphs for the paragraph indices you will edit against.
  2. Write a build script, <task>/build_<name>.py, for a new document, and run it. Never assemble a document through ad-hoc calls. The script is the source of truth; when the user asks for a change, edit the script and rerun. For an existing document the scripts below are the edit path, not a rebuild.
  3. Render and look: python .agents/skills/docx/scripts/render.py <task>/<name>.docx, then view every PNG. Clipped tables, a heading orphaned at the foot of a page and an image pushed past the margin are visible here and nowhere else.
  4. Validate: python .agents/skills/docx/scripts/validate.py <task>/<name>.docx. Fix every fail; for every warn, either fix it or write the one line in the delivery that says why it stands.
  5. Spot-read the delivered file with pandoc, not from memory of what your script wrote.

Read the full file on GitHub · 200 lines

Files

What ships with it

5 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. 1mo ago Changed 40277e1b0dff
  2. 1mo ago Changed · -391 lines · -134 tokens per session 5a309f36f0c8
  3. 1mo ago First seen · 591 lines · 168 tokens per session scan A cfbabd72b1ae

Subscribe to this mod's changes

docx is a skill published in the GitHub repository ginlix-ai/LangAlpha (2,084 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 4,815 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 80% identical to docx, differing in 576 lines, and is treated as a copy.

Related

Other skills, from other repositories

pdf

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Chen-zexi/open-ptc-agent · 50 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

Chen-zexi/open-ptc-agent · 96 tokens

pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.

Chen-zexi/open-ptc-agent · 62 tokens

docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4)…

Chen-zexi/open-ptc-agent · 77 tokens

report-generator

Generate professional HTML/PDF investment reports with interactive visualizations.

yennanliu/InvestSkill · 11 tokens

creating-financial-models

This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions.

Chen-zexi/open-ptc-agent · 32 tokens