/scholaraio:documentfrom scholaraio
Creates and inspects DOCX, PPTX, and XLSX files using python-docx, python-pptx, and openpyxl. Runs structural checks with scholaraio document inspect to verify layout and formatting.
Ships in scholaraio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
当前 Agent 原生能力优先,但必须先做能力检查:按最终交付物路由,不按 Agent 品牌路由。若当前会话实际提供内容写作、演示设计、图表或版式能力,就由当前使用的 Agent 原生能力先完成内容与视觉方案。只有用户需要可下载、可复现的 DOCX/PPTX/XLSX 文件时,才使用本 skill 的 Office API 和检查闭环。
| 用户要的产物 | 默认实现 | 必做检查 |
|---|---|---|
| 正式报告、综述、简报 | python-docx → DOCX | 标题层级、段落、表格、图片、样式 |
| 汇报、演示、答辩 | python-pptx → PPTX | 页数、shape 边界、文字溢出警告、图片、表格 |
| 数据表、统计、清单 | openpyxl → XLSX | sheet、数据范围、冻结窗格、格式、图表 |
把用户交付物写到 workspace/ 下;正式文件默认放 workspace/reports/,系统生成图表默认放 workspace/_system/figures/。不要把产物写到仓库根目录。
scholaraio document inspect <file>;发现结构问题或溢出警告时,修改脚本、重新生成并再次检查。scholaraio document inspect workspace/reports/report.docx
scholaraio document inspect workspace/reports/presentation.pptx
scholaraio document inspect workspace/reports/data.xlsx
document inspect 是结构化检查器:
它不能代替完整的 Office 渲染器。无警告不等于视觉布局一定正确。
| 前置任务 | 组合方式 |
|---|---|
| 绘制流程图或论文图 | /draw 生成 SVG/PNG,再嵌入 Office 文件 |
| 搜索或整理论文 | /search、/workspace 或写作 skill 先生成有来源的内容 |
| 文献综述或论文章节 | /literature-review 或 /paper-writing 先完成内容,再封装 DOCX |
| 普通演示稿 | 先完成故事线与逐页内容,再生成 PPTX |
只有简单 Markdown → DOCX 且不需要高级排版时,才使用:
scholaraio export docx --input workspace/report.md --output workspace/reports/report.docx
即使使用快捷转换,也要运行 scholaraio document inspect。
用户说:“帮我总结文献库,交付一份 Word 简报” → 先检索和核验内容 → 读取 DOCX 参考 → 生成 DOCX → inspect → 有渲染能力时再视觉检查
用户说:“把工作区论文做成给导师汇报的 PPT” → 先组织故事线和逐页信息 → 读取 PPTX 参考 → 生成 PPTX → inspect → 逐页视觉检查
用户说:“把论文统计导出为 Excel” → 获取结构化数据 → 读取 XLSX 参考 → 生成带格式和筛选的 XLSX → inspect
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
office-documents, docx, pptx, xlsx, document-generation, document-inspection
44 skills in this plugin
/academic-writingUse when the user needs help choosing or organizing an academic-writing workflow by deliverable, stage, or format, including review articles, guided reading, paper sections, PPT or slides, posters, and technical reports./arxivUse when the user wants to browse arXiv preprints, search arXiv directly, fetch a PDF by arXiv ID or URL, or send a preprint into the ScholarAIO ingest pipeline./auditUse when the user wants to check paper-library data quality, diagnose missing metadata, filename issues, DOI duplicates, title mismatches, or repairable metadata problems.npx claudepluginhub zimoliao/scholaraio --plugin scholaraioOther plugins' skills for the same job