do-web-doc-resolver

do-web-doc-resolver is a skill for Claude Code from d-o-hub/github-template-ai-agents. It costs 94 tokens per session (1,715 once invoked), scanned A, original, MIT.

A Python tool that turns web addresses and search questions into short, structured Markdown for AI agents.

In plain words
What is it for?
Use it to retrieve documentation, search technical information, prepare web-based context, check content format, and inspect how a result was found.
Why use it?
It reduces the work of finding, fetching, and cleaning documentation or other web content. It can try several sources when one is unavailable.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to retrieve documentation, search technical information, prepare web-based context, check content format, and inspect how a result was found.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver
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 d-o-hub/github-template-ai-agents --skill do-web-doc-resolver
Clone the repo
git clone --depth 1 https://github.com/d-o-hub/github-template-ai-agents

Made for: Claude Code.

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 do-web-doc-resolver

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver/github.svg)](https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver)
Your own site
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver/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 do-web-doc-resolver

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/do-web-doc-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,715 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.00094 $0.01715
Opus 5.5 $0.00038 $0.00686
Sonnet 5.5 $0.00019 $0.00343
Haiku 4.5 $0.00009 $0.00171

Measured 4d ago against content hash 94244da4770f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

do-web-doc-resolver 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 4d ago.

The scan reads SKILL.md. This mod also ships 47 executable files (__init__.py, __main__.py, scripts/__init__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/do-web-doc-resolver/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Doc Resolver Skill

Resolve URLs and queries into compact, LLM-ready markdown using a progressive, free-first cascade with 2026 production patterns.

When to Use

  • Fetch and parse documentation from a URL
  • Search for technical information across the web
  • Build context from web sources for AI agents
  • Validate content against agent-docs-spec v0.3.0
  • Trace resolution trajectories for debugging

Prerequisites

  • Python 3.10+ in an isolated virtual environment.
  • From the skill directory, run python -m pip install . to install the base package and dependencies declared in pyproject.toml before the quick start.
  • Install provider, ML, or database extras only for the features that need them; text resolution does not require the optional visual/ML stack.

Quick Start

python -m scripts.cli "https://docs.rust-lang.org/book/"
python -m scripts.cli "Rust async programming" --profile quality --json

Cascade Strategy

URL: Cache → llms.txt → Jina → Direct Fetch → Firecrawl → Mistral Browser → DuckDuckGo

Query: Cache → Exa MCP → Exa SDK → Tavily → Serper → DuckDuckGo → Mistral Web Search

Providers (12 total)

Provider Type Free Latency
llms_txt URL Yes ~100ms
jina URL Yes ~300-1500ms
exa_mcp Query Yes Varies
duckduckgo Query Yes ~2s
direct_fetch URL Yes ~500ms
exa, tavily, serper Query No ~1s
firecrawl, mistral_* URL/Query No ~2-3s
docling, ocr URL No ~3-5s

Execution Profiles

Profile Attempts Paid Latency Quality
free 3 0 6s 0.70
fast 2 1 4s 0.60
balanced 4-6 1-2 9-12s 0.65
quality 6-10 3-5 15-20s 0.55

Key Features

Structured Tool Contracts: Every provider returns ProviderResult(ok, content, error, meta) with ProviderMeta(tool, duration_ms, cache_hit, quality_score, error_type).

Read the full file on GitHub · 152 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +5 lines 94244da4770f
  2. 13d ago Changed · +8 lines d9651fd75649
  3. 1mo ago First seen · 139 lines · 94 tokens per session scan A cc5a2a8edd3a

Subscribe to this mod's changes

do-web-doc-resolver is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,715 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-08-31.