[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71ACMBW0HMK0W893YG0WS66":3,"skill-same:01M71ACMBW0HMK0W893YG0WS66":69},{"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":26,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M71ACMBW0HMK0W893YG0WS66","writer",null,"Document creation, format conversion (ODT\u002FDOCX\u002FPDF), mail merge, and automation with LibreOffice Writer.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwriter\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"document","2026","document-processing","libreoffice writer","with","processing","creation","mail","docx","conversion","format","merge","automation","safe","personal","PDF","2026-11-10 10:12:30",false,"---\nname: writer\ndescription: \"Document creation, format conversion (ODT\u002FDOCX\u002FPDF), mail merge, and automation with LibreOffice Writer.\"\ncategory: document-processing\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# LibreOffice Writer\n\n## Overview\n\nLibreOffice Writer skill for creating, editing, converting, and automating document workflows using the native ODT (OpenDocument Text) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new documents in ODT format\n- Converting documents between formats (ODT \u003C-> DOCX, PDF, HTML, RTF, TXT)\n- Automating document generation workflows\n- Performing batch document operations\n- Creating templates and standardized document formats\n\n## Core Capabilities\n\n### 1. Document Creation\n- Create new ODT documents from scratch\n- Generate documents from templates\n- Create mail merge documents\n- Build forms with fillable fields\n\n### 2. Format Conversion\n- ODT to other formats: DOCX, PDF, HTML, RTF, TXT, EPUB\n- Other formats to ODT: DOCX, DOC, RTF, HTML, TXT\n- Batch conversion of multiple documents\n\n### 3. Document Automation\n- Template-based document generation\n- Mail merge with data sources (CSV, spreadsheet, database)\n- Batch document processing\n- Automated report generation\n\n### 4. Content Manipulation\n- Text extraction and insertion\n- Style management and application\n- Table creation and manipulation\n- Header\u002Ffooter management\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow automation tools\n\n## Workflows\n\n### Creating a New Document\n\n#### Method 1: Command-Line\n```bash\nsoffice --writer template.odt\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_document():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.text.TextDocument\", ctx)\n    text = doc.Text\n    cursor = text.createTextCursor()\n    text.insertString(cursor, \"Hello from LibreOffice Writer!\", 0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdocument.odt\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using odfpy\n```python\nfrom odf.opendocument import OpenDocumentText\nfrom odf.text import P, H\n\ndoc = OpenDocumentText()\nh1 = H(outlinelevel='1', text='Document Title')\ndoc.text.appendChild(h1)\ndoc.save(\"document.odt\")\n```\n\n### Converting Documents\n\n```bash\n# ODT to DOCX\nsoffice --headless --convert-to docx document.odt\n\n# ODT to PDF\nsoffice --headless --convert-to pdf document.odt\n\n# DOCX to ODT\nsoffice --headless --convert-to odt document.docx\n\n# Batch convert\nfor file in *.odt; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n### Template-Based Generation\n```python\nimport subprocess\nimport tempfile\nfrom pathlib import Path\n\ndef generate_from_template(template_path, variables, output_path):\n    with tempfile.TemporaryDirectory() as tmpdir:\n        subprocess.run(['unzip', '-q', template_path, '-d', tmpdir])\n        content_file = Path(tmpdir) \u002F 'content.xml'\n        content = content_file.read_text()\n        for key, value in variables.items():\n            content = content.replace(f'${{{key}}}', str(value))\n        content_file.write_text(content)\n        subprocess.run(['zip', '-rq', output_path, '.'], cwd=tmpdir)\n    return output_path\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODT (native), DOCX, DOC, RTF, HTML, TXT, EPUB\n\n### Supported Output Formats\n- ODT, DOCX, PDF, PDF\u002FA, HTML, RTF, TXT, EPUB\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --writer    # Writer\nsoffice --calc      # Calc\nsoffice --impress   # Impress\nsoffice --draw      # Draw\n```\n\n## Python Libraries\n\n```bash\npip install odfpy     # ODF manipulation\npip install ezodf     # Easier ODF handling\n```\n\n## Best Practices\n\n1. Use styles for consistency\n2. Create templates for recurring documents\n3. Ensure accessibility (heading hierarchy, alt text)\n4. Fill document metadata\n5. Store ODT source files in version control\n6. Test conversions thoroughly\n7. Embed fonts for PDF distribution\n8. Handle conversion failures gracefully\n9. Log automation operations\n10. Clean temporary files\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Conversion Quality Issues\n```bash\nsoffice --headless --convert-to pdf:writer_pdf_Export document.odt\n```\n\n## Resources\n\n- [LibreOffice Writer Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [LibreOffice SDK](https:\u002F\u002Fwiki.documentfoundation.org\u002FDocumentation\u002FDevGuide)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [odfpy](https:\u002F\u002Fpypi.org\u002Fproject\u002Fodfpy\u002F)\n\n## Related Skills\n\n- calc\n- impress\n- draw\n- base\n- docx-official\n- pdf-official\n- workflow-automation\n","# LibreOffice Writer\n\n## Overview\n\nLibreOffice Writer skill for creating, editing, converting, and automating document workflows using the native ODT (OpenDocument Text) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new documents in ODT format\n- Converting documents between formats (ODT \u003C-> DOCX, PDF, HTML, RTF, TXT)\n- Automating document generation workflows\n- Performing batch document operations\n- Creating templates and standardized document formats\n\n## Core Capabilities\n\n### 1. Document Creation\n- Create new ODT documents from scratch\n- Generate documents from templates\n- Create mail merge documents\n- Build forms with fillable fields\n\n### 2. Format Conversion\n- ODT to other formats: DOCX, PDF, HTML, RTF, TXT, EPUB\n- Other formats to ODT: DOCX, DOC, RTF, HTML, TXT\n- Batch conversion of multiple documents\n\n### 3. Document Automation\n- Template-based document generation\n- Mail merge with data sources (CSV, spreadsheet, database)\n- Batch document processing\n- Automated report generation\n\n### 4. Content Manipulation\n- Text extraction and insertion\n- Style management and application\n- Table creation and manipulation\n- Header\u002Ffooter management\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Integration with workflow automation tools\n\n## Workflows\n\n### Creating a New Document\n\n#### Method 1: Command-Line\n```bash\nsoffice --writer template.odt\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_document():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.text.TextDocument\", ctx)\n    text = doc.Text\n    cursor = text.createTextCursor()\n    text.insertString(cursor, \"Hello from LibreOffice Writer!\", 0)\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fdocument.odt\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using odfpy\n```python\nfrom odf.opendocument import OpenDocumentText\nfrom odf.text import P, H\n\ndoc = OpenDocumentText()\nh1 = H(outlinelevel='1', text='Document Title')\ndoc.text.appendChild(h1)\ndoc.save(\"document.odt\")\n```\n\n### Converting Documents\n\n```bash\n# ODT to DOCX\nsoffice --headless --convert-to docx document.odt\n\n# ODT to PDF\nsoffice --headless --convert-to pdf document.odt\n\n# DOCX to ODT\nsoffice --headless --convert-to odt document.docx\n\n# Batch convert\nfor file in *.odt; do\n    soffice --headless --convert-to pdf \"$file\"\ndone\n```\n\n### Template-Based Generation\n```python\nimport subprocess\nimport tempfile\nfrom pathlib import Path\n\ndef generate_from_template(template_path, variables, output_path):\n    with tempfile.TemporaryDirectory() as tmpdir:\n        subprocess.run(['unzip', '-q', template_path, '-d', tmpdir])\n        content_file = Path(tmpdir) \u002F 'content.xml'\n        content = content_file.read_text()\n        for key, value in variables.items():\n            content = content.replace(f'${{{key}}}', str(value))\n        content_file.write_text(content)\n        subprocess.run(['zip', '-rq', output_path, '.'], cwd=tmpdir)\n    return output_path\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODT (native), DOCX, DOC, RTF, HTML, TXT, EPUB\n\n### Supported Output Formats\n- ODT, DOCX, PDF, PDF\u002FA, HTML, RTF, TXT, EPUB\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --writer    # Writer\nsoffice --calc      # Calc\nsoffice --impress   # Impress\nsoffice --draw      # Draw\n```\n\n## Python Libraries\n\n```bash\npip install odfpy     # ODF manipulation\npip install ezodf     # Easier ODF handling\n```\n\n## Best Practices\n\n1. Use styles for consistency\n2. Create templates for recurring documents\n3. Ensure accessibility (heading hierarchy, alt text)\n4. Fill document metadata\n5. Store ODT source files in version control\n6. Test conversions thoroughly\n7. Embed fonts for PDF distribution\n8. Handle conversion failures gracefully\n9. Log automation operations\n10. Clean temporary files\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n### Conversion Quality Issues\n```bash\nsoffice --headless --convert-to pdf:writer_pdf_Export document.odt\n```\n\n## Resources\n\n- [LibreOffice Writer Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [LibreOffice SDK](https:\u002F\u002Fwiki.documentfoundation.org\u002FDocumentation\u002FDevGuide)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [odfpy](https:\u002F\u002Fpypi.org\u002Fproject\u002Fodfpy\u002F)\n\n## Related Skills\n\n- calc\n- impress\n- draw\n- base\n- docx-official\n- pdf-official\n- workflow-automation\n",{"name":5,"risk":40,"source":41,"category":29,"date_added":48,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fwriter","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill writer",{"tool":61,"command":62},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill writer",{"tool":64,"command":65},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill writer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwriter\u002FSKILL.md",true,[],[70,93,119,129,142,159],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":81,"publishedAt":43},"01M71ATQRKG48SH06FQ697T5G9","wechat-search","Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fwechat-search-release\u002FSKILL.md",[76],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[82,83,84,85,86,87,88,89,90,91,92,31],"wechat search","wechat","search","capabilities","openclaw","design","web search","compliance","web","official","fetch",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":43},"01M71ATNAVGZB35PFYM2GC5N00","trend-tap","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-tap\u002FSKILL.md",[],[100,101,102,103,104,105,84,106,107,108,109,110,111,112,113,114,115,116,117,118],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","when","brew","live","data","google","install","read","across","api",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":43},"01M71ATJ9AM5KM15AA8PS302EB","trend-radar","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-radar\u002FSKILL.md",[],[126,127,100,111,112,113,114,104,84,116,128,117,118,110,108,107,106,115,105,103],"trend radar","radar","pulse",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":43},"01M71ATGF095N3EJM9G8SD0BB5","tech-news-daily","每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻，翻译（英→中）、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftech-news-daily\u002FSKILL.md",[],[136,137,138,139,140,141],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":151,"publishedAt":43},"01M71ATFAEAMQ17M70NQNY7SR8","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsummarize\u002FSKILL.md",[148],{"categoryNo":149,"categoryName":150,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",[144,90,152,153,154,31,111,155,156,157,102,158,115],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":43},"01M71ATDNS3R0M4H936PACQAWZ","sonoscli","Control Sonos speakers (discover\u002Fstatus\u002Fplay\u002Fvolume\u002Fgroup).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsonoscli\u002FSKILL.md",[],[161,166,167,168,115,169,156,170,171,172,173,174],"status","play","go","latest","github","discover","control","cmd","volume"]