{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dondai44423-donsetch--cut-long-pages-to-needed-sections",
 "repo": "dondai44423/donsetch",
 "repo_url": "https://github.com/dondai44423/donsetch",
 "repo_slug": "dondai44423-donsetch",
 "title": "Read only the needed part of long web pages",
 "page_title": "How to read only the needed part of long web pages with Donsetch",
 "summary": "Use DonSeTch's token controls so an agent pulls a table of contents or one section, not the whole page.",
 "who": "An agent builder whose agent runs out of context when it reads long documentation or reports.",
 "problem": "Full page text fills the context window and wastes tokens on content the agent does not need.",
 "outcome": "The agent reads a table of contents, then fetches one section or a focused slice, and references search results by short tokens.",
 "steps": [
  "Run `npm install -g donsetch`",
  "Register the server in your agent's MCP config with the command `donsetch` and args `[\"mcp\", \"--supervised\"]`",
  "Call the fetch tool on the target URL with the toc option to list its sections",
  "Call the fetch tool again with the section or focus option for the part you need",
  "Use `fetch S3`-style references to fetch a search result by its short token"
 ],
 "agent_prompt": "Using the donsetch MCP server, fetch the table of contents of <URL>, then fetch only the section about <topic>. Return the section text and confirm the response is shorter than the full page.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The toc, section and focus options are named in the README, so confirm their exact parameter names in the tool schema before relying on them.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "rust",
 "requirements": [
  "npm or Homebrew to install the binary",
  "An MCP-capable client such as Claude Code or Cursor, or the standalone CLI",
  "Network access to the sites you want to read",
  "Optional: a Chromium, Playwright-cached Chromium or Edge build for tier-2 browser escalation"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dondai44423-donsetch/cut-long-pages-to-needed-sections/",
 "md": "https://dedupedai.com/use-cases/dondai44423-donsetch/cut-long-pages-to-needed-sections/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/dondai44423-donsetch--cut-long-pages-to-needed-sections.json",
 "api_version": "v1"
}
