Source profileQuality 93/100Review permissions

wanshuiyin/Auto-claude-code-research-in-sleep/skills/skills-codex/gemini-search/SKILL.md

gemini-search

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.

Source repository stars
15,246
Declared platforms
0
Static risk flags
2
Last source update
2026-08-26
Source checked
2026-08-26

Decision brief

What it does: where it fits

Search query: $ARGUMENTS

Best for

  • Use when user says "gemini search", "gemini papers", "search with gemini", or wants AI-powered literature discovery beyond arXiv/Semantic Scholar indexes.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --skill "skills/skills-codex/gemini-search"
Safe inspection promptEditorial

Inspect the Agent Skill "gemini-search" from https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/014c16e0e58198e4230fafd246b0e6203892422f/skills/skills-codex/gemini-search/SKILL.md at commit 014c16e0e58198e4230fafd246b0e6203892422f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Environment & Setup

    1. Node.js v16.0.0+ 2. Google Gemini CLI — installed and authenticated

    Node.js v16.0.0+Google Gemini CLI — installed and authenticatedgemini-mcp-tool — MCP bridge for Codex CLI (jamubc/gemini-mcp-tool)
  2. 02

    Verify Setup

    Review the “Verify Setup” section in the pinned source before continuing.

    Review and apply the “Verify Setup” source section.
  3. 03

    Workflow

    Parse $ARGUMENTS for: - query: The research topic (required) - max: Override MAXRESULTS - year: Minimum publication year (e.g., 2020-) - code-only: Only include papers with open-source code - venues: Comma-separated venue filter - model: Override DEFAULTMODEL

    query: The research topic (required)max: Override MAXRESULTSyear: Minimum publication year (e.g., 2020-)
  4. 04

    Step 1: Parse Arguments

    Parse $ARGUMENTS for: - query: The research topic (required) - max: Override MAXRESULTS - year: Minimum publication year (e.g., 2020-) - code-only: Only include papers with open-source code - venues: Comma-separated venue filter - model: Override DEFAULTMODEL

    query: The research topic (required)max: Override MAXRESULTSyear: Minimum publication year (e.g., 2020-)
  5. 05

    Step 2: Execute Search (MCP Priority)

    Priority 1 — Gemini MCP (preferred):

    Timeout: 120 secondsStderr: Pipe to /dev/null — contains hook warnings, not part of the responseMCP is preferred because it integrates natively with Claude Code's tool system, handles model selection, and avoids shell escaping issues.

Permission review

Static risk signals and limitations

Network access

medium · line 15

The documentation includes network, browsing, or remote request actions.

| `/exa-search` | Exa API | Broad web search: blogs, docs, news, companies, research papers |

Runs scripts

medium · line 42

The documentation asks the agent to run terminal commands or scripts.

npm install -g @google/gemini-cli

Runs scripts

medium · line 47

The documentation asks the agent to run terminal commands or scripts.

npm install -g gemini-mcp-tool

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score93/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars15,246SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
wanshuiyin/Auto-claude-code-research-in-sleep
Skill path
skills/skills-codex/gemini-search/SKILL.md
Commit
014c16e0e58198e4230fafd246b0e6203892422f
License
MIT
Collected
2026-08-26
Default branch
main
View the original SKILL.md

Gemini Literature Search

Search query: $ARGUMENTS

Role & Positioning

This skill uses Gemini as a broad literature discovery source:

SkillSourceBest for
/arxivarXiv APILatest preprints, cutting-edge unrefereed work
/semantic-scholarSemantic Scholar APIPublished venue papers (IEEE, ACM, Springer) with citation counts
/deepxivDeepXiv CLILayered reading: search, brief, section map, section reads
/exa-searchExa APIBroad web search: blogs, docs, news, companies, research papers
/gemini-searchGemini MCP / CLIAI-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 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)

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 Codex CLI (jamubc/gemini-mcp-tool)
    npm install -g gemini-mcp-tool
    

MCP Configuration

Register the Gemini bridge in Codex CLI:

codex mcp add gemini-cli -- npx -y gemini-mcp-tool

Authentication

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
  • Free key from Google AI Studio
  • Flash model (gemini-2.5-flash) has a generous free tier (500 req/min)

Available MCP Tools

ToolParametersDescription
mcp__gemini-cli__ask-geminiprompt (required), model (optional), sandbox (optional)Ask Gemini for analysis or research; supports @file syntax
mcp__gemini-cli__sandbox-testprompt (required), model (optional)Safe code execution in sandbox
mcp__gemini-cli__pingConnection test
mcp__gemini-cli__helpShow 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: Minimum publication year (e.g., 2020-)
  • code-only: Only include papers with open-source code
  • venues: Comma-separated venue filter
  • model: Override DEFAULT_MODEL

Step 2: Execute Search (MCP Priority)

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
  • Timeout: 120 seconds
  • Stderr: Pipe to /dev/null — contains hook warnings, not part of the response

When to use which:

  • MCP is preferred because it integrates natively with Claude Code's tool system, handles model selection, and avoids shell escaping issues.
  • CLI fallback ensures the skill works even when MCP is not configured or the MCP server process has crashed.

Step 3: Parse Results

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.

Step 4: Present Results

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 ID: if available (for cross-reference with /arxiv)
  • DOI: if available (canonical link for published papers)
  • Code: GitHub/GitLab link or "No"

Step 5: Offer Follow-up

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

Key Rules

  • MCP first, CLI second. Always try mcp__gemini-cli__ask-gemini before falling back to gemini -p.
  • Gemini is a discovery source, not a database. Its results may include papers it "knows about" from training data. Always cross-verify critical details (exact titles, venues, years) via /semantic-scholar or /arxiv when precision matters.
  • Do not use Gemini for citation counts. It may hallucinate citation numbers. Use Semantic Scholar for authoritative citation data.
  • Pipe stderr to /dev/null in CLI mode — Gemini CLI emits hook warnings on stderr.
  • Timeout generously in CLI mode — Gemini's thorough search can take 30-60 seconds. Set timeout to 120s.
  • If both MCP and CLI are unreachable, suggest using /semantic-scholar, /arxiv, or /research-lit "topic" — sources: web as alternatives.

Frequently asked questions

What to verify before installation and use

What does the gemini-search source document cover?

Search query: $ARGUMENTS

How do I install gemini-search?

The source record exposes this install command: npx skills add https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --skill "skills/skills-codex/gemini-search". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged network, exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 9315,246

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

gemini-search

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.

Computed 10024,975

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,246

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

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 10014,678

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance