Imported from wanshuiyin/auto-claude-code-research-in-sleep (
skills/gemini-search/SKILL.md). Install upstream withnpx skills add wanshuiyin/auto-claude-code-research-in-sleep --skill gemini-search. Copyright stays with the author.
Gemini Literature Search
Use Gemini through the Antigravity CLI (agy) to discover papers across related terminology, methods and benchmarks. Input: $ARGUMENTS.
Search
-
Read the topic and optional filters:
— max:(default 15),— year:(default 2022 onward),— venues:,— code-only, and— model:. Example:/gemini-search "attention kernels" — max: 5 — code-only. -
Use the user's signed-in Antigravity CLI. If setting it up for the first time, install the CLI from Google Antigravity, open
agyto sign in and select a Gemini model.agy modelslists the available IDs. -
Build a search prompt with the topic and filters. Ask Gemini to use web search, try relevant aliases, and return up to the requested number of papers. For each, request the exact title, authors, year, venue, primary source URL (arXiv, DOI or publisher), code URL when available, and one sentence on the contribution. Pass the prompt as one quoted argument:
agy --sandbox -p "$prompt"This uses the model selected in AGY. For an explicit Gemini model, run
agy --sandbox --model "$model" -p "$prompt"with the requested ID. Report authentication, model or search errors so the user knows which source ran. -
If
agyis absent, an existingmcp__gemini-cli__ask-geminitool orgemini -p "$prompt"can run the same query. Pass an explicit model through the MCPmodelfield or the CLI--modeloption. If no route is available, report that Gemini was skipped. For a combined search, continue with the other requested sources.
Results
Open the primary links and match the titles and bibliographic details before including papers in the results. Keep unresolved leads separate. Use Semantic Scholar for citation counts if requested. Return a compact table of linked papers, venue, year, code and contribution. Include arXiv IDs and DOIs when available so the caller can deduplicate results.
To combine Gemini with indexed search, use /research-lit "attention kernels" — sources: gemini, semantic-scholar.
