Agent skill · Backend & API

web-search-fallback

Autonomous agent-based web search fallback for when WebSearch API fails or hits limits

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill web-search-fallback-bejranonda-llm-autonomous-agent-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/agent/web-search-fallback-bejranonda-llm-autonomous-agent-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Web Search Fallback Skill ## Overview Provides robust web search capabilities using the **autonomous agent approach** (Task tool with general-purpose agent) when the built-in WebSearch tool fails, errors, or hits usage limits. This method has been tested and proven to work reliably where HTML scraping fails. ## When to Apply - WebSearch returns validation or tool errors - You hit daily or session usage limits - WebSearch shows "Did 0 searches" - You need guaranteed search results - HTML scraping methods fail due to bot protection ## Working Implementation (TESTED & VERIFIED) ### ✅ Method 1: Autonomous Agent Research (MOST RELIABLE) ```python # Use Task tool with general-purpose agent Task( subagent_type='general-purpose', prompt='Research AI 2025 trends and provide comprehensive information about the latest developments, predictions, and key technologies' ) ``` **Why it works:** - Has access to multiple data sources - Robust search capabilities built-in - Not affected by HTML structure changes - Bypasses bot protection issues ### ✅ Method 2: WebSearch Tool (When Available) ```python # Use official WebSearch when not rate-limited WebSearch("AI trends 2025") ``` **Status:** Works b

What's inside
Steps it walks through
  1. Overview
  2. When to Apply
  3. Working Implementation (TESTED & VERIFIED)
  4. ✅ Method 1: Autonomous Agent Research (MOST RELIABLE)
  5. ✅ Method 2: WebSearch Tool (When Available)
  6. ❌ BROKEN Methods (DO NOT USE)
  7. Why HTML Scraping No Longer Works
  8. Recommended Fallback Strategy
  9. Implementation for Agents
  10. In Your Agent Code
  11. Example Usage
  12. Why Autonomous Agents Work
  13. Migration Guide
  14. Old (Broken) Approach
Ships with 1 file
  • metadata.json
Commands it runs
This no longer works
curl "https://html.duckduckgo.com/html/?q=query" | grep 'result__a'
More from claude-skill-registry
All skills →
About this skill
What does the web-search-fallback skill do?

Autonomous agent-based web search fallback for when WebSearch API fails or hits limits

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill web-search-fallback-bejranonda-llm-autonomous-agent-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going