research-fallback-robust
できること
このスキルは、検索やページのツールが失敗するときの、リサーチタスクの計画をAIエージェントに与えます。インターネットのツールが動かなくても、答えが必要な人向けです。
使う場面
- ✓検索ツールが、2回連続で不明なエラーを返すとき。
- ✓ページを読めず、一度か二度の再試行の後もネットワークのエラーが続くとき。
- ✓タスクを終わらせる必要があり、AI自身の知識に基づく回答でも構わないとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/research-fallback-enhanced/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。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エージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。