research-fallback-robust
它能做什么
这项技能为搜索或网页工具失败时的调研任务提供了方案。它适合在互联网工具无法使用时仍需要答案的人。
适用场景
- ✓当搜索工具连续两次返回未知错误的时候。
- ✓当网页无法读取,并且在重试一两次后网络错误仍然持续的时候。
- ✓当你需要任务完成,并且可以接受基于 AI 自身知识的答案的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/research-fallback-enhanced/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请调研当前家用净水器的市场情况。搜索工具一直返回未知错误。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先尝试搜索和网页工具。在失败一两次后,它会停止重试,说明无法进行外部调研,并基于自身知识作答,同时清楚地注明局限性。
技术内容(原始 SKILL.md)
作者在 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
常见问题
智能体会重试几次?
这项技能要求尝试一到两次,然后停止,以免在失败的工具上浪费时间。
回答会说明搜索失败了吗?
会。这项技能要求智能体在回答中说明这一局限。
这个答案和重新进行网络搜索一样可靠吗?
这项技能承认它可能不够新,因此任何近期事实都应与实时来源核对。
详情
作者的原始描述
Handle web research failures with explicit error recognition and domain-specific fallback strategies
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12971
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。