askill
agent-fetch

agent-fetchSafety 90Repository

Fetch and extract full article content from URLs. Returns complete text with structure (headings, links, lists) instead of summaries. 7 extraction strategies, browser impersonation, 200-700ms.

7 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

agent-fetch Skill

A better web fetch for text content. Your built-in web fetch summarizes or truncates pages. agent-fetch extracts the complete article — every paragraph, heading, and link — using 7 extraction strategies and browser impersonation. No server required, runs as a local CLI tool.

When to Use This Skill

Use agent-fetch whenever you need to read a URL. It returns full article text with structure preserved — better than your built-in web fetch for any task involving page content.

  • User asks to read, fetch, or analyze a URL
  • User types /agent-fetch <url>
  • You need the full text, not a summary or truncation
  • Your built-in web fetch returned incomplete or garbled content

Prerequisites

agent-fetch runs via npx (no install needed):

npx agent-fetch --help

Commands

/agent-fetch <url> - Fetch and Extract Article

Default usage. Fetches URL with browser impersonation and extracts complete article content as markdown.

npx agent-fetch "<url>" --json

Parse the JSON output and present to the user:

---
title: {title}
author: {byline || "Unknown"}
source: {siteName}
url: {url}
date: {publishedTime || "Unknown"}
fetched_in: {latencyMs}ms
---

## {markdown || textContent}

{markdown || textContent}

If fetch fails, check suggestedAction in the JSON:

suggestedActionWhat it meansNext action
retry_with_extractNeeds full browserInform user; agent-fetch is HTTP-only
wait_and_retryRate limitedWait 60s and retry
skipCannot access this siteInform user

/agent-fetch raw <url> - Raw HTML

Fetch raw HTML without extraction.

npx agent-fetch "<url>" --raw

/agent-fetch quiet <url> - Markdown Only

Just the article markdown, no metadata.

npx agent-fetch "<url>" -q

/agent-fetch text <url> - Plain Text Only

Plain text content without formatting or metadata.

npx agent-fetch "<url>" --text

Why agent-fetch Extracts More

agent-fetch runs 7 extraction strategies in parallel and picks the most complete result:

StrategyWhat it does
ReadabilityMozilla's Reader View algorithm (strict + relaxed)
Text densityStatistical text-to-tag ratio analysis (CETD)
JSON-LDParses schema.org structured data
Next.jsExtracts from page props (__NEXT_DATA__)
React Server ComponentsParses streaming RSC payloads
WordPress REST APIFetches via /wp-json/wp/v2/ endpoints
CSS selectorsProbes semantic containers (<article>, .post-content)

The longest valid result wins. Metadata (author, date, site name) is composed from the best source across all strategies.

agent-fetch vs Built-in Web Fetch

agent-fetchBuilt-in web fetch
ContentFull article textSummary/truncation
StructureMarkdown with headings, links, listsPlain text
MetadataTitle, author, date, site nameNone
Extraction7 strategies (best result wins)Basic parse
TLS fingerprintingBrowser impersonation via httpcloakBasic headers
Speed200-700ms2-5s
Install neededYes (npm)No (built-in)
JavaScriptNoYes

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/13/2026

An excellent, highly actionable skill that provides a robust web-fetching utility. It features clear triggers, specific CLI commands, detailed output handling instructions, and error mitigation strategies, making it immediately useful for an agent.

90
95
90
95
95

Metadata

Licenseunknown
Version-
Updated2/8/2026
PublisherNeverSight

Tags

api