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.
npx skills add https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --skill gemini-search
Search query: $ARGUMENTS
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.
— year: 2020-.mcp__gemini-cli__ask-gemini and gemini-cli v0.40+; explicit gemini-3-pro-preview can be 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)
npm install -g @google/gemini-cli
gemini auth
npm install -g gemini-mcp-tool
Register the Gemini bridge in Codex CLI:
codex mcp add gemini-cli -- npx -y gemini-mcp-tool
Gemini CLI uses your Google account or an API key. Export the key in your shell or project environment:
export GEMINI_API_KEY=your-key-here
gemini-2.5-flash) has a generous free tier (500 req/min)| 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 |
gemini --version
Parse $ARGUMENTS for:
2020-)Priority 1 — Gemini MCP (preferred):
Try calling mcp__gemini-cli__ask-gemini with the search prompt:
mcp__gemini-cli__ask-gemini({
prompt: 'You are a research literature scout. Search comprehensively for papers on: "QUERY"
IMPORTANT CONSTRAINTS:
1. Search from MULTIPLE angles — do not just use the exact query. Decompose the topic into sub-problems, aliases, neighboring tasks, and common benchmark/settings variants.
2. Prefer papers that are genuinely relevant, not merely keyword-adjacent.
3. Include top venues, journals, surveys, recent preprints, and papers with code when available.
4. Focus on papers from MIN_YEAR onward unless older foundational work is necessary.
For EACH paper found, provide ALL of the following in this exact format:
- Title: [exact title]
- Authors: [full author list]
- Year: [publication year]
- Venue: [exact conference/journal name + year, or "arXiv preprint" if not published]
- arXiv ID: [format 2401.12345, or "N/A"]
- DOI: [if available, or "N/A"]
- Code URL: [GitHub/GitLab link if available, or "No code"]
- Summary: [one-sentence core contribution]
Find at least MAX_RESULTS papers with good coverage across:
- strong recent papers from top venues
- surveys/reviews if they exist
- papers with open-source code
- closely related variants of the topic
Format as a numbered list with all fields for each paper.',
model: 'auto-gemini-3'
})
Priority 2 — Gemini CLI fallback (if MCP unavailable):
If mcp__gemini-cli__ask-gemini fails or is not configured, fall back to CLI:
gemini -p 'You are a research literature scout. Search comprehensively for papers on: "QUERY"
...same prompt as above...' 2>/dev/null
/dev/null — contains hook warnings, not part of the responseWhen to use which:
Extract structured paper information from Gemini's response. For each paper, normalize to:
{
title, authors, year, venue,
arxiv_id, // "N/A" if not available
doi, // "N/A" if not available
code_url, // "No code" if not available
summary // one-sentence contribution
}
If Gemini returns fewer papers than requested, note this but do not re-query.
Format results as a structured table:
| # | Title | Venue | Year | Code | Summary |
|---|-------|-------|------|------|---------|
| 1 | ... | NeurIPS 2024 | 2024 | [GitHub](url) | ... |
| 2 | ... | IEEE TWC | 2023 | No | ... |
For each paper, also show:
/arxiv)After presenting results, suggest:
/semantic-scholar "topic" — search published venue papers with citation counts
/arxiv "arXiv:XXXX.XXXXX" — fetch specific preprint details
/research-lit "topic" — sources: gemini, semantic-scholar — combined multi-source review
/novelty-check "idea" — verify novelty against literature
mcp__gemini-cli__ask-gemini before falling back to gemini -p./semantic-scholar or /arxiv when precision matters./dev/null in CLI mode — Gemini CLI emits hook warnings on stderr./semantic-scholar, /arxiv, or /research-lit "topic" — sources: web as alternatives.Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.
Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.
Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.
Take wanshuiyin/auto-claude-code-research-in-sleep-gemini-search from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.