# Web Fallback

> Fetch web content with automatic fallback from WebFetch to WebSearch

- Skill: `majiayu000/web-fallback` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/web-fallback`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/web-fallback/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/web-fallback

---


# /web-fallback — Resilient Web Content Retrieval

When you need information from a URL but WebFetch might fail (auth walls, rate limits, blocked hosts), use this fallback chain.

## Usage

User provides: `/web-fallback <url> <what to find>`

## Fallback Chain

### Step 1: Try WebFetch
```
WebFetch(url=<url>, prompt=<what to find>)
```

If successful → return results.

### Step 2: Try WebSearch
If WebFetch fails (redirect, auth wall, timeout):
```
WebSearch(query="<domain> <what to find>")
```

Extract relevant results and summarize.

### Step 3: Try Cached/Alternative Sources
If WebSearch also fails:
- Check if a cached version exists: `WebFetch(url="https://webcache.googleusercontent.com/search?q=cache:<url>")`
- Try archive.org: `WebFetch(url="https://web.archive.org/web/<url>")`
- Search for the same content on alternative domains

### Step 4: Report Failure
If all steps fail, report:
- Which steps were tried
- Error messages from each
- Suggest the user try manually or provide the content via clipboard

## Notes
- Always report which fallback level succeeded
- For GitHub URLs, prefer `gh` CLI instead of WebFetch
- For npm package docs, prefer context7 MCP instead
- Rate limit: don't retry the same URL more than twice

