Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fetch and extract text from web URLs
.claude/skills/axoviq-ai-url/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 113% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -83% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 107% | 0% |
Fetches a web URL using httpx, strips navigation/script/style tags with BeautifulSoup, and returns clean body text. PDF URLs are extracted with pypdf (primary) and pdfminer.six (fallback).
bashpip install httpx beautifulsoup4 # Optional — needed only if you ingest PDF URLs: pip install pypdf pdfminer.six
pythonimport asyncio from synthadoc.skills.url.scripts.main import UrlSkill skill = UrlSkill() async def main(): result = await skill.extract("https://example.com/article") print(result.text) # clean body text print(result.metadata) # {"url": "https://..."} asyncio.run(main())
DomainBlockedException is raised when the site returns HTTP 401, 403, or
pythonfrom synthadoc.skills.base import DomainBlockedException try: result = await skill.extract(url) except DomainBlockedException as e: print(f"Blocked: {e.domain} (HTTP {e.status_code})")
https:// or http://fetch url, web page, websiteOther measured skills in the registry, with their headline benchmark lift.