Skip to content
Skillpedia
Research7.8k · #13018

resilient-research-workflow

What it does

This workflow guides the AI agent to gather web data even when search tools fail, then turn that data into a verified Excel workbook. It is for people who need research turned into a spreadsheet they can rely on.

When to use it

  • ✓When you need current web data such as prices or market details for a spreadsheet.
  • ✓When earlier search calls failed or gave inconsistent results.
  • ✓When the research must be checked before it is put into a workbook with exact sheets and columns.

Skill link

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-proof-gate-merged/SKILL.md

Copy 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

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-proof-gate-merged/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Research current prices for these five products and build an Excel comparison with the sheets I specified. Check the workbook before you finish.”

5 new skills a week. 1 minute to read.

How it works

If web search fails, the agent hands the research to a shell agent. It checks the gathered data, then builds the workbook and verifies it with a Python script that reads the saved file.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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:

  1. The target workbook was identified from the anchored workspace path
  2. Pre-edit structure matched the intended operation
  3. The edit was performed on the correct file
  4. The saved workbook was directly re-read from disk
  5. Every requested criterion was checked in a deterministic verification report
  6. Each criterion is marked as one of: PASS, FAIL, or UNAVAILABLE-IN-SOURCE
  7. 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:

  1. Research inventory: sources tried, data obtained, failures encountered
  2. Pre-edit audit checklist: workbook structure before modification
  3. 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

FAQ

What happens when search fails?

The skill says to delegate the research to a shell agent that can retry and try other sources.

Is the research checked before it goes into the spreadsheet?

Yes, the skill includes a validation phase before the spreadsheet work starts.

How is the workbook verified?

A Python script reads the saved workbook and confirms the required sheets, columns and counts.

Details

Original description by the author

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

Popularity

GitHub stars
7.8k
Ranking position
#13018
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills