mcpField
C
company-research

company-research

github.com/exa-labs营销与增长641.0k 次安装3 天前更新
代码仓库

关于 company-research

company-research 是面向公司研究任务的技能,指导通过 Exa Agent 深入调查企业、比较竞争对手并整理公司名单,也可用高级搜索完成单次快速查询。

主要功能

  1. 01Exa Agent 执行多角度公司研究
  2. 02生成结构化研究结果
  3. 03高级搜索进行快速查询
  4. 04可续接尚未完成的 Agent 运行

适用场景

  1. 01研究公司的产品、融资、管理层与新闻
  2. 02比较竞争对手并整理公司名单
  3. 03快速查找公司主页或新闻

MCP 相关

通过 Exa MCP 调用 Exa Agent 和高级搜索工具;指南要求研究公司时优先使用 Agent。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/exa-labs/agent-skills --skill company-research

安装后在 Claude Code 中输入/company-research确认已加载。

详细介绍

公司研究

工具选择(关键)

Exa 有两种使用方式,各有用途:

  • Exa Agent(agent_run)——公司研究的默认选择。用于深入研究、竞争对手分析、多角度研究(产品 + 融资 + 新闻 + 人员)以及构建公司名单。一次 Agent 运行即可在内部完成查询拆解、多步搜索和综合整理——不要为了 Agent 运行已能完成的工作而编排多次手动搜索。
  • web_search_advanced_exa——快速、低延迟查询:快速进行 category: "company" 发现搜索、检查单条新闻,或查找公司主页。

不要使用其他 Exa 工具。

深入研究与名单:Exa Agent

Agent 运行可能会在一次调用中持续执行直至完成。如果运行时间超过 MCP 调用窗口,请使用返回的运行 ID 继续等待。

  1. 使用自然语言 query 调用 agent_run;需要可重复的结构时,还可以提供 outputSchema(为数组设置 maxItems 上限)。
  2. 如果返回 status: "running" 和 runId,则仅使用该 runId 再次调用 agent_run,直到 outputReady 为 true。
  3. 从 agent_run 结果中读取 output.text 或 output.structured,以及 output.grounding 引用。

实用输入:systemPrompt(来源偏好、去重规则)、input.exclusion(要排除的公司)、previousRunId(基于已完成运行启动新的后续运行)、effort(默认值为 "low";可使用 "auto" 或 "high" 进行更深入的研究)。

示例:深入研究一家公司
agent_run {
  "query": "Research Anthropic: product lines, funding history and valuation, key executives, main competitors, and notable news from the last 6 months.",
  "effort": "auto",
  "outputSchema": {
    "type": "object",
    "properties": {
      "overview": { "type": "string" },
      "funding": { "type": "array", "maxItems": 10, "items": { "type": "object", "properties": { "round": { "type": "string" }, "amount": { "type": "string" }, "date": { "type": "string" } }, "required": ["round"] } },
      "competitors": { "type": "array", "maxItems": 10, "items": { "type": "string" } },
      "key_people": { "type": "array", "maxItems": 10, "items": { "type": "object", "properties": { "name": { "type": "string" }, "title": { "type": "string" } }, "required": ["name", "title"] } }
    },
    "required": ["overview", "competitors"]
  }
}
示例:构建公司名单
agent_run {
  "query": "Find 25 AI infrastructure startups headquartered in San Francisco. For each, include what they build and their latest funding stage.",
  "effort": "auto",
  "outputSchema": {
    "type": "object",
    "properties": {
      "companies": {
        "type": "array",
        "maxItems": 25,
        "items": {
          "type": "object",
          "properties": {
            "name": { "type": "string" },
            "website": { "type": "string", "format": "uri" },
            "description": { "type": "string", "description": "in 12 words or less" },
            "funding_stage": { "type": "string" }
          },
          "required": ["name", "website", "description"]
        }
      }
    },
    "required": ["companies"]
  }
}

快速查询:高级搜索

单次快速搜索即可回答问题时,使用 web_search_advanced_exa。根据意图调整 numResults(少量 → 10-20;全面 → 50-100;指定数量 → 按指定数量设置)。

类别
  • company → 公司主页、丰富的元数据(员工人数、地点、融资、收入)
  • news → 新闻报道、公告
  • people → 公开的职业档案
  • 不指定类别(type: "auto")→ 通用网页结果、更广泛的背景信息

默认使用 type: "auto"。提取内容时优先使用 highlights;不要在一次调用中同时使用文本、摘要片段和摘要。

特定类别的筛选限制

不支持的类别/筛选条件组合会返回 400 错误:

  • category: "company" 不支持发布日期或抓取日期筛选、excludeDomains 或精确文本筛选;请在查询中表达“2020 年后成立”等限制条件
  • category: "people" 不支持发布日期、抓取日期、域名或精确文本筛选;请在自然语言查询中加入所有筛选条件
  • 不指定类别(或使用 news)时,域名和日期筛选均可正常使用
示例

发现搜索:

web_search_advanced_exa {
  "query": "AI infrastructure startups San Francisco",
  "category": "company",
  "numResults": 20,
  "type": "auto"
}

新闻检查:

web_search_advanced_exa {
  "query": "Anthropic AI safety",
  "category": "news",
  "numResults": 15,
  "startPublishedDate": "2025-01-01"
}

关键人物:

web_search_advanced_exa {
  "query": "VP Engineering AI infrastructure",
  "category": "people",
  "numResults": 20
}

令牌隔离

绝不要将原始搜索结果倾倒到主上下文中。对于高级搜索调用,请启动 Task Agent;对于 Agent 运行,直接从 output.structured 生成最终答案。

浏览器后备方案

仅在内容受身份验证限制或需要 JavaScript 渲染时,才使用 Claude in Chrome 作为后备方案。

输出格式

返回:

  1. 结果(结构化列表;每行一家公司)
  2. 来源(URL;每条用一行说明相关性——Agent 运行使用 output.grounding)
  3. 备注(不确定性/冲突)

参考资料

评论

支持 Markdown