بنقرة واحدة
monoco-atom-doc-convert
文档转换与智能分析 - 使用 LibreOffice 将 Office/PDF 文档转换为可分析格式
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
文档转换与智能分析 - 使用 LibreOffice 将 Office/PDF 文档转换为可分析格式
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Extract documents to WebP pages for VLM analysis - Convert PDF, Office, Images to standardized WebP format
将文档提取为 WebP 页面以进行 VLM 分析 - 将 PDF、Office、图片转换为标准化 WebP 格式
Document conversion and intelligent analysis - Use LibreOffice to convert Office/PDF documents to analyzable formats
Engineer Role - Responsible for code generation, testing, and maintenance
Reviewer Role - Responsible for code audit, architecture compliance checking, and feedback
Engineer Role - Responsible for code generation, testing, and maintenance
استنادا إلى تصنيف SOC المهني
| name | monoco_atom_doc_convert |
| description | 文档转换与智能分析 - 使用 LibreOffice 将 Office/PDF 文档转换为可分析格式 |
| type | atom |
当需要分析 Office 文档(.docx, .xlsx, .pptx 等)或 PDF 时,使用此流程。
步骤 1: 检查 LibreOffice 可用性
which soffice
步骤 2: 转换文档为 PDF
soffice --headless --convert-to pdf "{input_path}" --outdir "{output_dir}"
步骤 3: 使用 Vision 能力分析
转换后的 PDF 可直接使用 Agent 的视觉能力分析,无需额外 OCR。
| 输入格式 | 转换方式 | 备注 |
|---|---|---|
| .docx | LibreOffice → PDF | Word 文档 |
| .xlsx | LibreOffice → PDF | Excel 表格 |
| .pptx | LibreOffice → PDF | PowerPoint |
| .odt | LibreOffice → PDF | OpenDocument |
| 直接使用 | 无需转换 |
/tmp/ 或项目 .monoco/tmp/分析 Word 文档:
# 转换
soffice --headless --convert-to pdf "./report.docx" --outdir "./tmp"
# 分析 (使用 vision 能力)
# 然后读取 ./tmp/report.pdf 进行分析