omh-long-document-reading
Skill3.1k starsChanged 3 months agoMITView on GitHub
[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.
- Reads credentials
- Installs packages
Trending
Quiet since October.about the whole repository
Who's talking about rlaope/oh-my-hermes
- @github-trending.bsky.social“📦 rlaope / oh-my-hermes ⭐ 1,823 (+52) 🗒 Python All in one plugin for Hermes Agent ⚚ the coding …”Bluesky · Sep 15, 2026 · 2 likes
- kailiu42/awesome-coding-agents“Add Oh My Hermes”GitHub · Jul 4, 2026 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.rlaope.oh-my-hermes: init at 3.0.0”GitHub · Oct 3, 2026
- skerishKang/ai-revenue-lab“[P1][CLAW][OSS-REF] oh-my-hermes agent operating-layer reference audit”GitHub · Sep 23, 2026
- todoroki-godai/evolve-anything“[tech-eval] 記憶が指すパス参照を想起時に実在照合する(読み出し時導出・sha256 保存は採らない)”GitHub · Sep 20, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub and Bluesky (16 times).
On GitHub · 15
- Jul 4, 2026Add Oh My Hermes — kailiu42/awesome-coding-agents1 reaction · 1 comment
- Oct 3, 2026agent-skills.github.rlaope.oh-my-hermes: init at 3.0.0 — sudosubin/agents.nix0 reactions
- Sep 23, 2026[P1][CLAW][OSS-REF] oh-my-hermes agent operating-layer reference audit — skerishKang/ai-revenue-lab0 reactions · 1 comment
- Sep 20, 2026[tech-eval] 記憶が指すパス参照を想起時に実在照合する(読み出し時導出・sha256 保存は採らない) — todoroki-godai/evolve-anything0 reactions
- Sep 15, 2026Github trending [rlaope/oh-my-hermes] Hermes专业操作层 — web1992/github-trending0 reactions
10 more on GitHub
- Sep 1, 2026[开源推荐] 让 Hermes Agent 工作可规划、可验证 — 521xueweihan/HelloGitHub0 reactions
- Sep 1, 2026[开源推荐] 让 Hermes Agent 工作可规划、可验证 — 521xueweihan/HelloGitHub0 reactions
- Aug 18, 2026templates/conformance: 完了記録 linter — T-5/L1-7 必須欄の決定論チェッカー — OMH adoption C — caty-ai/family-dev-handbook0 reactions · 3 comments
- Aug 18, 2026docs/templates: 防御機構の正直台帳 — enforced / declared_not_enforced(+blocked_by) の2値ラベル — OMH adoption B — caty-ai/family-dev-handbook0 reactions · 2 comments
- Aug 18, 2026docs/templates: 完了・状態語彙に「自己申告 (reported done) ≠ 観測済み (verified)」の2値を導入 — OMH adoption A — caty-ai/family-dev-handbook0 reactions · 2 comments
- Jul 23, 2026[Submission]: oh-my-hermes — Hermes-native wrapper orchestration layer & skill workflow pack — 0xNyk/awesome-hermes-agent0 reactions · 3 comments
- Jul 4, 2026Add Oh My Hermes — jim-schwoebel/awesome_ai_agents0 reactions
- Jul 4, 2026Add Oh My Hermes — quome-cloud/awesome-coding-agents0 reactions
- Jul 4, 2026Add Oh My Hermes — kaushikb11/awesome-llm-agents0 reactions · 1 comment
- Jul 4, 2026Add Oh My Hermes — e2b-dev/awesome-ai-sdks0 reactions · 1 comment
On Bluesky · 1
- Sep 15, 2026📦 rlaope / oh-my-hermes ⭐ 1,823 (+52) 🗒 Python All in one plugin for Hermes Agent ⚚ the coding intelligence, a long-term memory system… — @github-trending.bsky.social2 likes and reposts
In this repository146 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- model-onboardingSkill
- review-sweepSkill
- triage-sweepSkill
- omh-accessibility-auditSkill
- omh-achievementsSkill
- omh-adversarial-consensusSkill
- omh-agent-boardSkill
- omh-agent-debugSkill
- omh-agent-evaluationSkill
- omh-agent-instructionsSkill
- omh-agent-ops-reviewSkill
- omh-ai-slop-cleanerSkill
- omh-app-debuggingSkill
- omh-apple-designSkill
- omh-application-threat-modelSkill
- omh-appsSkill
- omh-askSkill
- omh-automation-blueprintSkill
- omh-award-bar-scoreSkill
- omh-backendSkill
- omh-browserSkill
- omh-build-failure-triageSkill
- omh-buzzSkill
- omh-cancelSkill
- omh-capability-toggleSkill
- omh-codebase-onboardingSkill
- omh-codebase-umlSkill
- omh-codegraph-refreshSkill
- omh-code-reviewSkill
- omh-commit-pr-authoringSkill
- omh-content-operatorSkill
- omh-context-budget-reviewSkill
- omh-cto-loopSkill
- omh-curriculum-designSkill
- omh-data-analysisSkill
- omh-data-pipelinesSkill
- omh-decideSkill
- omh-decision-prototypeSkill
- omh-decision-recallSkill
- omh-deliverable-packageSkill
- omh-deploy-and-monitorSkill
- omh-design-orchestrationSkill
- omh-design-quality-gateSkill
- omh-docsSkill
- omh-doctorSkill
- omh-executor-runtime-readinessSkill
- omh-external-connector-readinessSkill
- omh-failure-signal-auditSkill
- omh-feedback-triageSkill
- omh-filesSkill
- omh-finance-analysisSkill
- omh-frontend-refactorSkill
- omh-frontendSkill
- omh-gateway-intent-cardSkill
- omh-github-event-opsSkill
- omh-github-issue-intakeSkill
- omh-git-workflowSkill
- omh-harness-session-inventorySkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Every ledger range is covered, or the missing ranges are listed with a reason.
- Distinctive: line 47
Every claim in the merged answer carries a page anchor.
- Very specific: line 53
If a script reports a missing dependency, install the one it names once with pip install (pdfplumber, pypdf, pymupdf, or pypdfium2.
- Distinctive: line 54
If a range read truncates, halve the range, record the observed characters per page, and re-plan the remaining ranges from that measurement.
- Very specific: line 55
If the context was compacted or the session resumed, reread the ledger and continue from the next range.
- Very specific: line 56
If the document is encrypted, ask for the password or stop.
- Distinctive: line 57
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 …
- Very specific: line 62
If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
- Very specific: line 90
Keep document reading in Hermes: read_file, the built-in pdf skill scripts, delegate_task range children, and vision_analyze for scanned …
- Distinctive: line 94
document path or attachment reference
- Distinctive: line 97
read budget when the host differs from the 100,000-character default
- Distinctive: line 123
Do not claim the whole document was read: only ranges the ledger marks covered are read, and a compacted context drops what the ledger did …
- Very specific: line 124
Do not read a document past the budget in one call and summarize the truncation.
- Very specific: line 128
Never export, convert, or package the document as a side effect of reading it.
- Distinctive: line 152
Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
- Distinctive: line 156
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
paper-learning. - The request asks to convert, export, split into a new file, compare two PDFs, or extract tables into CSV; use
materials-package. - The input is an image, screenshot, receipt, audio, or video rather than a document; use
media-input-operator. - The user is still looking for the document or its download link; use
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,+20 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:
omh-routing/references/skill-common-rail.md.
Use When
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 whole pdf`, `chunk this pdf`, `pdf in chunks`, `pdf too big`, `pdf too large`, `このpdfを要約`, `この文書を要約`, `この契約書を要約`, `マニュアルを要約`, `긴 문서 읽기`, `이 pdf 요약해줘`, `이 pdf 읽어줘`, `이 문서 요약해줘`, `이 문서 읽어줘`, `계약서 요약해줘`, `매뉴얼 요약해줘`, `연간 보고서 요약해줘`, `pdf 전체 읽어`, `문서 전체 읽어`, `总结这个pdf`, `总结这份文档`, `总结这份合同`, `总结这本手册`Catalog Metadata
Category: research
Phase: long-document-reading
Hermes role: researcher
Quality tier: long-document-gated
Reasoning demand: standard
Quality bar:
- Get the page count and scanned flags first with
pdf_read.py --meta; each script names its own missing dependency (pdfplumberforpdf_read.py,pypdfforpdf_split.py,pymupdfforextract_pymupdf.py,pypdfium2or popplerpdftoppmforpdf_page_image.py); install it once, and say so. - Size ranges to the read budget: about 60 pages per 100,000-character call at typical density; halve the range when a probe read truncates.
- Extract each range with page selection (
extract_pymupdf.py --pagesorread_fileon apdf_split.pyoutput) so every note carries a page anchor. - Delegate ranges to
delegate_taskchildren with the fixed per-range brief when the plan has more than 4 ranges; read sequentially otherwise. - Close every range with covered / next / missing so a resumed session starts at the ledger's
nextrange. - Record source_state as one of: metadata_only, page_count_observed, range_text_observed, full_text_observed, unknown_or_missing.
Handoff policy:
Keep document reading in Hermes: read_file, the built-in pdf skill scripts, delegate_task range children, and vision_analyze for scanned pages. Route file export to materials-package, paper tutoring to paper-learning, and source acquisition to source-finder.
Required inputs:
- document path or attachment reference
- reading goal: full summary, clause or section lookup, obligations, or a question to answer
- page count and scanned-page flags when observed
- read budget when the host differs from the 100,000-character default
- output language when different from the source
Expert clarification questions:
reading goal: full summary, clause or section lookup, obligations, or a question to answer- English: What should the reading produce: a full summary, specific clauses or sections, obligations and dates, or an answer to one question?
- Korean: 이 문서를 읽어서 무엇을 만들어야 하나요: 전체 요약, 특정 조항이나 섹션, 의무와 기한 목록, 아니면 한 가지 질문의 답인가요?
page count and scanned-page flags when observed- English: How many pages does the document have, and did the page scan report scanned or image-only pages?
- Korean: 문서는 몇 페이지이고, 페이지 검사에서 스캔본이나 이미지 전용 페이지가 보고되었나요?
Expected outputs:
- long_document_card/v1
- page count and source_state boundary
- page-range plan sized to the read budget
- chunk ledger with covered / next / missing page anchors
- per-range notes merged in page order
- scanned-range decisions and not-observed list
Artifact expectations:
- long_document_card/v1 metadata-only wrapper card when recorded
Safety rules:
- Do not claim the whole document was read: only ranges the ledger marks covered are read, and a compacted context drops what the ledger did not anchor to a page.
- Do not read a document past the budget in one call and summarize the truncation; a truncated
read_fileresult is one range, not the document. - Scanned or image-only ranges are missing until a per-page
vision_analyzepass or hosted OCR is observed; declining an unneeded scanned range is a recorded decision, not silent loss. - Delegated range children read and note; the parent merges and answers. A child's note is not proof its range was fully readable until its own missing-page list is empty.
- Page anchors come from
pdf_read.pyorextract_pymupdf.py --pages, never from guessing a page off aread_fileline offset; the ledger records the estimate as an estimate. - Never export, convert, or package the document as a side effect of reading it; that is
materials-packagework the user asks for separately.
Long Document Reading Protocol
Every command below runs through the terminal tool from Hermes' built-in pdf skill. On current Hermes main all four scripts sit in skills/productivity/pdf/scripts/ (the ocr-and-documents skill was merged into it); on older Hermes trees extract_pymupdf.py and extract_marker.py live in skills/productivity/ocr-and-documents/scripts/ instead. Locate the directory with skills_list or search_files before the first run. Outputs differ per script: pdf_read.py, pdf_split.py, and pdf_page_image.py print JSON; extract_pymupdf.py prints plain text with --- Page N/M --- separators (JSON only with --metadata); and pdf_page_image.py exits 0 with {"rendered": false, "missing": [...]} when no rasterizer is installed, so read rendered before trusting a render. Measured Hermes limits are in references/hermes-pdf-limits.md.
- Scope. Confirm the path and the reading goal (full summary, clauses or sections, obligations and dates, or one question). If the goal is one lookup, search the extracted text for it instead of reading every range.
- Probe. Run
python pdf_read.py <file> --metafor the page count, encrypted flag, and scanned flag. Each script names its own missing dependency (pdfplumberhere,pypdfforpdf_split.py,pymupdfforextract_pymupdf.py,pypdfium2or popplerpdftoppmforpdf_page_image.py); install the one named withpip installonce, rerun, and say you installed it. For an encrypted file ask for the password (--password) or stop. - Plan. At about 1,600 characters per page one
read_filecall (100,000 characters) holds about 60 pages, so split the page count into ranges of 60 pages. A document under 60 pages of prose is one read; answer directly. Record the plan as the chunk ledger: one row per range withpages,offset,chars, andstate(covered,next,missing). - Extract with page anchors. For each range run
python extract_pymupdf.py <file> --pages <start0>-<end0>(0-indexed; plain text with a--- Page N/M ---line before each page, which is the page anchor to keep) orpython pdf_split.py <file> --pages <start>-<end> -o <range>.pdf(1-based, JSON) followed byread_fileon the split file. Never read the whole file withread_fileand paginate byoffset: every call re-converts the entire document, and the extraction has no page numbers. If a range read truncates, halve the range, record the observed characters per page, and re-plan the remaining rows. - Delegate above 4 ranges. Send each range to a
delegate_taskchild with this brief, unchanged except for the page numbers, then merge the notes in page order keeping every page anchor:Read pages <start>-<end> only. Return: page-anchored key points, every defined term or obligation with its page, open questions, and the exact pages you could not read. Do not summarize pages outside this range.A child that returns no missing-page list has not proven its range was readable. - Close every range. After each range write covered / next / missing into the ledger before moving on, so a compacted or resumed session rereads the ledger and continues from
nextinstead of page 1. Say done only when every row is covered and every scanned range is read or declined. - Scanned ranges. The
read_filecoverage warning names page ranges that yielded no text. For the few pages the goal needs, runpython pdf_page_image.py <file> --pages <n> --out-dir <dir>andvision_analyzeone page per call; the script exits 0 either way, so a result with"rendered": falsemeans no rasterizer (pypdfium2or popplerpdftoppm) is installed and nothing was rendered. Hosted OCR is not a knob to turn on:read_fileuses it by itself whenFIRECRAWL_API_KEYis set (file_tools.hosted_ocr: falseturns it off), and its NEEDS OCR notice says whether it was attempted. For bulk OCR of a large range the coverage warning points at marker-pdf,extract_marker.pyfrom the same skill, a multi-gigabyte install that needs its own approval. Decline ranges the goal does not need and record the decision: a 300-page scan at one vision call per page is a separate approved job, not a side effect of a summary.
Runtime Evidence
Preferred harness for this skill: long-document-reading.
omh runtime record --skill long-document-reading --harness long-document-reading --status startedRecord observed delegation results; otherwise return not_available or not_observed.
Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.
- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. Preserve workflow intent and stop conditions; verify before claiming completion. Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a stop condition or a decision the user owns ends the turn, offer the next action as a question rather than declaring what will not be done.
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.
Shared product, compatibility, topology, memory, harness, and execution rules: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

