MCPInstall
muratcankoylan avatar

comprehensive-research-agent

Ensure thorough validation, error recovery, and transparent reasoning in research tasks with multiple tool calls

Installs
126
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/muratcankoylan/agent-skills-for-context-engineering --skill comprehensive-research-agent
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads comprehensive-research-agent automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Comprehensive Research Agent Best Practices

This skill addresses common failures in multi-step research tasks: unhandled tool errors, missing validation, opaque reasoning, and premature conclusions. It provides structured protocols for source validation, error recovery, and thinking transparency that significantly improves research quality and reliability.

When to Activate

  • Task involves web research with search, read_url, or fetch operations
  • Task requires gathering information from multiple sources
  • Task has explicit requirements for completeness or verification
  • Task includes file operations that need validation (save, write, read)
  • Any research or information-gathering workflow with 3+ tool interactions

Core Concepts

  • Validation Checkpoints: Explicit verification steps at phase transitions to confirm tool outputs, source relevance, and information completeness before proceeding
  • Error Recovery Protocols: Mandatory acknowledgment and handling of tool failures with fallback strategies rather than silent continuation
  • Source Traceability: Maintaining clear tracking of which sources were actually retrieved vs. referenced from prior knowledge to prevent hallucination
  • Substantive Thinking Blocks: Detailed reasoning traces that document insights, connections, gaps, and decision rationale at each step
  • Cross-Source Validation: Verifying key claims against multiple sources and explicitly noting consensus, contradictions, and information gaps

Patterns to Avoid

  • Silent Tool Failure: A tool call returns an error (404, timeout, invalid URL) but the agent proceeds without acknowledging it, potentially missing critical information. Always log failures and attempt recovery or document the gap.
  • Vague Completion Claims: Agent declares 'I have enough information' or 'research is comprehensive' without specifying what was learned, what sources support claims, or what gaps remain. Replace with specific summaries of coverage.
  • Unvalidated Source Selection: Agent reads URLs from search results without evaluating relevance, credibility, or recency first. This wastes tool calls on low-quality sources. Always rank and prioritize sources before deep reading.
  • Generic Thinking Blocks: Thinking contains only next-action descriptions ('Now I will search for X') without analysis of what was learned, how it connects to the goal, or what questions remain. Thinking should be substantive and reflective.
  • Verification Method Error: Using list_directory to verify file creation can produce false negatives due to caching. Always use read_file for actual content verification.
  • Citation Without Retrieval: Citing sources (URLs, paper titles) in the final report that were never successfully fetched or read. Track sources explicitly and prohibit citing unretrieved content.
  • Redundant Tool Calls: Making overlapping searches or reading sources without tracking what has already been obtained. Maintain a 'found resources' tracker to avoid duplication.

Recommended Practices

  • Implement Pre-Reading Source Evaluation: Before reading URLs, rank search results by relevance, credibility, recency, and authority. Document selection rationale in thinking blocks.
  • Use Structured Thinking Blocks: Each thinking block must include: (a) what was learned from the source/action, (b) how it connects to the research goal, (c) any contradictions/gaps identified, (d) strategic decisions made. Avoid generic next-action statements.
  • Add Mandatory Error Acknowledgment: When any tool fails, the next thinking block must explicitly address it: note the failure type, propose a recovery strategy (retry, alternative source, or documented gap), and explain the chosen approach.
  • Create Pre-Completion Validation Checklist: Before declaring research complete, verify: all required sections have specific evidence, all sources were successfully retrieved, key claims are cross-validated, and gaps are documented.
  • Implement Cross-Source Validation: After gathering information from multiple sources, explicitly compare findings. Note where sources agree, where they contradict, and what remains unverified. Use this to assess overall confidence.
  • Maintain Source Tracking Table: Create a simple table in thinking showing which URLs were fetched, which failed, and which were used for specific claims. Never cite unretrieved sources.
  • Use Read_File for Verification: When confirming file writes, use read_file to verify actual content rather than list_directory, which can have caching issues causing false negatives.
  • Add Explicit Validation Phase: After reading sources, write a brief synthesis that confirms usefulness, notes relevance to research goals, and identifies remaining gaps before proceeding to the next phase.

Guidelines

  1. After each tool call, explicitly check for errors in the response and acknowledge failures in the next thinking block with recovery strategy
  2. Before reading URLs, rank sources by relevance/credibility and document selection rationale - never read results without evaluation
  3. Thinking blocks must be 3-5+ sentences minimum and include: what was learned, connections to goal, gaps/contradictions, and next steps
  4. Create a pre-completion checklist verifying: all requirements covered, sources retrieved, claims validated, gaps documented
  5. Maintain source tracking - only cite URLs that were successfully fetched; prohibit citing unretrieved sources
  6. When writing final reports, include 'Limitations & Gaps' section documenting what was attempted but failed or what remains unverified
  7. Use read_file (not list_directory) to verify file content after save operations
  8. Cross-validate key claims across at least 2 sources when possible; explicitly note consensus or contradictions
  9. Track gathered information to avoid redundant searches - implement 'found resources' tracker for multi-phase research
  10. Replace vague 'comprehensive' statements with specific summaries: 'Covered X sources on Y topic; missing Z aspects'

Examples

  • *Before (Anti-Pattern): 'I searched for context engineering and found several results. Now I'll read some URLs and then write the report. I have enough information to proceed.'

After (Pattern): 'Search returned 15 results on context engineering. Evaluating relevance: Liu et al. (2024) appears most authoritative on 'lost in the middle' phenomenon; Anthropic documentation likely has current context window specs; Patel (2023) covers RAG best practices. Ranking these as top 3 priorities. Reading top result first. If the primary source fails (URL error), will try backup search for correct documentation URL and note the gap in final report.'

  • *Before (Anti-Pattern): Tool returns 404 error for Anthropic context windows URL. Agent continues without acknowledgment. Later cites 'Claude has 200K context window' without showing source. Final report cites Google Research paper that was never fetched.

After (Pattern): Tool returned 404 for Anthropic URL. Thinking: 'Primary source failed. Fallback: search for alternative Anthropic documentation URL or find archived version. If unavailable, note context window data from secondary sources only and add disclaimer about verification status.' Then: 'Cross-validated Claude context window: Anthropic blog (successfully read) and two developer documentation sources agree on 200K. Confident in this claim.' Source tracking table shows: Anthropic URL (failed, backup used), Blog (success), Dev docs (success).


Score Expectations

Complex research tasks with multiple tools (6+) and multi-step reasoning chains typically achieve scores in the 65-75 range. This is not a limitation of the prompt but reflects:

  • Inherent variability in tool outputs affecting reasoning paths
  • Multiple valid approaches leading to different intermediate scores
  • Stochastic nature of long-horizon agent execution

Focus on relative improvement and pattern elimination rather than absolute scores. A 5-10% improvement from optimization is significant for complex tasks.


Skill Metadata

Generated: 2026-01-11 Source: Reasoning Trace Optimizer Optimization Iterations: 10 Best Score Achieved: 72/100 (iteration 4) Final Score: 70.0/100 Score Improvement: 67.6 → 70.0 (+3.6%)

FAQ

What does the comprehensive-research-agent skill do?

Ensure thorough validation, error recovery, and transparent reasoning in research tasks with multiple tool calls

How do I install comprehensive-research-agent?

Run npx skills add https://github.com/muratcankoylan/agent-skills-for-context-engineering --skill comprehensive-research-agent in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/comprehensive-research-agent/ (personal) or .claude/skills/comprehensive-research-agent/ (project).

Which AI agents can use comprehensive-research-agent?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is comprehensive-research-agent safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains comprehensive-research-agent?

It is published by muratcankoylan in muratcankoylan/agent-skills-for-context-engineering. It has 126 recorded installs.

More from muratcankoylan/agent-skills-for-context-engineering

View all →
muratcankoylan avatar

context-engineering-collection

muratcankoylan/agent-skills-for-context-engineering

Open the skill to read its SKILL.md instructions.

AI & Agents4.5K installs
muratcankoylan avatar

context-compression

muratcankoylan/agent-skills-for-context-engineering

This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve decisions, files, risks, and next actions.

AI & Agents676 installs
muratcankoylan avatar

context-optimization

muratcankoylan/agent-skills-for-context-engineering

This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost reduction, retrieval scoping, and extending effective context capacity without lowering answer quality.

AI & Agents540 installs
muratcankoylan avatar

filesystem-context

muratcankoylan/agent-skills-for-context-engineering

This skill should be used when agent work needs file-backed context: durable scratchpads, tool-output offloading, just-in-time discovery, cross-agent handoff files, filesystem memory, or cleanup policies for context stored outside the prompt.

AI & Agents418 installs
muratcankoylan avatar

memory-systems

muratcankoylan/agent-skills-for-context-engineering

This skill should be used for persistent semantic memory in agent systems: cross-session knowledge retention, entity tracking, temporal validity, graph or vector retrieval, memory consolidation, and memory benchmark selection. Route file-backed scratchpads to filesystem-context, handoff summaries to context-compression, and token-efficiency tactics to context-optimization.

AI & Agents366 installs
muratcankoylan avatar

multi-agent-patterns

muratcankoylan/agent-skills-for-context-engineering

This skill should be used when designing multi-agent systems that need context isolation, supervisor or swarm coordination, explicit handoffs, parallel execution, or a decision on whether multiple agents are justified.

AI & Agents366 installs

Popular productivity & automation skills

View category →
vercel-labs avatar

agent-browser

vercel-labs/agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

OfficialProductivity & Automation1.6M installs
open.feishu.cn avatar

lark-doc

open.feishu.cn

飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。

open.feishu.cn avatar

lark-shared

open.feishu.cn

Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.

open.feishu.cn avatar

lark-drive

open.feishu.cn

飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。

open.feishu.cn avatar

lark-base

open.feishu.cn

飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。

open.feishu.cn avatar

lark-im

open.feishu.cn

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。