search-fallback-workflow
Skill này làm gì
Quy trình này giúp AI agent tiếp tục làm việc khi tìm kiếm web thất bại, đồng thời nói rõ những gì chưa được xác minh. Nó dành cho những người vẫn cần một bản nháp hoặc câu trả lời dùng được khi tìm kiếm không hoạt động.
Khi nào nên dùng
- ✓Khi công cụ tìm kiếm thất bại hai lần trở lên liên tiếp.
- ✓Khi một nhiệm vụ có thể làm được bằng các sự thật và nguyên lý đã được thiết lập, ngay cả không có dữ liệu mới.
- ✓Khi đầu ra sẽ cần một bước xác minh trước khi được dựa vào.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/search-fallback-workflow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Soạn một tổng quan về các quyền chính của người thuê nhà ở bang của tôi. Tìm kiếm đang lỗi, nên hãy dùng những gì bạn biết và đánh dấu những điểm tôi nên kiểm tra lại.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Sau nhiều lần thất bại, agent quyết định kiến thức của nó có đủ không, đánh dấu các khẳng định cần xác minh và viết đầu ra bằng cách diễn đạt thận trọng. Nó cũng thêm một danh sách kiểm tra xác minh vào phần tóm tắt thực hiện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Search Fallback Workflow
When to Apply
Use this workflow when:
search_webtool fails repeatedly (typically 2+ consecutive failures)- External information is needed but unavailable due to tool limitations
- Task completion is still possible with reasonable confidence using internal knowledge
- The output can include appropriate caveats about verification needs
Core Pattern
Detect Search Failure
- Monitor
search_webresponses for errors, empty results, or timeouts - After 2 consecutive failures, assess whether the task can proceed without fresh data
- Monitor
Assess Feasibility
- Determine if internal knowledge is sufficient for the task at hand
- Identify which sections/claims require external verification
- Evaluate risk level: Can the task proceed safely with caveats?
Proceed with Internal Knowledge
- Continue the task using well-established facts, regulations, or principles
- Prioritize accuracy over completeness when uncertain
- Use conservative language for claims that cannot be verified
Flag for Verification
- Clearly mark any claims that should be verified:
[VERIFICATION NEEDED: Search tool unavailable during generation] - Include a verification checklist in the execution summary
- Distinguish between high-confidence and low-confidence assertions
- Clearly mark any claims that should be verified:
Document Limitations
- Include an explicit note in the output about search unavailability
- List specific items requiring follow-up verification
- Provide recommendations for manual verification steps
Implementation Template
## Execution Notes
**Search Tool Status**: Unavailable during generation
**Confidence Levels**:
- ✓ High confidence: Established regulations, well-documented facts
- ⚠ Medium confidence: Industry standards, commonly accepted practices
- ✗ Requires verification: Time-sensitive data, recent changes, specific citations
**Verification Checklist**:
- [ ] Verify citation: [specific reference]
- [ ] Confirm current status: [specific item]
- [ ] Review recent updates: [specific topic]
Code Pattern for Agents
# Pseudocode for search fallback detection
search_attempts = 0
max_search_attempts = 2
search_failed = False
for query in required_searches:
result = search_web(query)
if result.success:
process_result(result)
else:
search_attempts += 1
if search_attempts >= max_search_attempts:
search_failed = True
log_warning("Search tool unavailable, proceeding with fallback")
break
if search_failed:
# Apply graceful degradation
content = generate_with_internal_knowledge()
add_verification_flags(content)
document_limitations_in_summary()
Example Output Structure
When using this fallback, structure documents with clear sections:
# Document Title
## Disclaimer
This document was generated with limited access to external verification tools.
Items marked with [VERIFICATION NEEDED] should be confirmed before final use.
## Content Sections
[Standard content with internal knowledge]
## Items Requiring Verification
- Topic A: Current regulatory status needs confirmation
- Topic B: Recent policy changes should be checked
- Topic C: Specific citations require source validation
## Recommendations
1. Cross-reference with official sources
2. Verify time-sensitive information
3. Consult subject matter experts for critical decisions
Best Practices
- Don't fabricate citations - Better to flag as unverified than invent sources
- Use conservative language - "Generally," "Typically," "Commonly" instead of absolutes
- Prioritize safety - If misinformation could cause harm, recommend manual verification
- Track what's missing - Maintain a clear list of items needing follow-up
- Be transparent - Clearly communicate limitations to end users
When NOT to Use This Pattern
- Tasks requiring current/real-time data (stock prices, news, weather)
- Legal or medical advice requiring authoritative sources
- Compliance documentation where citations are mandatory
- Situations where incorrect information could cause significant harm
Related Patterns
citation-management: Handling references and sources in documentserror-recovery-workflow: General patterns for tool failure recoveryconfidence-annotation: Marking certainty levels in generated content
Câu hỏi thường gặp
Agent đánh dấu các khẳng định cần kiểm tra bằng cách nào?
Skill gợi ý một thẻ dễ thấy, chẳng hạn ghi chú cần xác minh, cạnh mỗi khẳng định chưa chắc chắn.
Đầu ra có bao gồm danh sách kiểm tra không?
Có, skill yêu cầu một danh sách kiểm tra xác minh trong phần tóm tắt thực hiện.
Agent có còn tạo được câu trả lời hữu ích không?
Có, skill yêu cầu tiếp tục với các sự thật đã được thiết lập và thận trọng với những gì không thể xác minh.
Chi tiết
Mô tả gốc của tác giả
Graceful degradation workflow for continuing tasks when web search tools fail, using internal knowledge with verification caveats
repo: HKUDS/AgentPilot
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #12995
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agentpilot
7.8kGiúp agent của bạn cải thiện dự án từng bước bằng cách chuẩn bị tác vụ và chạy vòng lặp AgentPilot, gồm đề xuất, kiểm thử và chấm điểm thay đổi.
openspace
7.8kGiúp agent của bạn thiết lập OpenSpace, công cụ lưu và lấy lại skill của agent, rồi kết nối nó với ứng dụng AI của bạn qua MCP.
rsi-arena
7.8kGiúp agent của bạn thiết lập và chạy các bài kiểm thử benchmark AI chuẩn, như AIME và Terminal-Bench, để so sánh các phương pháp cải tiến khác nhau.
experiment-guide
7.8kGiúp agent của bạn lên kế hoạch các thí nghiệm nhỏ, đọc kết quả và ghi lại phát hiện khi tìm cách cải thiện một chương trình.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.