npx skills add https://github.com/jwynia/agent-skills --skill research集成 Tavily 的工具辅助研究。利用 AI 优化的网络搜索,将基本问题转化为全面的搜索策略。
此技能包含一个捆绑的 Tavily CLI 脚本,位于 scripts/tavily-cli.ts。
设置您的 API 密钥:
export TAVILY_API_KEY="your-key-here"
为方便起见创建别名(添加到您的 shell 配置文件中):
# 调整路径指向此技能安装的位置
alias tavily='deno run --allow-net --allow-env /path/to/skills/research/scripts/tavily-cli.ts'
或者直接运行:
deno run --allow-net --allow-env ./scripts/tavily-cli.ts "your query"
以下命令假设已配置 tavily 别名。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 基本搜索
tavily "your query"
# 包含 AI 答案摘要
tavily "your query" --answer
# 深度搜索,获取更多结果
tavily "your query" --depth advanced --results 10 --answer
# 新闻/近期内容
tavily "your query" --topic news --time week
# 排除熟悉的来源以寻找新视角
tavily "your query" --exclude wikipedia.org,reddit.com
| 阶段 | 类型 | 目的 |
|---|---|---|
| 0 | 手动 | 分析主题,设定范围 |
| 1 | Tavily | 发现专家术语 |
| 2 | Tavily | 基础性搜索 |
| 3 | Tavily | 对立视角 |
| 4 | 手动 | 综合发现 |
| 决策风险 | Tavily 设置 |
|---|---|
| 低,可逆 | --depth basic --results 3 |
| 中等 | --depth basic --results 5 --answer |
| 高,不可逆 | --depth advanced --results 10 --answer |
目标:在搜索前构建主题结构。防止无重点的搜索和范围不匹配。
搜索前,评估风险:
| 决策类型 | 所需置信度 | 研究深度 |
|---|---|---|
| 可逆,低风险 | 60-70% | 快速浏览(分钟级) |
| 可逆,中等风险 | 75-85% | 工作知识 |
| 不可逆,中等风险 | 85-90% | 扎实基础 |
| 不可逆,高风险 | 90-95% | 深度专业知识 |
# 研究分析:[主题]
## 核心概念
- **主要术语:** [需要定义的关键术语]
- **术语变体:** [同义词、行话、历史术语]
- **模糊术语:** [具有多重含义的术语]
## 利益相关者
- **主要参与者:** [谁直接参与?]
- **受影响群体:** [谁承担后果?]
- **对立利益:** [谁从不同结果中受益?]
## 时间范围
- **历史起源:** [何时开始?]
- **关键转变:** [何时发生了什么变化?]
- **当前状态:** [现在发生了什么?]
## 领域
- **主要领域:** [主要学科]
- **相邻领域:** [相关学科]
## 争议
- **活跃辩论:** [什么是有争议的?]
- **竞争框架:** [不同的理解方式]
目标:发现专家术语以解锁更深层的搜索结果。
| 发现需求 | 命令 |
|---|---|
| 专家术语 | tavily "[topic] terminology experts" --answer |
| 学术术语 | tavily "[topic] academic research terminology" --answer |
| 跨领域同义词 | tavily "[topic] also known as called" --answer |
| 历史术语 | tavily "[topic] history original term" --answer |
运行初始术语搜索:
tavily "[topic] terminology" --answer --results 5
从结果中,注意:
更新词汇映射(使用下方模板)
使用专家术语重新运行搜索:
tavily "[expert-term]" --answer
比较结果质量 - 专家术语应能呈现更深层的内容
## 核心术语
| 术语 | 领域 | 深度级别 |
|------|--------|-------------|
| [expert term] | [field] | 专家 |
| [outsider term] | 通用 | 入门 |
## 跨领域同义词
| 概念 | 按领域划分的术语 |
|---------|-----------------|
| [concept] | 领域 A: [term], 领域 B: [term] |
## 深度指示器
| 级别 | 术语 | 它们呈现的内容 |
|-------|-------|-------------------|
| 入门 | [terms] | 概述、解释器 |
| 专家 | [terms] | 研究、细致分析 |
目标:利用权威来源建立基础性理解。
| 问题模式 | 策略 | 命令 |
|---|---|---|
| "X 是什么?" | 权威共识 | tavily "[expert-term] definition" --answer --depth advanced |
| "我应该做 X 吗?" | 利弊、替代方案 | tavily "[expert-term] pros cons comparison" --answer |
| "X 是真的吗?" | 证据、反证据 | tavily "[claim] evidence research" --answer --depth advanced |
| "如何做 X?" | 分步指南、陷阱 | tavily "[expert-term] guide tutorial" --answer |
| 历史背景 | 起源和演变 | tavily "[topic] history origins development" --answer |
| 来源类型 | 最适合 | Tavily 方法 |
|---|---|---|
| 学术/研究 | 机制、因果关系 | --depth advanced --results 10 |
| 实践者内容 | 工作原理、边缘情况 | --topic general --answer |
| 新闻/当前 | 近期发展 | --topic news --time week |
| 官方文档 | 技术规格、政策 | --include [official-domain] |
从阶段 1 的专家术语开始
运行基础性查询:
# 定义/概述
tavily "[expert-term] comprehensive overview" --answer --depth advanced
# 关键视角
tavily "[expert-term] major approaches" --answer --results 7
对于发现的每个主要视角,获取 2-3 个权威来源:
tavily "[perspective-name] [expert-term]" --answer --results 5
在研究笔记中跟踪来源
目标:明确寻找对立观点以避免确认偏误。
单一视角的研究:
| 需求 | 命令 |
|---|---|
| 一般批评 | tavily "[topic] criticism problems" --answer |
| 对立观点 | tavily "[topic] skeptics critique" --answer |
| 替代方法 | tavily "[topic] alternatives instead of" --answer |
| 失败案例 | tavily "[topic] failures when wrong" --answer |
| 避免回音室 | tavily "[topic] debate" --exclude [familiar-sources] |
识别您当前的理解/倾向
搜索最强有力的反驳论点:
tavily "[topic] strongest argument against" --answer --depth advanced
排除您已经看过的来源:
tavily "[topic]" --exclude [domains-already-searched]
搜索失败模式:
tavily "[topic] when fails problems limitations" --answer
在研究笔记中记录对立视角
目标:使用明确的置信度标记综合发现。
当出现以下情况时停止:
| 级别 | 使用的短语 |
|---|---|
| 已确立 | "X 是...", "X 的工作原理是..." |
| 强证据 | "证据强烈表明..." |
| 中等证据 | "大多数来源报告..." |
| 有限证据 | "一项研究发现..." |
| 未知 | "未找到可靠信息..." |
## 摘要
[对问题的直接回答]
## 置信度级别
[高/中/低] - [理由]
## 关键发现
1. [发现及来源类型]
## 视角
| 视角 | 关键论点 | 来源质量 |
|-------------|--------------|----------------|
| [view] | [argument] | [assessment] |
## 反证据
- [反对主要结论的内容]
## 注意事项
- [未查阅的内容]
- [所做的假设]
## 供深入调查
[什么能提高置信度]
tavily "search query" [options]
| 选项 | 描述 | 值 |
|---|---|---|
--answer | 包含 AI 生成的答案摘要 | flag |
--depth | 搜索深度 | basic (默认), advanced |
--results | 结果数量 | 1-20 (默认: 5) |
--topic | 主题类别 | general (默认), news, finance |
--time | 时间过滤器 | day, week, month, year |
--include | 仅包含的域名 | 逗号分隔 |
--exclude | 排除的域名 | 逗号分隔 |
--raw | 包含原始页面内容 | flag |
--json | 输出为 JSON | flag |
| 研究场景 | 命令 |
|---|---|
| 快速概述 | tavily "query" --answer |
| 深度研究 | tavily "query" --depth advanced --results 10 --answer |
| 近期新闻 | tavily "query" --topic news --time week |
| 学术重点 | tavily "query" --depth advanced --include scholar.google.com,arxiv.org |
| 避免 Wikipedia | tavily "query" --exclude wikipedia.org |
| 新视角 | tavily "query" --exclude [already-seen-domains] |
| 金融数据 | tavily "query" --topic finance --answer |
| 用于分析的原始内容 | tavily "query" --raw --json |
使用这些状态来识别研究卡在何处以及需要重新审视哪个阶段。
| 状态 | 症状 | 需重新审视的阶段 |
|---|---|---|
| R0: 无分析 | 搜索前未构建主题结构 | 阶段 0 |
| R1: 无词汇 | 使用外行术语,只找到表面内容 | 阶段 1 |
| R2: 单一视角 | 所有来源都支持一种观点 | 阶段 3 |
| R3: 领域盲点 | 只在熟悉的领域搜索 | 阶段 1 (跨领域术语) |
| R4: 近因偏误 | 只有近期来源 | 阶段 2 (历史查询) |
| R5: 广度无深度 | 许多标签页,没有综合 | 阶段 4 |
| R6: 完成不确定性 | 不确定何时停止 | 阶段 4 (完成标准) |
| R7: 完成 | 可以解释、识别不确定性、采取行动 | 完成 |
| 模式 | 症状 | 修复方法 |
|---|---|---|
| 确认陷阱 | 搜索是为了确认,而不是学习 | 阶段 3:搜索最强有力的反驳论点 |
| 权威谬误 | 因来源声望而接受主张 | 评估证据,而非来源 |
| 近因陷阱 | 只有近期来源 | 阶段 2:历史背景查询 |
| 广度陷阱 | 50 个标签页,一个都没读 | 阶段 4:3 来源规则,在继续前综合 |
| 单一来源 | 一个来源作为最终答案 | 要求 3 个独立来源 |
| 行话盲点 | 错过其他领域的术语 | 阶段 1:跨领域词汇 |
| 无限兔子洞 | 迷失了原始目的 | 阶段 0:回到范围/风险 |
| 回音室 | 重复相同的来源 | 阶段 3:使用 --exclude 标志 |
在进行任何其他工作之前:
context/output-config.mdexplorations/research/ 或此项目的合理位置| 层级 | 内容 |
|---|---|
| 词汇映射 | 术语、领域、深度级别 |
| 来源 | URL、相关性分数、质量注释 |
| 综合 | 摘要、置信度、发现、注意事项 |
| 查询日志 | 有效/失败的 Tavily 命令 |
| 空白 | 仍然未知的内容 |
模式:{topic}-research-{date}.md 示例:competency-frameworks-research-2025-01-15.md
| 技能 | 连接点 |
|---|---|
| doppelganger | 研究为决策提供信息;对发现应用 /truth-check |
| context-networks | 将研究发现存储在适当的网络节点中 |
| boundary-critique | 应用于遇到的建议和推荐 |
研究期间,询问:
源自:references/research-framework.md
每周安装量
140
仓库
GitHub 星标数
37
首次出现
Jan 20, 2026
安全审计
安装于
opencode120
gemini-cli113
codex113
github-copilot106
cursor104
claude-code99
Tool-assisted research with Tavily integration. Transforms basic questions into comprehensive search strategies using AI-optimized web search.
This skill includes a bundled Tavily CLI script at scripts/tavily-cli.ts.
Set your API key:
export TAVILY_API_KEY="your-key-here"
Create an alias for convenience (add to your shell profile):
# Adjust path to where this skill is installed
alias tavily='deno run --allow-net --allow-env /path/to/skills/research/scripts/tavily-cli.ts'
Or run directly:
deno run --allow-net --allow-env ./scripts/tavily-cli.ts "your query"
Commands below use tavily assuming the alias is configured.
# Basic search
tavily "your query"
# With AI answer summary
tavily "your query" --answer
# Deep search with more results
tavily "your query" --depth advanced --results 10 --answer
# News/recent content
tavily "your query" --topic news --time week
# Exclude familiar sources to find new perspectives
tavily "your query" --exclude wikipedia.org,reddit.com
| Phase | Type | Purpose |
|---|---|---|
| 0 | Manual | Analyze topic, set scope |
| 1 | Tavily | Discover expert terminology |
| 2 | Tavily | Foundational search |
| 3 | Tavily | Counter-perspectives |
| 4 | Manual | Synthesize findings |
| Decision Stakes | Tavily Settings |
|---|---|
| Low, reversible | --depth basic --results 3 |
| Moderate | --depth basic --results 5 --answer |
| High, irreversible | --depth advanced --results 10 --answer |
Goal : Structure topic before searching. Prevents unfocused searches and scope mismatch.
Before searching, assess stakes:
| Decision Type | Confidence Needed | Research Depth |
|---|---|---|
| Reversible, low-stakes | 60-70% | Quick scan (minutes) |
| Reversible, moderate | 75-85% | Working knowledge |
| Irreversible, moderate | 85-90% | Solid grounding |
| Irreversible, high | 90-95% | Deep expertise |
# Research Analysis: [Topic]
## Core Concepts
- **Primary terms:** [Key terms requiring definition]
- **Terminology variants:** [Synonyms, jargon, historical terms]
- **Ambiguous terms:** [Terms with multiple meanings]
## Stakeholders
- **Primary actors:** [Who is directly involved?]
- **Affected groups:** [Who bears consequences?]
- **Opposing interests:** [Who benefits from different outcomes?]
## Temporal Scope
- **Historical origins:** [When did this begin?]
- **Key transitions:** [What changed and when?]
- **Current state:** [What's happening now?]
## Domains
- **Primary field:** [Main discipline]
- **Adjacent fields:** [Related disciplines]
## Controversies
- **Active debates:** [What's contested?]
- **Competing frameworks:** [Different ways of understanding]
Goal : Discover expert terminology to unlock deeper search results.
| Discovery Need | Command |
|---|---|
| Expert terminology | tavily "[topic] terminology experts" --answer |
| Academic terms | tavily "[topic] academic research terminology" --answer |
| Cross-domain synonyms | tavily "[topic] also known as called" --answer |
| Historical terms | tavily "[topic] history original term" --answer |
Run initial terminology search:
tavily "[topic] terminology" --answer --results 5
From results, note:
Update vocabulary map (template below)
Re-run searches with expert terms:
tavily "[expert-term]" --answer
Compare result quality - expert terms should surface deeper content
## Core Terms
| Term | Domain | Depth Level |
|------|--------|-------------|
| [expert term] | [field] | Expert |
| [outsider term] | General | Introductory |
## Cross-Domain Synonyms
| Concept | Terms by Domain |
|---------|-----------------|
| [concept] | Field A: [term], Field B: [term] |
## Depth Indicators
| Level | Terms | What They Surface |
|-------|-------|-------------------|
| Introductory | [terms] | Overviews, explainers |
| Expert | [terms] | Research, nuanced analysis |
Goal : Build foundational understanding with authoritative sources.
| Question Pattern | Strategy | Command |
|---|---|---|
| "What is X?" | Consensus from authorities | tavily "[expert-term] definition" --answer --depth advanced |
| "Should I X?" | Pros/cons, alternatives | tavily "[expert-term] pros cons comparison" --answer |
| "Is X true?" | Evidence, counter-evidence | tavily "[claim] evidence research" --answer --depth advanced |
| "How do I X?" | Step-by-step, pitfalls | tavily "[expert-term] guide tutorial" --answer |
| Historical context |
| Source Type | Best For | Tavily Approach |
|---|---|---|
| Academic/Research | Mechanism, causation | --depth advanced --results 10 |
| Practitioner content | How things work, edge cases | --topic general --answer |
| News/Current | Recent developments | --topic news --time week |
| Official docs | Technical specs, policy | --include [official-domain] |
Start with expert terminology from Phase 1
Run foundational queries:
# Definition/overview
tavily "[expert-term] comprehensive overview" --answer --depth advanced
# Key perspectives
tavily "[expert-term] major approaches" --answer --results 7
For each major perspective found, get 2-3 authoritative sources:
tavily "[perspective-name] [expert-term]" --answer --results 5
Track sources in research notes
Goal : Explicitly find opposing viewpoints to avoid confirmation bias.
Single-perspective research:
| Need | Command |
|---|---|
| General criticism | tavily "[topic] criticism problems" --answer |
| Opposing viewpoint | tavily "[topic] skeptics critique" --answer |
| Alternative approaches | tavily "[topic] alternatives instead of" --answer |
| Failure cases | tavily "[topic] failures when wrong" --answer |
| Avoid echo chamber | tavily "[topic] debate" --exclude [familiar-sources] |
Identify your current understanding/lean
Search for strongest counterargument:
tavily "[topic] strongest argument against" --answer --depth advanced
Exclude sources you've already seen:
tavily "[topic]" --exclude [domains-already-searched]
Search for failure modes:
tavily "[topic] when fails problems limitations" --answer
Document opposing perspectives in research notes
Goal : Synthesize findings with explicit confidence markers.
Stop when:
| Level | Phrases to Use |
|---|---|
| Established | "X is...", "X works by..." |
| Strong evidence | "Evidence strongly suggests..." |
| Moderate evidence | "Most sources report..." |
| Limited evidence | "One study found..." |
| Unknown | "No reliable information found..." |
## Summary
[Direct answer to question]
## Confidence Level
[High/Medium/Low] - [Justification]
## Key Findings
1. [Finding with source type]
## Perspectives
| Perspective | Key Argument | Source Quality |
|-------------|--------------|----------------|
| [view] | [argument] | [assessment] |
## Counter-Evidence
- [What argues against the main conclusion]
## Caveats
- [What wasn't consulted]
- [What assumptions were made]
## For Deeper Investigation
[What would increase confidence]
tavily "search query" [options]
| Option | Description | Values |
|---|---|---|
--answer | Include AI-generated answer summary | flag |
--depth | Search depth | basic (default), advanced |
--results | Number of results | 1-20 (default: 5) |
--topic | Topic category | (default), , |
| Research Scenario | Command |
|---|---|
| Quick overview | tavily "query" --answer |
| Deep dive | tavily "query" --depth advanced --results 10 --answer |
| Recent news | tavily "query" --topic news --time week |
| Academic focus | tavily "query" --depth advanced --include scholar.google.com,arxiv.org |
| Avoid Wikipedia | tavily "query" --exclude wikipedia.org |
| Fresh perspectives |
Use these to identify where research is stuck and which phase to revisit.
| State | Symptom | Phase to Revisit |
|---|---|---|
| R0: No Analysis | Searching without structuring topic | Phase 0 |
| R1: No Vocabulary | Using outsider terms, finding only surface content | Phase 1 |
| R2: Single-Perspective | All sources support one view | Phase 3 |
| R3: Domain Blindness | Searching only in familiar field | Phase 1 (cross-domain terms) |
| R4: Recency Bias | Only recent sources | Phase 2 (historical queries) |
| R5: Breadth Without Depth | Many tabs, no synthesis | Phase 4 |
| R6: Completion Uncertainty | Unsure when to stop | Phase 4 (completion criteria) |
| Pattern | Symptom | Fix |
|---|---|---|
| Confirmation Trap | Searching to confirm, not learn | Phase 3: Search for strongest counterargument |
| Authority Fallacy | Accepting claims by source prestige | Evaluate evidence, not source |
| Recency Trap | Only recent sources | Phase 2: Historical context queries |
| Breadth Trap | 50 tabs, none read | Phase 4: 3-source rule, synthesize before continuing |
| Single-Source | One source as final answer | Require 3 independent sources |
| Jargon Blind Spot | Missing other fields' terminology | Phase 1: Cross-domain vocabulary |
| Infinite Rabbit Hole | Lost original purpose | Phase 0: Return to scope/stakes |
| Echo Chamber | Same sources repeatedly | Phase 3: Use --exclude flag |
Before doing any other work:
context/output-config.md in the projectexplorations/research/ or a sensible location for this project| Layer | Contents |
|---|---|
| Vocabulary Map | Terms, domains, depth levels |
| Sources | URLs, relevance scores, quality notes |
| Synthesis | Summary, confidence, findings, caveats |
| Query Log | Tavily commands that worked/failed |
| Gaps | What remains unknown |
Pattern: {topic}-research-{date}.md Example: competency-frameworks-research-2025-01-15.md
| Skill | Connection |
|---|---|
| doppelganger | Research informs decisions; apply /truth-check to findings |
| context-networks | Store research findings in appropriate network node |
| boundary-critique | Apply to advice and recommendations encountered |
During research, ask:
Derived from: references/research-framework.md
Weekly Installs
140
Repository
GitHub Stars
37
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode120
gemini-cli113
codex113
github-copilot106
cursor104
claude-code99
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
66,200 周安装
高级前端开发工具集:React/Next.js项目脚手架、组件生成与性能优化
138 周安装
MLOps与机器学习工程专家 | 端到端ML流水线、模型部署与基础设施自动化指南
138 周安装
akshare财经数据技能:获取中国股票、指数、基金、期货实时历史数据
138 周安装
数据分析师技能:SQL查询、BI仪表板设计、KPI定义与商业智能分析
140 周安装
多平台付费广告审计与优化工具 - 覆盖Google、Meta、LinkedIn、TikTok、Microsoft广告
200 周安装
Phoenix LiveView 实时 Web 开发框架 - Elixir/BEAM 全栈解决方案
157 周安装
| Origins and evolution |
tavily "[topic] history origins development" --answer |
generalnewsfinance--time | Time filter | day, week, month, year |
--include | Only include domains | comma-separated |
--exclude | Exclude domains | comma-separated |
--raw | Include raw page content | flag |
--json | Output as JSON | flag |
tavily "query" --exclude [already-seen-domains]| Financial data | tavily "query" --topic finance --answer |
| Raw content for analysis | tavily "query" --raw --json |
| Can explain, identify uncertainties, act |
| Done |