Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By diegocconsoliniv2.2.0MITIn 1 marketplace
Lets you query large Word documents chunk by chunk, loading only the sections you need instead of the whole file. Extraction runs locally with python-docx and claims no LLM calls or network requests during extraction.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Extract and analyze Word documents with lossless extraction and 10-50x token reduction
DOCX Smart Extractor solves the "Word document too large" problem by extracting content locally (including text, tables, and formatting), chunking it by heading hierarchy, and enabling efficient querying. This plugin is designed for policy documents, technical reports, contracts, and any large Word document that exceeds LLM context windows.
# Create virtual environment
python3 -m venv venv
# Activate (Linux/Mac)
source venv/bin/activate
# Activate (Windows)
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Install from requirements.txt
pip install -r requirements.txt
# OR install individually
pip install python-docx>=0.8.11
python3 -c "import docx; print('python-docx version:', docx.__version__)"
Error: ModuleNotFoundError: No module named 'docx'
pip install -r requirements.txtsource venv/bin/activatepython3 --version (must be 3.8+)Error: externally-managed-environment
pipx for application installation--break-system-packages flag (not recommended)python scripts/extract_docx.py /path/to/document.docx
Output:
Extracting Word document: InfoSecPolicy.docx
File size: 2.50 MB
Extracting 245 paragraphs...
Extraction complete!
Cache key: InfoSecPolicy_a8f9e2c1
Cache location: /Users/you/.claude-cache/docx/InfoSecPolicy_a8f9e2c1
Total paragraphs: 245
Total tables: 12
Total sections: 8
Total characters: 125,430
Next step:
Chunk content: python scripts/semantic_chunker.py InfoSecPolicy_a8f9e2c1
python scripts/semantic_chunker.py InfoSecPolicy_a8f9e2c1
Output:
Chunking document: InfoSecPolicy.docx
Paragraphs: 245
Tables: 12
Strategy: Chunk by headings (42 headings)
Created chunk 1: 1. Introduction (890 tokens)
Created chunk 2: 2. Scope and Purpose (720 tokens)
Created chunk 3: 3. Password Policy (1450 tokens)
...
Chunking complete!
Total chunks: 54
Total tokens: 62,500
Avg tokens/chunk: 1,157
Chunk types:
- paragraphs: 42
- table: 12
python scripts/query_docx.py search InfoSecPolicy_a8f9e2c1 "password policy"
Output:
Searching 54 chunks for: 'password policy'
Found 2 result(s):
1. Chunk 3 - 3. Password Policy
Type: paragraphs
Relevance: 100%
Matches: 12
Tokens: 1,450
Sample: All users must adhere to the following password requirements: minimum 12 characters, combination of uppercase, lowercase, numbers, and special characters...
2. Chunk 15 - 7.2 Authentication Standards
Type: paragraphs
Relevance: 30%
Matches: 3
Tokens: 820
Sample: Authentication mechanisms must comply with password policy requirements defined in Section 3...
Total tokens for displayed results: 2,270
python scripts/query_docx.py heading InfoSecPolicy_a8f9e2c1 "Data Classification"
Output:
Heading: 5. Data Classification
Type: paragraphs
Tokens: 1,120
Data must be classified according to sensitivity levels:
1. Public - Information intended for public disclosure
2. Internal - Information for internal use only
3. Confidential - Sensitive business information
4. Restricted - Highly sensitive information requiring strict access controls
...
python scripts/query_docx.py summary InfoSecPolicy_a8f9e2c1
Output:
============================================================
Document Summary
============================================================
Filename: InfoSecPolicy.docx
File size: 2.50 MB
Author: Security Team
Title: Information Security Policy
Created: 2024-01-15T10:30:00
Modified: 2025-10-18T14:22:00
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub diegocconsolini/claudeskillcollection --plugin docx-smart-extractorPlugins from other owners that cover similar ground