scoped-fetch

scoped-fetch is a skill for Claude Code, Codex from praveenc/llmstxt-doc-search. It costs 88 tokens per session (398 once invoked), scanned A, original, MIT.

A guide for fetching documentation pages through a restricted documentation reader. The reader accepts public pages covered by a registered llms.txt source, rather than arbitrary web addresses.

In plain words
What is it for?
Use it to check whether a documentation URL is allowed, search a registered source first, or direct other web pages to a general fetch tool when available.
Why use it?
It explains why a URL may be rejected and how to find or register an allowed documentation source before fetching it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check whether a documentation URL is allowed, search a registered source first, or direct other web pages to a general fetch tool when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/praveenc/llmstxt-doc-search/scoped-fetch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add praveenc/llmstxt-doc-search --skill scoped-fetch
Clone the repo
git clone --depth 1 https://github.com/praveenc/llmstxt-doc-search

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scoped-fetch

README.md
[![agentmods](https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/scoped-fetch/github.svg)](https://agentmods.dev/skills/praveenc/llmstxt-doc-search/scoped-fetch)
Your own site
<a href="https://agentmods.dev/skills/praveenc/llmstxt-doc-search/scoped-fetch"><img src="https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/scoped-fetch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scoped-fetch

Your own site · 80×15
<a href="https://agentmods.dev/skills/praveenc/llmstxt-doc-search/scoped-fetch"><img src="https://agentmods.dev/badge/skills/praveenc/llmstxt-doc-search/scoped-fetch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.00398
Opus 5.5 $0.00035 $0.00159
Sonnet 5.5 $0.00018 $0.00080
Haiku 4.5 $0.00009 $0.00040

Measured today against content hash 8ccba3064257, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scoped-fetch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scoped-fetch/SKILL.md · 27 lines

What it actually says

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.txt covers pages under https://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_source or refresh_doc_source.
  • Only public http and https URLs. 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.

  1. 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.
  2. If the site publishes an llms.txt, add it with add_doc_source(name, llms_txt_url) (see manage-sources), then search and fetch.
  3. For any other web page, use the fetchv2 MCP server if it is available: fetch for one URL, fetch_batch for several. If no general fetch server is available, tell the user this server cannot read that page.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 27 lines · 88 tokens per session scan A 8ccba3064257

Subscribe to this mod's changes

scoped-fetch is a skill published in the GitHub repository praveenc/llmstxt-doc-search (0 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 398 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.

Related

scoped-fetch compared with skills from other repositories

scoped-fetch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scoped-fetchpraveenc/llmstxt-doc-searchSkill0todayMITA88Claude Code, Codex
mindos-viewsGeminiLight/MindOSSkill70921d agoMITA60Claude Code, Codex
mindosGeminiLight/MindOSSkill70921d agoMITA157Claude Code, Codex
context-budgetcoco-research/cocoSkill323yesterdayApache-2.0A49Claude Code, Codex
geo-content-planningonvoyage-ai/gtm-engineer-skillsSkill1.4k1mo agoMITA52Claude Code, Codex
laravel-audit-securityMrPunyapal/laravel-auditorSkill855d agoMITA52Claude Code, Codex
laravel-audit-databaseMrPunyapal/laravel-auditorSkill855d agoMITA33Claude Code, Codex