web-fetch
Original:🇺🇸 English
Translated
3 scripts
Fetch and parse web content. Extract readable content, download files, scrape structured data from URLs. No API key required for basic functionality.
10installs
Added on
NPX Install
npx skill4agent add winsorllc/upgraded-carnival web-fetchTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Web Fetch Skill
Fetch and parse web content from URLs.
When to Use
✅ USE this skill when:
- "Fetch content from URL"
- "Download file from..."
- "Extract article text from..."
- "Get page title and description"
- "Scrape data from webpage"
When NOT to Use
❌ DON'T use this skill when:
- Interactive browser actions → use browser-tools
- Authenticated sessions → use browser-tools with profile
- JavaScript-heavy SPAs → use browser-tools
Commands
Fetch Content
bash
{baseDir}/fetch.sh "https://example.com"
{baseDir}/fetch.sh "https://example.com" --markdown
{baseDir}/fetch.sh "https://example.com" --jsonExtract Article
bash
{baseDir}/extract.sh "https://example.com/article"
{baseDir}/extract.sh "https://example.com/article" --format markdownDownload File
bash
{baseDir}/download.sh "https://example.com/file.pdf" --out /tmp/file.pdf
{baseDir}/download.sh "https://example.com/archive.zip" --out /tmp/archive.zipGet Page Metadata
bash
{baseDir}/metadata.sh "https://example.com"
{baseDir}/metadata.sh "https://example.com" --jsonExtract Links
bash
{baseDir}/links.sh "https://example.com"
{baseDir}/links.sh "https://example.com" --filter "blog"Extract Images
bash
{baseDir}/images.sh "https://example.com"
{baseDir}/images.sh "https://example.com" --download --out /tmp/images/Options
- : Output as markdown
--markdown - : Output as JSON
--json - : Plain text output
--text - : Timeout in seconds (default: 30)
--timeout N - : Custom user agent
--user-agent - : Output file path
--out <path>
Output Formats
Plain Text
Extract visible text from HTML, cleaned of scripts and styles.
Markdown
Convert HTML to markdown with proper formatting.
JSON
Structured output with title, content, metadata.
Examples
Get article content:
bash
{baseDir}/extract.sh "https://example.com/blog/post" --markdownDownload all PDFs from page:
bash
{baseDir}/links.sh "https://example.com" --filter ".pdf" | xargs -I {} download.sh "{}"Get page metadata:
bash
{baseDir}/metadata.sh "https://example.com" --json
# Output: {"title": "...", "description": "...", "og:image": "..."}Notes
- Respects robots.txt by default
- Rate limiting: 1 request per second by default
- Use to set custom user agent
--user-agent - For JavaScript-heavy pages, use browser-tools instead