scoped-fetch
Skill0 starsChanged 4 days agoMITView on GitHub
Explains which URLs fetch_doc can read and what to do with other web pages. Use when fetch_doc rejects a URL, or when the user gives a link that is not from a registered llms.txt documentation source. Do not use to search the web, or to read a page when a general fetch tool such as fetchv2 fetch is already available (call that tool directly). This skill fetches nothing itself.
In this repository2 other files it gives its agents.
- docs-lookupSkill
- manage-sourcesSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Only public http and https URLs.
- Very specific: line 23
If the page belongs to a registered source, run search_docs on that source first, then retry fetch_doc with a url from the results.
- Very specific: line 24
If the site publishes an llms.txt, add it with add_doc_source(name, llms_txt_url) (see manage-sources), then search and fetch.
- Distinctive: line 26
If no general fetch server is available, tell the user this server cannot read that page.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scoped fetch
fetch_doc(url) only reads documentation that a registered llms.txt source covers.
There is no arbitrary web fetch in this server.
What fetch_doc accepts
- A URL under the llms.txt directory of a registered source.
For example, a source at
https://docs.aws.amazon.com/bedrock/latest/userguide/llms.txtcovers pages underhttps://docs.aws.amazon.com/bedrock/latest/userguide/. - A URL listed in a source's llms.txt, even on another host, once that source has been indexed by
search_docs,add_doc_sourceorrefresh_doc_source. - Only public
httpandhttpsURLs. Private and reserved network addresses are always blocked.
When fetch_doc rejects a URL
The error says the URL is not under or listed by any registered source.
- If the page belongs to a registered source, run
search_docson that source first, then retryfetch_docwith aurlfrom the results. - If the site publishes an llms.txt, add it with
add_doc_source(name, llms_txt_url)(seemanage-sources), then search and fetch. - For any other web page, use the fetchv2 MCP server if it is available:
fetchfor one URL,fetch_batchfor several. If no general fetch server is available, tell the user this server cannot read that page.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

