resilient-research-workflow
Что он делает
Этот сценарий помогает ИИ-агенту собрать веб-данные, даже когда инструменты поиска не работают, а затем превратить их в проверенную книгу Excel. Он нужен тем, кому нужно исследование в виде таблицы, на которую можно опереться.
Когда использовать
- ✓Когда нужны актуальные данные из интернета, например цены или рыночные сведения, для таблицы.
- ✓Когда прежние поисковые запросы не сработали или дали противоречивые результаты.
- ✓Когда исследование нужно проверить, прежде чем вносить его в книгу с точными листами и столбцами.
Ссылка на скилл
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-proof-gate-merged/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Исследуй текущие цены на эти пять товаров и построй сравнение в Excel с указанными мне листами. Проверь книгу, прежде чем завершить работу.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Если веб-поиск не работает, агент передает исследование агенту шелла. Тот проверяет собранные данные, после чего книга строится и проверяется скриптом Python, который читает сохраненный файл.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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:
- 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
Частые вопросы
Что происходит, когда поиск не работает?
Скилл велит передать исследование агенту шелла, который может повторять попытки и пробовать другие источники.
Проверяются ли данные перед занесением в таблицу?
Да, в скилл входит фаза проверки до начала работы с таблицей.
Как проверяется книга?
Скрипт Python читает сохраненную книгу и подтверждает нужные листы, столбцы и количество строк.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 7.8k
- Место в рейтинге
- #13018
- Лицензия
- MIT
- Обновлён
- 01.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
agentpilot
7.8kПомогает агенту улучшать проект шаг за шагом: готовит задачу и запускает цикл AgentPilot, который предлагает, проверяет и оценивает изменения.
openspace
7.8kПомогает агенту настроить OpenSpace, инструмент для хранения и получения скиллов агента, и подключить его к вашему ИИ-приложению через MCP.
rsi-arena
7.8kПомогает агенту настроить и запустить стандартные тесты ИИ, например AIME и Terminal-Bench, чтобы сравнивать разные методы улучшения.
experiment-guide
7.8kПомогает агенту планировать небольшие эксперименты, читать их результаты и записывать выводы, пока он исследует, как улучшить программу.
Похожие скиллы
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
notcrawl
394kПозволяет агенту искать в сохраненной копии рабочего пространства Notion, находить страницы и базы данных и экспортировать страницы в файлы Markdown.
knowledge-entities
394kПомогает агенту определять людей, компании и проекты, а затем писать для них профили с источниками в вашем хранилище Knowledge.