omh-long-document-reading
它能做什么
该技能分段阅读非常大的文档,并记录哪些页面已经覆盖。适合需要从长合同、手册或报告中获得摘要或清单的人。
适用场景
- ✓当你需要一份 300 页合同或手册的摘要时。
- ✓当你希望从一份长报告中列出所有截止日期或义务时。
- ✓当文档太长,无法一次读完,而每个部分都必须覆盖时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/skills/omh-long-document-reading/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请总结这份 300 页的供应商合同 PDF,并列出每一项带截止日期的义务。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体记录页数,把文档分成若干页码范围,逐段阅读,然后合并结果。它的覆盖记录会显示哪些页面已被读取,因此未读的范围不会被声称为已读。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Long Document Reading
This is a Hermes-native long-document-reading workflow skill.
Why This Exists
long-document-reading exists because a 300-page PDF is about 500,000 characters and Hermes' read_file returns 100,000 per call with no page numbers, re-converting the whole file each time; five unanchored reads then sit in the conversation until the ratio-based compressor summarizes them without a page number, so without a ledger the session either truncates, loses the early ranges to compaction, or claims a summary of pages it never read.
Do Not Use When
- The document is a research paper and the user wants it explained by level; use
omh-paper-learning. - The request asks to convert, export, split into a new file, compare two PDFs, or extract tables into CSV; use
omh-materials-package. - The input is an image, screenshot, receipt, audio, or video rather than a document; use
omh-media-input. - The user is still looking for the document or its download link; use
omh-source-finder. - The document fits one read (under about 60 pages of prose); read it directly and answer.
Examples
Good example:
- Prompt: summarize this 300-page vendor contract pdf and list every obligation with a deadline
- Expected behavior: Prepare long_document_card/v1: record the page count and scanned flags, plan five 60-page ranges, delegate them with the per-range brief, merge obligations with page anchors, and close with covered / next / missing.
- Why: The document is far past one read budget and the goal needs page-anchored claims from every range.
Bad example:
- Prompt: turn this 300-page pdf into a slide deck
- Expected behavior: Route to
materials-package: the user wants a produced file, not a page-anchored reading of the document; the page count alone does not make it a reading request. - Why: Reading and producing are different lanes; a deck request is file output work.
Completion Checklist
- The page count is observed or the card says it is not.
- Every ledger range is covered, or the missing ranges are listed with a reason.
- Every claim in the merged answer carries a page anchor.
- Scanned ranges are read, declined with a reason, or listed as missing.
- Not-observed boundaries remain visible: page_count, text_extraction, scanned_page_ocr, range_delegation, hosted_ocr, cross_range_consistency.
Recovery Notes
- If a script reports a missing dependency, install the one it names once with
pip install(pdfplumber,pypdf,pymupdf, orpypdfium2; popplerpdftoppmis the system alternative for rendering), rerun, and record the install. - If a range read truncates, halve the range, record the observed characters per page, and re-plan the remaining ranges from that measurement.
- If the context was compacted or the session resumed, reread the ledger and continue from the
nextrange; do not restart from page 1. - If the document is encrypted, ask for the password or stop;
pdf_read.pyandpdf_split.pyaccept--password. - If most pages are scanned and the goal needs them all, stop and get approval for the per-page OCR job before spending one vision call per page.
Workflow Lane
- Current lane: Research and company ops (
product-docs,source-finder,web-research,research,model-optimization,inference-serving,model-finetuning,research-brief,+27 more) - research, signals, ops, and briefings. - If intent belongs to another lane, hand back to
oh-my-hermesor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
skill_view(name='omh-routing', file_path='references/skill-common-rail.md').
When to Use
Use when Hermes must read a supplied document that does not fit one read: a contract, manual, annual report, specification, or any PDF past about 60 pages. The skill plans page ranges sized to the read_file budget, keeps a page-anchored chunk ledger with covered / next / missing state, and delegates ranges when there are more than 4, so a compacted or resumed session continues instead of restarting.
Strong routing signals: `long-document-reading`, `long document reading`, `summarize this pdf`, `read this pdf`, `process this pdf`, `go through this pdf`, `summarize this document`, `read this document`, `process this document`, `read this whole document`, `summarize this manual`, `read this manual`, `summarize this contract`, `read this contract`, `summarize this annual report`, `read this annual report`, `read the wh
常见问题
它能处理扫描版 PDF 吗?
该技能会注明页面是否为扫描件,因为这会影响文字的识别效果。
它会把 PDF 转换或拆分成新文件吗?
不会。转换、导出或提取表格由单独的材料技能负责。
短文档也需要用它吗?
不需要。一次就能读完的文档可以直接阅读。
详情
作者的原始描述
[omh] Huge PDF or document to read in full: read a very large PDF, contract, manual, or report through Hermes in page-anchored ranges with a coverage ledger. Use when the user says: long-document-reading, long document reading, summarize this pdf, read this pdf, process this pdf, go through this pdf, summarize this document, read this document.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15205
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。