resilient-research-workflow
Skill này làm gì
Quy trình này hướng dẫn AI agent thu thập dữ liệu web ngay cả khi công cụ tìm kiếm thất bại, rồi biến dữ liệu đó thành một workbook Excel đã kiểm tra. Nó dành cho những người cần nghiên cứu được chuyển thành bảng tính mà họ có thể tin.
Khi nào nên dùng
- ✓Khi bạn cần dữ liệu web hiện tại như giá hoặc thông tin thị trường cho một bảng tính.
- ✓Khi các lần gọi tìm kiếm trước đó thất bại hoặc cho kết quả không nhất quán.
- ✓Khi nghiên cứu phải được kiểm tra trước khi đưa vào một workbook có sheet và cột chính xác.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-proof-gate-merged/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
“Nghiên cứu giá hiện tại của năm sản phẩm này và xây dựng bảng so sánh Excel với các sheet tôi đã chỉ định. Kiểm tra workbook trước khi bạn kết thúc.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Nếu tìm kiếm web thất bại, agent giao việc nghiên cứu cho một shell agent có thể thử lại và dùng nguồn khác. Nó kiểm tra dữ liệu đã thu thập, rồi xây dựng workbook và xác minh bằng một script Python đọc file đã lưu.
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.
Resilient Research-to-Spreadsheet Workflow
Use this skill when you must gather web-based information AND produce verified Excel workbooks, with particular emphasis on handling tool failures gracefully and proving final outputs against explicit criteria.
This skill combines:
- Phase A: Resilient web research with automatic failure detection and shell_agent delegation
- Phase B: Research data validation before spreadsheet integration
- Phase C: Anchored spreadsheet proof gate for workbook creation/editing
- Cross-phase gates: Explicit handoff criteria between research and spreadsheet phases
This is an end-to-end workflow skill. It requires:
- autonomous retry logic for web research (via shell_agent when needed)
- direct Python verification of research outputs
- deterministic spreadsheet proof methodology before finalizing
When to use
Use this skill when ANY of the following are true:
Research-phase triggers:
- You need current web-based data (prices, market info, competitor analysis, etc.)
- Prior search_web calls have failed or returned inconsistent results
- The task requires multi-step data collection from multiple sources
- You need resilient data gathering that can adapt to tool instability
Spreadsheet-phase triggers:
- You must create or modify an Excel workbook based on research data
- The user requires exact sheet names, columns, counts, or samples
- Prior summaries are inconsistent or not trustworthy
- Exact post-edit workbook state matters
- You must prove that mandatory criteria were satisfied
Both phases:
- A delegated agent may perform parts of the work
- Tool instability has been observed in the task context
- The task has failed previously due to tool errors
Core rules
Rule 1: Detect and escalate research failures
When search_web returns errors like:
- "unknown error"
- Empty or incomplete results
- Consistent failures across multiple queries (>2 failures)
Immediately delegate to shell_agent rather than retrying the same failing tool.
Rule 2: Never finalize from narrative summary alone
A spreadsheet task is only complete when:
- The target workbook was identified from the anchored workspace path
- Pre-edit structure matched the intended operation
- The edit was performed on the correct file
- The saved workbook was directly re-read from disk
- Every requested criterion was checked in a deterministic verification report
- Each criterion is marked as one of:
PASS,FAIL, orUNAVAILABLE-IN-SOURCE - Any non-pass result is explicitly reconciled before finalizing
Rule 3: Workspace anchoring is absolute
All discovery, reads, writes, and verification must be anchored to the exact workspace path provided for the task.
- Treat the provided workspace path as the authoritative root
- Resolve workbooks to exact paths under that root
- Do not silently switch to similarly named files elsewhere
- Do not trust delegated tool reports without independent confirmation
- If the anchored file cannot be found, stop rather than guessing
Rule 4: Research criteria flow into spreadsheet criteria
The data you gather in Phase A becomes part of the verification criteria in Phase C. Track:
- What data was required vs. what was obtained
- Which sources were used
- Which data points could not be obtained (and why)
- How missing data affects spreadsheet requirements
Outcome contract
Your output should be based on proof, not inference.
For every task using this workflow, maintain these artifacts internally:
- Research inventory: sources tried, data obtained, failures encountered
- Pre-edit audit checklist: workbook structure before modification
- Post-write proof checklist: deterministic verification of every spreadsheet criterion
The post-write proof checklist is decisive for spreadsheet claims. The research inventory is decisive for data coverage claims.
Workflow
Phase A: Resilient Web Research
Step A1: Attempt direct search
First, try search_web with your primary query:
search_web(query="your specific query with date/context")
Step A2: Detect failure patterns
Monitor for these failure signals:
- Return error messages ("unknown error", "connection failed", etc.)
- Empty results or clearly incomplete data
- Repeated failures on related queries
Failure threshold: If search_web fails 2+ times on the same or related queries, escalate to shell_agent.
Step A3: Delegate to shell_agent
Câu hỏi thường gặp
Điều gì xảy ra khi tìm kiếm thất bại?
Skill yêu cầu giao việc nghiên cứu cho một shell agent có thể thử lại và dùng các nguồn khác.
Nghiên cứu có được kiểm tra trước khi đưa vào bảng tính không?
Có, skill có một giai đoạn xác thực trước khi công việc bảng tính bắt đầu.
Workbook được xác minh bằng cách nào?
Một script Python đọc workbook đã lưu và xác nhận các sheet, cột và số lượng bắt buộc.
Chi tiết
Mô tả gốc của tác giả
Unified workflow that delegates failed web searches to shell_agent for resilient data gathering, then applies anchored spreadsheet proof gates for verified Excel output
repo: HKUDS/AgentPilot
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #13018
- 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ự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.