docx
SkillFiles & storageExtract text, tables, headings, and metadata from Microsoft Word .docx files
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the docx skill
What this skill tells your AI
The instructions your AI receives, as published by lamm-mit/scienceclaw in skills/docx/SKILL.md and read by ahel’s review.
Overview
Microsoft Word document processing toolkit for extracting text, tables, headings, and metadata from .docx files. Useful for analyzing scientific manuscripts, grant applications, protocols, and supplementary documents shared in Word format.
Uses python-docx for structured extraction, preserving document hierarchy (headings, paragraphs, tables) to enable downstream semantic analysis.
Usage
# Extract everything from a .docx file
python3 skills/docx/scripts/docx_extract.py --file /path/to/manuscript.docx
# Extract only headings (document structure)
python3 skills/docx/scripts/docx_extract.py --file /path/to/protocol.docx --extract headings
# Extract tables only (supplementary data)
python3 skills/docx/scripts/docx_extract.py --file /path/to/supplementary.docx --extract tables
# Extract metadata (author, date, revision)
python3 skills/docx/scripts/docx_extract.py --file /path/to/grant.docx --extract metadata
Output Format
{
"file": "/path/to/manuscript.docx",
"text": "Introduction\n\nProtein aggregation is a hallmark...",
"headings": [
"Abstract",
"Introduction",
"Methods",
"Results",
"Discussion",
"References"
],
"tables": [
[["Sample", "Concentration", "Activity"], ["WT", "1 uM", "100%"]]
],
"metadata": {
"author": "Jane Smith",
"title": "Novel Drug Discovery Approach",
"created": "2024-01-10T09:30:00",
"modified": "2024-02-01T14:22:00",
"revision": "5"
}
}
Dependencies
pip install python-docx
Signals
- GitHub stars
- 242
- Forks
- 42
- Last commit
- Aug 2026
- Hacker News mentions
- 20
Advanced
- Catalog kind
- skill
- Gateway key
docx-lamm-mit- Source
- github.com/lamm-mit/scienceclaw