{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "opendatalab-mineru--let-an-agent-read-long-documents-page-by-page",
 "repo": "opendatalab/MinerU",
 "repo_url": "https://github.com/opendatalab/MinerU",
 "repo_slug": "opendatalab-mineru",
 "title": "Let your agent read long documents page by page",
 "page_title": "How to let your agent read long documents page by page with MinerU",
 "summary": "Install the MinerU skill so an agent parses a file, reads it in chunks and keeps stable citation locators.",
 "who": "A Claude Code or Codex user asking questions about a 300 page contract or book.",
 "problem": "Dumping a whole long document into context overflows it, and answers come without page references.",
 "outcome": "An agent that reads progressively, follows continuation locators and cites the page and block it used.",
 "steps": [
  "Send your agent the README's install message, which starts with `npx skills add opendatalab/MinerU --skill mineru --global --yes`",
  "Ask it to read a file; it starts with `mineru parse document.pdf --json`, which covers the first 10 PDF pages",
  "Let it continue with the returned locators instead of re-parsing the whole file",
  "Ask it to keep the doc, tier, page and block locators in its answers so every claim is traceable",
  "Expect it to ask before using remote parsing, adding watches or changing persistent config, as the Agent Contract requires"
 ],
 "agent_prompt": "Install the opendatalab/MinerU skill, then read <document> progressively with mineru parse and the returned locators. Answer <question> and cite the page and block locator for every claim.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "The skill install message also asks the agent to record a global preference for MinerU, so read it before sending if you do not want that.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 to 3.14 in a virtual environment",
  "Windows, Linux or macOS; CPU works, compatible GPUs are used automatically",
  "Model downloads for the tier you choose",
  "Optional: Node.js for npx to install the agent skill"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/opendatalab-mineru/let-an-agent-read-long-documents-page-by-page/",
 "md": "https://dedupedai.com/use-cases/opendatalab-mineru/let-an-agent-read-long-documents-page-by-page/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/opendatalab-mineru--let-an-agent-read-long-documents-page-by-page.json",
 "api_version": "v1"
}
