Borrowing it
Nothing to install: this file belongs to ZimoLiao/scholaraio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ZimoLiao/scholaraio/main/.claude/skills/document/SKILL.mdgit clone --depth 1 https://github.com/ZimoLiao/scholaraioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zimoliao/scholaraio/document)<a href="https://agentmods.dev/skills/zimoliao/scholaraio/document"><img src="https://agentmods.dev/badge/skills/zimoliao/scholaraio/document/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zimoliao/scholaraio/document"><img src="https://agentmods.dev/badge/skills/zimoliao/scholaraio/document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.01262 |
| Opus 5.5 | $0.00017 | $0.00505 |
| Sonnet 5.5 | $0.00009 | $0.00252 |
| Haiku 4.5 | $0.00004 | $0.00126 |
Grade A, and why
document scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Office 文档生成与检查
Capability Routing
当前 Agent 原生能力优先,但必须先做能力检查:按最终交付物路由,不按 Agent 品牌路由。若当前会话实际提供内容写作、演示设计、图表或版式能力,就由当前使用的 Agent 原生能力先完成内容与视觉方案。只有用户需要可下载、可复现的 DOCX/PPTX/XLSX 文件时,才使用本 skill 的 Office API 和检查闭环。
Output Contract
| 用户要的产物 | 默认实现 | 必做检查 |
|---|---|---|
| 正式报告、综述、简报 | python-docx → DOCX |
标题层级、段落、表格、图片、样式 |
| 汇报、演示、答辩 | python-pptx → PPTX |
页数、shape 边界、文字溢出警告、图片、表格 |
| 数据表、统计、清单 | openpyxl → XLSX |
sheet、数据范围、冻结窗格、格式、图表 |
把用户交付物写到 workspace/ 下;正式文件默认放 workspace/reports/,系统生成图表默认放 workspace/_system/figures/。不要把产物写到仓库根目录。
Workflow
- 明确最终格式、受众、语言、模板、页数或篇幅,以及是否需要可编辑源文件。
- 使用当前会话实际可用的原生能力完成内容、故事线和视觉方案;需要文献数据时再组合 ScholarAIO 的检索或写作 skill。
- 只读取与目标格式对应的实现参考:
- DOCX:读取 references/docx.md
- PPTX:读取 references/pptx.md
- XLSX:读取 references/xlsx.md
- 用一个可重复运行的 Python 脚本生成文件。脚本与产物都放在对应 workspace 中,避免散落临时代码。
- 运行
scholaraio document inspect <file>;发现结构问题或溢出警告时,修改脚本、重新生成并再次检查。 - 若当前会话实际具备 Office/PDF 渲染或页面预览能力,再对所有页面或幻灯片做视觉检查。否则明确说明只完成了结构检查和启发式布局检查,不要声称已经视觉验收。
- 向用户提供最终文件路径、格式和已完成的检查。
Inspection Commands
scholaraio document inspect workspace/reports/report.docx
scholaraio document inspect workspace/reports/presentation.pptx
scholaraio document inspect workspace/reports/data.xlsx
document inspect 是结构化检查器:
- PPTX:报告每页 shape 的位置、尺寸和内容,并给出边界/文字溢出启发式警告。
- DOCX:报告章节、段落、表格、图片和样式结构。
- XLSX:报告 sheet、数据范围、冻结窗格、合并单元格、预览和图表。
它不能代替完整的 Office 渲染器。无警告不等于视觉布局一定正确。
Composition Rules
| 前置任务 | 组合方式 |
|---|---|
| 绘制流程图或论文图 | /draw 生成 SVG/PNG,再嵌入 Office 文件 |
| 搜索或整理论文 | /search、/workspace 或写作 skill 先生成有来源的内容 |
| 文献综述或论文章节 | /literature-review 或 /paper-writing 先完成内容,再封装 DOCX |
| 普通演示稿 | 先完成故事线与逐页内容,再生成 PPTX |
Quality Gates
- 保留输入数据、生成脚本和最终 Office 文件,使交付可重复生成。
- 不编造引用、图表数据或缺失内容;无法核验的内容必须标注。
- DOCX 使用语义化标题样式,不用手工字号假装标题层级。
- PPTX 统一页面尺寸、边距、标题层级和视觉网格,避免默认模板堆字。
- XLSX 保留原始数据精度,显式设置数字格式、冻结表头和筛选范围。
- 检查结果失败或出现警告时,先修复再交付;不能修复时明确列出剩余问题。
Simple Conversion Escape Hatch
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -1 lines 1a828499ea69
- 2mo ago First seen · 90 lines · 43 tokens per session scan A 31c65824fe9b
document is a skill published in the GitHub repository ZimoLiao/scholaraio (584 stars, last pushed 10d ago), licensed MIT. It adds 43 tokens to every session and 1,262 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
document compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| documentZimoLiao/scholaraio | Skill | 584 | 10d ago | MIT | A | 43 | Claude Code |
| dcf-modelNousResearch/hermes-agent | Skill | 261k | yesterday | MIT | A | 14 | Claude Code, Codex |
| gogopenclaw/openclaw | Skill | 394k | yesterday | MIT | A | 20 | Claude Code, Codex |
| xlsxasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 206 | Claude Code, Codex |
| audit-xlsanthropics/financial-services | Skill | 41k | 9d ago | Apache-2.0 | A | 104 | Claude Code |
| google-drive-sheetsyc-software/qm | Skill | 16k | yesterday | MIT | A | 32 | Claude Code, Codex |
| excel-basic-statistics-and-routingOpenSenseNova/SenseNova-Skills | Skill | 6.0k | 3d ago | MIT | A | 46 | Claude Code, Codex |