web-fetch
БесплатноБез исполняемых скриптовНе проверенFetch and extract one public web source, optionally restrict its hosts, and return the content by digest with full provenance.
от runxhq★ 106 звёзд на GitHubОб этом скилле
Web Fetch
Fetch one URL, prove it was allowed, extract the part the caller asked for, and return that slice by digest with the provenance needed to trust it later.
What this skill does
web-fetch retrieves a single public URL,
extracts text, metadata, links, or a JSON document, and seals the result so a downstream step can
cite the fetch without re-fetching. It checks the final host against the
effective host policy before and after redirects, reads the page whole, and returns
the final URL, the HTTP status, a content_digest over the retrieved body, the
extracted slice, and a provenance block recording when it ran, every redirect
hop, and how many bytes it read. The digest identifies the original response body; the selected extraction is
returned in the native result. A digest alone is not a stored-body locator.
This is the primitive an agent reaches for when it has already decided which page
to read. The decision it makes easier is "can I read this page, and what did it
actually say", with the answer backed by a digest instead of a remembered
paraphrase. The calling agent decides which sources matter and synthesizes
across them; web-fetch retrieves exactly one source. By default it may follow
that source across any publicly routable host. Supply allowlist only when the
operator needs to narrow the initial request and every redirect to named hosts.
The built-in operation declares zero provider cost: it makes an unauthenticated local GET and never performs payment or metered provider dispatch. Host/network failures still need real transport evidence; they are not fetched content.
The request path is native Runx code. Skills do not supply a JavaScript HTTP client: the runtime owns public-network enforcement, redirect admission, timeouts, retries, the operator's page ceiling, response digests, and receipt-safe evidence.
When to use this skill
- An agent has chosen a specific page and needs its content bound to a
content_digestso a later step can cite it without re-fetching. - A research pass needs each source retrieved through one bounded public-network fetch with a complete redirect chain and byte count.
- A review must later prove what a page said at fetch time.
- A follow-on governed operation needs one source extracted as
text,metadata, orlinks.
When not to use this skill
- To judge, rank, or synthesize across sources. That remains caller reasoning;
web-fetchretrieves exactly one source and refuses to reason over many. - To reach a private, loopback, link-local, or otherwise non-public address.
- To reach a host outside an explicitly supplied
allowlist, including a host reached only through a redirect. - To write anything. The only scope is
web.read; there is no repo, file, wallet, or send authority here. - To archive an original response body for later retrieval.
content_digestidentifies the bytes read; this operation returns the selected extraction and does not promise a separately retrievable raw-body artifact. - To carry credentials, cookies, or custom authorization headers. Use the appropriate authenticated provider capability for those reads.
Procedure
- Require
urlat method preflight. A missing target fails before the workflow starts with the exact missing input. - Use
allowlist: ["*"]when the caller omits it, meaning any publicly routable host. A caller-supplied allowlist narrows that default. Match the URL host against the effective allowlist. On a miss, returnpolicy_deniedbefore any network call, recording the attempted host and the allowlist it was checked against. - Fetch, following redirects, re-checking each redirect target's host against
the same
allowlist. A redirect that lands off-allowlist halts the fetch, fails withpolicy_deniednaming the hop that failed. The page is read whole: a page larger than the operator's ceiling (RUNX_WEB_READ_MAX_BYTES, 64 MiB by default) fails withresponse_too_largeinstead of being cut. - Compute
content_digestover the retrieved body. - Extract per
extract:text(readable body text, default),metadata(title, description, canonical, declared language, content type),links(absolute hrefs found in the document), orjson(the body as one JSON document). - Return the
provider_operationpacket whose result holds the final URL, status, digest, extracted slice, and provenance. A refused URL, a transport failure, or a non-2xx answer fails the step; no result stands for a page that was not read.
Edge cases and stop conditions
- Missing
url: fail method preflight; do not start or seal an empty fetch. - Omitted
allowlist: use["*"]; private-network protection still applies. - Host off the allowlist: stop with
policy_deniedbefore any network call; record the attempted host, not a response body (there is none). - Redirect off the allowlist: halt the fetch, return
policy_deniednamin
Установить web-fetch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-fetch?
Fetch and extract one public web source, optionally restrict its hosts, and return the content by digest with full provenance.
Как установить скилл web-fetch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-fetch запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic