gemini-search
What it does
This skill uses Gemini to search for academic papers across many angles of a topic. It is for researchers who want broad literature discovery beyond arXiv and Semantic Scholar.
When to use it
- βWhen keyword searches on arXiv or Semantic Scholar miss relevant papers.
- βWhen you want broad literature discovery across several sub-topics.
- βWhen you want papers from a year range you choose, starting with 2022 by default.
Skill link
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/gemini-search/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want Gemini to search for papers on retrieval-augmented generation, including the other names people use for it.β
5 new skills a week. 1 minute to read.
How it works
The agent asks Gemini to split the topic into sub-problems and naming variants. It then collects the papers it finds, aiming for about fifteen results from the minimum year.
Technical content (original SKILL.md)
Original text by the author, straight from 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:
FAQ
What year range does it search?
The default starts at 2022, and you can change it, for example to start at 2020.
How many papers does it aim to find?
The target is about fifteen papers per search.
How is it different from the arXiv skill?
The arXiv skill searches and downloads preprints directly. This skill uses Gemini to explore wider angles of a topic.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 18k
- Ranking position
- #10541
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
ablation-planner
18kHelps your agent plan ablation studies for a paper, choosing the tests reviewers are likely to ask for once the main results look good.
alphaxiv
18kLets your agent quickly read one research paper using AlphaXiv summaries, with full text or LaTeX source as backup, from an arXiv link or ID.
analyze-results
18kHelps your agent analyze machine learning experiment results, compare runs against a baseline, and turn the numbers into clear findings and next steps.
arxiv
18kLets your agent search arXiv for academic papers, read their details, and save PDFs to your library for a research topic.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.