research-fallback-robust
What it does
This skill gives the AI agent a plan for research tasks when the search or page tools fail. It is for people who still need an answer when the internet tools are not working.
When to use it
- ✓When the search tool returns an unknown error twice in a row.
- ✓When a page cannot be read and network errors continue after a retry or two.
- ✓When you need the task finished and can accept an answer based on the AI's own knowledge.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/research-fallback-enhanced/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Research the current market for home water filters. The search tool keeps giving unknown errors.”
5 new skills a week. 1 minute to read.
How it works
The agent tries the search and page tools first. After one or two failed attempts, it stops retrying, says that outside research was not possible, and answers from its own knowledge with a clear note about the limits.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Research Fallback Workflow
This skill provides a workflow for handling tasks that require external research when web search or webpage reading tools fail due to network issues or tool unavailability.
When to Use
- Task requires external research (legal analysis, market research, technical documentation, anatomical/medical information, etc.)
- Web search or webpage reading tools are failing or unavailable
- You have sufficient internal knowledge to proceed with reasonable accuracy
- Task completion is prioritized over perfect external sourcing
Workflow Steps
Step 1: Attempt External Research First
Begin by attempting to use available web research tools:
1. Use search_web for current information, statistics, or recent developments
2. Use read_webpage for detailed source material when URLs are provided
3. Document what you attempted to find
Step 2: Detect Tool Failure
Recognize when to pivot — including explicit error patterns:
- Web search returns errors, timeouts, or empty results
unknown errorfrom search_web — immediately recognize this as a tool failure trigger (do not retry excessively)- Page extraction fails repeatedly
- Network errors persist after 1-2 retry attempts
- Tool explicitly reports unavailability
Do not spend excessive time retrying failed tools. After 1-2 attempts with unknown error or similar failures, proceed to Step 3.
Step 3: Pivot to Internal Knowledge
When external tools fail:
- Acknowledge the limitation: Note that external research was attempted but tools were unavailable
- Assess internal knowledge: Determine what you know from training that covers the topic
- Identify gaps: Be transparent about what information may be dated or unavailable
- Proceed with available knowledge: Generate content using internal understanding
Step 4: Generate Content with Appropriate Disclaimers
When producing deliverables:
- Include a note that external verification is recommended for time-sensitive information
- Flag any claims that would benefit from current source verification
- Focus on established principles, frameworks, and well-documented facts
- Avoid making specific claims about very recent events or statistics
Step 5: Complete File Creation
Proceed with the original task deliverable:
- Create the requested file format (PDF, DOCX, markdown, etc.)
- Ensure content meets quality standards despite the research limitation
- Stay within any specified constraints (page limits, word counts, etc.)
Example Decision Flow
Task requires research on [TOPIC]
|
v
Attempt search_web / read_webpage
|
+----+----+
| |
Success Failure (after 1-2 attempts)
| |
| | **Note: `unknown error` = immediate pivot signal**
v v
Use sources Pivot to internal knowledge
| |
+----+----+
|
v
Generate content with appropriate disclaimers
|
v
Create deliverable file
Best Practices
- Recognize error patterns quickly:
unknown errorfrom search_web is a clear signal to pivot, not a reason for extended retries - Be transparent: Clearly note when external verification wasn't possible
- Prioritize accuracy: Only assert what you're confident about from training
- Flag uncertainties: Mark areas where current sources would be valuable
- Don't block progress: Tool failures shouldn't prevent task completion
- Maintain quality: Internal knowledge can still produce high-quality, useful content
- Leverage stable knowledge domains: Anatomical, medical, legal, and technical fundamentals from training are reliable even without external verification
Example Applications
Example 1: Legal Memo
Task: Create legal memo on privacy law violations
Workflow:
- Attempt search_web for recent COPPA enforcement cases →
unknown error - Attempt read_webpage on provided URLs → Connection timeout
- Pivot: Use internal knowledge of COPPA requirements, California privacy laws, established case law principles
- Generate memo with note that recent case citations should be verified
- Create PDF deliverable within page limits
Outcome: Comprehensive memo produced despite tool failures, with appropriate disclaimers about verification.
Example 2: Anatomical/Medical Content
Task: Create proposal with anatomical utilization analysis and procedure capacity e
FAQ
How many times does the agent retry?
The skill says to try once or twice, then stop, so it does not waste time on failing tools.
Will the answer say that search failed?
Yes, the skill asks the agent to acknowledge the limitation in the answer.
Is the answer as reliable as a fresh web search?
The skill admits it may be less current, so check any recent facts against a live source.
Details
Original description by the author
Handle web research failures with explicit error recognition and domain-specific fallback strategies
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #12971
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
agentpilot
7.8kHelps your agent improve a project step by step by preparing a task and running the AgentPilot loop that proposes, tests and scores changes.
openspace
7.8kHelps your agent set up OpenSpace, a tool that stores and fetches agent skills, and connect it to your AI app through MCP.
rsi-arena
7.8kHelps your agent set up and run standard AI benchmark tests, such as AIME and Terminal-Bench, to compare different improvement methods.
experiment-guide
7.8kHelps your agent plan small experiments, read their results and record findings while it investigates how to improve a program.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.