Pull just the API reference section you need from a giant doc site
When to use: AWS SDK docs are 200 pages and Claude wants to fetch them all.
Prerequisites
- Doc URL or local doc tree — First call: index the doc; subsequent calls hit the cache
Flow
-
IndexUse jdocmunch. Index the AWS S3 SDK docs at the URL. Show me top-level sections.✓ Copied→ TOC tree returned, no full content yet
-
DrillShow only the section on multipart upload — code samples included, intro skipped.✓ Copied→ Targeted section content
-
FollowNow follow the link to 'Aborting incomplete uploads' from that section.✓ Copied→ Linked section pulled
Outcome: Answer in 2k tokens instead of 80k.
Pitfalls
- Doc structure has weird anchors (PDF-only) — Pre-convert to Markdown first; jdocmunch parses Markdown best