Skip to content
Skillpedia
Research18k Β· #10541

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.md

Copy 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

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/gemini-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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-gemini and gemini-cli v0.40+; explicit gemini-3-pro-preview is silently downgraded to gemini-2.5-pro on 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 older gemini-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 your gemini-cli < v0.40)

Environment & Setup

Prerequisites

  1. Node.js v16.0.0+
  2. Google Gemini CLI β€” installed and authenticated
    npm install -g @google/gemini-cli
    gemini auth
    
  3. 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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularity

GitHub stars
18k
Ranking position
#10541
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills