gemini-search
它能做什么
这个技能利用 Gemini 从多个角度搜索学术论文。适合希望超越 arXiv 和 Semantic Scholar 进行广泛文献发现的研究人员。
适用场景
- ✓当 arXiv 或 Semantic Scholar 上的关键词搜索遗漏了相关论文的时候。
- ✓当你希望围绕多个子主题进行广泛的文献发现的时候。
- ✓当你希望获取所选年份范围内的论文,默认从 2022 年开始的时候。
技能链接
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/gemini-search/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我希望 Gemini 搜索关于检索增强生成的论文,包括人们使用的其他名称。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体请 Gemini 将主题拆分为子问题和名称变体。然后收集它找到的论文,目标是从最早年份起找到约十五篇结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Gemini Literature Search
Search query: $ARGUMENTS
Role & Positioning
This skill uses Gemini as a broad literature discovery source:
| Skill | Source | Best for |
|---|---|---|
/arxiv |
arXiv API | Latest preprints, cutting-edge unrefereed work |
/semantic-scholar |
Semantic Scholar API | Published venue papers (IEEE, ACM, Springer) with citation counts |
/deepxiv |
DeepXiv CLI | Layered reading: search, brief, section map, section reads |
/exa-search |
Exa API | Broad web search: blogs, docs, news, companies, research papers |
/gemini-search |
Gemini MCP / CLI | AI-powered broad literature discovery — searches across multiple angles, aliases, and sub-problems |
Use Gemini when you want AI-driven discovery that goes beyond keyword matching — Gemini decomposes topics into sub-problems, explores naming variants, and surfaces papers that traditional API searches may miss.
Constants
- MAX_RESULTS = 15 — Target number of papers Gemini should find.
- MIN_YEAR = 2022 — Default minimum publication year. Override with
— year: 2020-. - DEFAULT_MODEL = auto-gemini-3 — Auto-routes within the Gemini 3 family (Pro / Flash) by server-side capacity. Required by
mcp__gemini-cli__ask-geminiandgemini-cliv0.40+; explicitgemini-3-pro-previewis silently downgraded togemini-2.5-proon OAuth-personal / Google One AI Pro accounts when capacity is exhausted. Override with— model: gemini-3-flash-preview(Gemini 3 Flash explicit, faster, higher quota), or— model: gemini-2.5-pro/gemini-2.5-flash(legacy, only for users on oldergemini-cli< v0.40). The MCP tool accepts all of these verbatim.
Overrides (append to arguments):
/gemini-search "topic" — max: 20— request up to 20 papers/gemini-search "topic" — year: 2020-— papers from 2020 onward/gemini-search "topic" — code-only— only papers with open-source code/gemini-search "topic" — venues: NeurIPS,ICML,ICLR— focus on specific venues/gemini-search "topic" — model: gemini-3-flash-preview— Gemini 3 Flash (faster, higher quota, less capable than Pro)/gemini-search "topic" — model: auto-gemini-3— auto-routes within the Gemini 3 family by load/gemini-search "topic" — model: gemini-2.5-pro— legacy (only if yourgemini-cli< v0.40)
Environment & Setup
Prerequisites
- Node.js v16.0.0+
- Google Gemini CLI — installed and authenticated
npm install -g @google/gemini-cli gemini auth - gemini-mcp-tool — MCP bridge for Claude Code (jamubc/gemini-mcp-tool)
npm install -g gemini-mcp-tool
MCP Configuration
In ~/.claude.json (or %APPDATA%\Claude\claude_desktop_config.json for Claude Desktop), add:
{
"mcpServers": {
"gemini-cli": {
"command": "gemini-mcp"
}
}
}
Alternative via npx (auto-install):
{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
}
}
Or one-line setup:
claude mcp add gemini-cli -- npx -y gemini-mcp-tool
Authentication
Gemini CLI uses your Google account or an API key. Reuse an existing Google account login, or set an API key in the same shell before starting Claude Code so the MCP process inherits it:
export GEMINI_API_KEY='your-key-here'
claude
A separate tool-shell export does not update an already running host or MCP process. If you keep credentials in an environment file, load it explicitly before starting the host rather than relying on automatic .env loading.
- Free key from Google AI Studio
- Flash model (
gemini-2.5-flash) has a generous free tier (500 req/min)
Available MCP Tools
| Tool | Parameters | Description |
|---|---|---|
mcp__gemini-cli__ask-gemini |
prompt (required), model (optional), sandbox (optional) |
Ask Gemini for analysis or research; supports @file syntax |
mcp__gemini-cli__sandbox-test |
prompt (required), model (optional) |
Safe code execution in sandbox |
mcp__gemini-cli__ping |
— | Connection test |
mcp__gemini-cli__help |
— | Show Gemini CLI help |
Verify Setup
gemini --version
Workflow
Step 1: Parse Arguments
Parse $ARGUMENTS for:
- query: The research topic (required)
- max: Override MAX_RESULTS
- year:
常见问题
它搜索哪个年份范围?
默认从 2022 年开始,你可以更改,例如改为从 2020 年开始。
它的目标是找到多少篇论文?
每次搜索的目标约为十五篇论文。
它和 arXiv 技能有什么不同?
arXiv 技能直接搜索并下载预印本。这个技能则借助 Gemini 探索主题更广泛的角度。
详情
作者的原始描述
Search research papers via Gemini for broad literature discovery. Use when user says "gemini search", "gemini papers", "search with gemini", or wants AI-powered literature discovery beyond arXiv/Semantic Scholar indexes.
热度
- GitHub 星标
- 18k
- 排名
- #10541
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ablation-planner
18k帮你的智能体为论文规划消融实验,在主要结果看起来不错之后,选出审稿人很可能会要求的测试。
alphaxiv
18k让你的智能体借助 AlphaXiv 摘要快速阅读一篇研究论文,并以完整文本或 LaTeX 源文件作为备用,只需提供 arXiv 链接或编号。
analyze-results
18k帮你的智能体分析机器学习实验结果,将各次运行与基线进行比较,并把数字整理成清晰的发现和后续步骤。
arxiv
18k让你的智能体在 arXiv 上搜索学术论文、阅读论文详情,并把 PDF 保存到你的文库中,用于某个研究主题。