Agent skill · Documentation

word-analysis

Word (.docx/.doc) 文档全量解析。覆盖:正文/段落文本提取、表格数据提取、高亮/颜色格式读取、多文件汇总对比、嵌入图片转 caption。

OpenSenseNovagithub.com/OpenSenseNovaGitHub ↗
claude-codeMIT
Install
npx skills add OpenSenseNova/SenseNova-Skills --skill word-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/sn-da-non-spreadsheet-analysis/capability/word-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,855
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Word Analysis — .docx / .doc ## Environment ```python from docx import Document import os # python-docx is available; for .doc (old format) convert via libreoffice first def load_doc(path): """Load .docx directly; convert .doc to .docx first if needed.""" if path.lower().endswith('.doc'): import subprocess out_dir = os.path.dirname(path) subprocess.run( ['libreoffice', '--headless', '--convert-to', 'docx', '--outdir', out_dir, path], check=True, capture_output=True ) path = path.rsplit('.', 1)[0] + '.docx' return Document(path) ``` --- ## Core Method 1: Full Text Extraction ```python def extract_full_text(doc_path): """Extract all text: paragraphs + table cells, in document order.""" doc = load_doc(doc_path) lines = [] # Iterate paragraphs and tables in body order from docx.oxml.ns import qn for block in doc.element.body: tag = block.tag.split('}')[-1] if tag == 'p': # Paragraph from docx.text.paragraph import Paragraph para = Paragraph(block, doc) text = para.text.strip() if text: lines.append(text) elif tag == 'tbl': # Table from docx.table import Table tbl = Table(block, doc) for row in tbl.rows: row_text = '\t'.join(cell.text.strip() for cell in row.cells) if row_text.strip()

What's inside
Steps it walks through
  1. Environment
  2. Core Method 1: Full Text Extraction
  3. Core Method 2: Table Extraction (Structured)
  4. Core Method 3: Format-Aware Extraction (Color / Highlight)
  5. Core Method 4: Multi-File Aggregation
  6. Core Method 5: Embedded Images → Caption
  7. Common Patterns
  8. Font/size check (字号检查)
  9. Spell/grammar check (错别字)
  10. Keyword search (全文定位)
  11. Pitfalls
More from SenseNova-Skills
All skills →
About this skill
What does the word-analysis skill do?

Word (.docx/.doc) 文档全量解析。覆盖:正文/段落文本提取、表格数据提取、高亮/颜色格式读取、多文件汇总对比、嵌入图片转 caption。

How do I install it?

Run `npx skills add OpenSenseNova/SenseNova-Skills --skill word-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From OpenSenseNova/SenseNova-Skills, a repository with 4,855 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going