Skill: Advanced Web Research via Jina Reader (r.jina.ai)
1. Core Function
Use Jina Reader to convert complex URLs, PDFs, and JS-heavy sites (like Notion, LinkedIn, Twitter) into clean, LLM-friendly Markdown.
2. Usage Patterns
- Basic: Prepend
https://r.jina.ai/to any URL. - Search: Use
https://s.jina.ai/?q=YOUR_QUERYto get a summarized web search result. - PDF: Prepend the prefix to a direct PDF link for high-quality text extraction.
3. Optimization Headers (for tool calls)
When making a web request, consider these headers to save tokens and improve quality:
X-Target-Selector: Specify a CSS selector (e.g.,article,.main-content) to retrieve ONLY the relevant part.X-With-Generated-Alt: Set totrueto get AI-generated descriptions for images.X-With-Links-Summary: Set totrueto get a list of all links at the end of the document (useful for multi-step crawling).X-Return-Format: Default ismarkdown. Usetextfor even more token savings if formatting isn't needed.
4. When to use Jina instead of standard tools:
- The site is a Single Page Application (SPA) or requires JavaScript.
- The site is behind a soft paywall or has aggressive anti-bot measures.
- The page is extremely long/noisy (Jina's cleaning is superior).
- You need to "read" a PDF from a URL.
- You need to see descriptions of images/charts on the page.
5. Implementation Note
If a standard read_web_page call fails or returns "JS required" / "Captcha", immediately retry using the https://r.jina.ai/ prefix.