Skip to content
cccskills
FreePublished on GitHub

url

Fetch and extract text from web URLs

The English summary is being prepared. Showing the original description.

See how to install

Files included (4)

  • SKILL.md1.5 KB
  • requirements.txt90 B
  • scripts/__init__.py0 B
  • scripts/main.py5.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

URL Skill

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).

Setup

pip install httpx beautifulsoup4

# Optional — needed only if you ingest PDF URLs:
pip install pypdf pdfminer.six

Standalone usage

import 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 429. Catch it to log and skip the domain:

from synthadoc.skills.base import DomainBlockedException

try:
    result = await skill.extract(url)
except DomainBlockedException as e:
    print(f"Blocked: {e.domain} (HTTP {e.status_code})")

When this skill is used

  • Source starts with https:// or http://
  • User intent contains: fetch url, web page, website

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

docx

Free

Extract text from Microsoft Word documents

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

image

Free

Extract text from images using a vision LLM

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

Ingest Markdown and plain text files

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

pdf

Free

Extract text from PDF documents

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

pptx

Free

Extract text from Microsoft PowerPoint presentations

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

Extract conversation turns from AI session history files (.jsonl)

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 21, 2026

See all skills by axoviq-ai

Report a problem with this skill