[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SVB04Q6XD72ZTQ8YMDJ78":3,"skill-same:01M77SVB04Q6XD72ZTQ8YMDJ78":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M77SVB04Q6XD72ZTQ8YMDJ78","read-word",null,"Read Microsoft Word documents (.docx and .doc) with Chinese support. Extract text, search keywords, and save as UTF-8 text files. No Microsoft Word installation required.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Fread-word\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: read-word\ndescription: Read Microsoft Word documents (.docx and .doc) with Chinese support. Extract text, search keywords, and save as UTF-8 text files. No Microsoft Word installation required.\nversion: 1.0.0\nauthor: 叶文洁\nlicense: MIT\ntags: [document, word, docx, doc, office, read, parse, extract]\n---\n\n# Read Word Document\n\nA professional tool for reading Microsoft Word documents, supporting both modern .docx and legacy .doc formats with full Chinese language support.\n\n## Features\n\n- **Read .docx files** - Word 2007 and later format\n- **Read .doc files** - Word 97-2003 format via OLE parsing\n- **Auto format detection** - Automatically identifies file type\n- **Full Chinese support** - Handles Chinese encoding correctly\n- **Keyword search** - Search for keywords across all paragraphs\n- **Export to text** - Save as UTF-8 text files\n- **Document analysis** - Get document statistics and info\n- **No Word required** - Works without Microsoft Word installation\n\n## Installation\n\n### Prerequisites\n\n```bash\npip install python-docx olefile\n```\n\n### Install Skill\n\n```bash\n# Copy to your OpenClaw skills directory\ncp -r read-word ~\u002F.openclaw\u002Fskills\u002F\n```\n\n## Usage\n\n### Command Line\n\n```bash\n# Basic reading (shows first 100 paragraphs)\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\"\n\n# Show more content\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --limit 200\n\n# Search for keywords\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --search \"keyword1,keyword2\"\n\n# Save as text file\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --output \"output.txt\"\n\n# Show document info only\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --info\n```\n\n### Python API\n\n```python\n# Method 1: Import functions\nimport sys\nsys.path.insert(0, '~\u002F.openclaw\u002Fskills\u002Fread-word')\nfrom read_word import read_word_document, search_in_document\n\n# Read document\nparagraphs = read_word_document(\"document.docx\")\nfor para in paragraphs:\n    print(para)\n\n# Search keywords\nresults = search_in_document(\"document.docx\", [\"keyword1\", \"keyword2\"])\n```\n\n## Examples\n\n### Example 1: Read and Analyze\n```python\nfrom read_word import read_word_document\n\nparagraphs = read_word_document(\"report.docx\")\nprint(f\"Document has {len(paragraphs)} paragraphs\")\n\n# Show first 10 paragraphs\nfor i, p in enumerate(paragraphs[:10]):\n    print(f\"{i+1}. {p}\")\n```\n\n### Example 2: Search Keywords\n```python\nfrom read_word import search_in_document\n\n# Find paragraphs containing \"kitchen\" or \"feng shui\"\nresults = search_in_document(\"book.docx\", [\"kitchen\", \"feng shui\"])\nfor r in results:\n    print(r)\n```\n\n### Example 3: Batch Processing\n```python\nfrom pathlib import Path\nfrom read_word import read_word_document\n\ndesktop = Path.home() \u002F \"Desktop\"\nfor doc_file in desktop.glob(\"*.docx\"):\n    paragraphs = read_word_document(doc_file)\n    print(f\"{doc_file.name}: {len(paragraphs)} paragraphs\")\n```\n\n## API Reference\n\n### `read_word_document(filepath)`\nRead a Word document and return a list of paragraphs.\n\n**Parameters:**\n- `filepath` (str|Path): Path to the Word document\n\n**Returns:**\n- `list`: List of paragraph strings\n\n**Raises:**\n- `FileNotFoundError`: If file doesn't exist\n- `ValueError`: If file format is not supported\n\n### `search_in_document(filepath, keywords)`\nSearch for keywords in a Word document.\n\n**Parameters:**\n- `filepath` (str|Path): Path to the Word document\n- `keywords` (list): List of keywords to search for\n\n**Returns:**\n- `list`: Matching paragraphs with format \"[Paragraph N] content\"\n\n### `save_as_text(paragraphs, output_path)`\nSave paragraphs to a UTF-8 text file.\n\n**Parameters:**\n- `paragraphs` (list): List of paragraph strings\n- `output_path` (str|Path): Output file path\n\n### `analyze_document(filepath)`\nAnalyze document and return statistics.\n\n**Returns:**\n- `dict`: Contains filename, size, paragraphs count, total characters\n\n## Troubleshooting\n\n### Error: ModuleNotFoundError: No module named 'docx'\n**Solution:** `pip install python-docx`\n\n### Error: Legacy .doc file shows garbled text\n**Reason:** OLE parsing has limitations with complex formatting\n**Solution:** Convert .doc to .docx using Microsoft Word, then read\n\n### Error: Chinese characters display incorrectly\n**Reason:** Terminal encoding issue\n**Solution:** Use `--output` to save to file, then open with editor\n\n## File Support\n\n| Format | Extension | Support Level |\n|--------|-----------|---------------|\n| Word 2007+ | .docx | Full |\n| Word 97-2003 | .doc | Partial (text only) |\n| Word 95\u002F6.0 | .doc | Not supported |\n| Rich Text | .rtf | Not supported |\n\n## Permissions\n\n- **Read:** User-specified Word documents\n- **Write (optional):** Output .txt files when using `--output`\n- **Network:** None\n\n## Security\n\nRisk Level: **LOW** - Local file operations only, no network access, original files are never modified.\n\n## Changelog\n\n### v1.0.0 (2026-03-20)\n- Initial release\n- Support .docx and .doc formats\n- Keyword search functionality\n- Text export capability\n- Chinese encoding support\n\n## Author\n\n叶文洁 (Ye Wenjie) - Created for reading Feng Shui books and Word documents\n\n## License\n\nMIT License\n","# Read Word Document\n\nA professional tool for reading Microsoft Word documents, supporting both modern .docx and legacy .doc formats with full Chinese language support.\n\n## Features\n\n- **Read .docx files** - Word 2007 and later format\n- **Read .doc files** - Word 97-2003 format via OLE parsing\n- **Auto format detection** - Automatically identifies file type\n- **Full Chinese support** - Handles Chinese encoding correctly\n- **Keyword search** - Search for keywords across all paragraphs\n- **Export to text** - Save as UTF-8 text files\n- **Document analysis** - Get document statistics and info\n- **No Word required** - Works without Microsoft Word installation\n\n## Installation\n\n### Prerequisites\n\n```bash\npip install python-docx olefile\n```\n\n### Install Skill\n\n```bash\n# Copy to your OpenClaw skills directory\ncp -r read-word ~\u002F.openclaw\u002Fskills\u002F\n```\n\n## Usage\n\n### Command Line\n\n```bash\n# Basic reading (shows first 100 paragraphs)\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\"\n\n# Show more content\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --limit 200\n\n# Search for keywords\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --search \"keyword1,keyword2\"\n\n# Save as text file\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --output \"output.txt\"\n\n# Show document info only\npython ~\u002F.openclaw\u002Fskills\u002Fread-word\u002Fread_word.py \"document.docx\" --info\n```\n\n### Python API\n\n```python\n# Method 1: Import functions\nimport sys\nsys.path.insert(0, '~\u002F.openclaw\u002Fskills\u002Fread-word')\nfrom read_word import read_word_document, search_in_document\n\n# Read document\nparagraphs = read_word_document(\"document.docx\")\nfor para in paragraphs:\n    print(para)\n\n# Search keywords\nresults = search_in_document(\"document.docx\", [\"keyword1\", \"keyword2\"])\n```\n\n## Examples\n\n### Example 1: Read and Analyze\n```python\nfrom read_word import read_word_document\n\nparagraphs = read_word_document(\"report.docx\")\nprint(f\"Document has {len(paragraphs)} paragraphs\")\n\n# Show first 10 paragraphs\nfor i, p in enumerate(paragraphs[:10]):\n    print(f\"{i+1}. {p}\")\n```\n\n### Example 2: Search Keywords\n```python\nfrom read_word import search_in_document\n\n# Find paragraphs containing \"kitchen\" or \"feng shui\"\nresults = search_in_document(\"book.docx\", [\"kitchen\", \"feng shui\"])\nfor r in results:\n    print(r)\n```\n\n### Example 3: Batch Processing\n```python\nfrom pathlib import Path\nfrom read_word import read_word_document\n\ndesktop = Path.home() \u002F \"Desktop\"\nfor doc_file in desktop.glob(\"*.docx\"):\n    paragraphs = read_word_document(doc_file)\n    print(f\"{doc_file.name}: {len(paragraphs)} paragraphs\")\n```\n\n## API Reference\n\n### `read_word_document(filepath)`\nRead a Word document and return a list of paragraphs.\n\n**Parameters:**\n- `filepath` (str|Path): Path to the Word document\n\n**Returns:**\n- `list`: List of paragraph strings\n\n**Raises:**\n- `FileNotFoundError`: If file doesn't exist\n- `ValueError`: If file format is not supported\n\n### `search_in_document(filepath, keywords)`\nSearch for keywords in a Word document.\n\n**Parameters:**\n- `filepath` (str|Path): Path to the Word document\n- `keywords` (list): List of keywords to search for\n\n**Returns:**\n- `list`: Matching paragraphs with format \"[Paragraph N] content\"\n\n### `save_as_text(paragraphs, output_path)`\nSave paragraphs to a UTF-8 text file.\n\n**Parameters:**\n- `paragraphs` (list): List of paragraph strings\n- `output_path` (str|Path): Output file path\n\n### `analyze_document(filepath)`\nAnalyze document and return statistics.\n\n**Returns:**\n- `dict`: Contains filename, size, paragraphs count, total characters\n\n## Troubleshooting\n\n### Error: ModuleNotFoundError: No module named 'docx'\n**Solution:** `pip install python-docx`\n\n### Error: Legacy .doc file shows garbled text\n**Reason:** OLE parsing has limitations with complex formatting\n**Solution:** Convert .doc to .docx using Microsoft Word, then read\n\n### Error: Chinese characters display incorrectly\n**Reason:** Terminal encoding issue\n**Solution:** Use `--output` to save to file, then open with editor\n\n## File Support\n\n| Format | Extension | Support Level |\n|--------|-----------|---------------|\n| Word 2007+ | .docx | Full |\n| Word 97-2003 | .doc | Partial (text only) |\n| Word 95\u002F6.0 | .doc | Not supported |\n| Rich Text | .rtf | Not supported |\n\n## Permissions\n\n- **Read:** User-specified Word documents\n- **Write (optional):** Output .txt files when using `--output`\n- **Network:** None\n\n## Security\n\nRisk Level: **LOW** - Local file operations only, no network access, original files are never modified.\n\n## Changelog\n\n### v1.0.0 (2026-03-20)\n- Initial release\n- Support .docx and .doc formats\n- Keyword search functionality\n- Text export capability\n- Chinese encoding support\n\n## Author\n\n叶文洁 (Ye Wenjie) - Created for reading Feng Shui books and Word documents\n\n## License\n\nMIT License\n",{"name":5,"tags":24,"author":33,"license":15,"version":34,"description":7},[25,26,27,28,29,30,31,32],"document","word","docx","doc","office","read","parse","extract","叶文洁","1.0.0","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fr\u002Fread-word",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill read-word",{"tool":50,"command":51},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill read-word",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill read-word","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Fread-word\u002FSKILL.md",true,[],[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]