mine_gaps — Claude Code prompt for research gaps
The mine_gaps Claude Code prompt maps a research field and identifies gaps supported by paper notes. Each gap needs evidence tied to a paper and page numbers.
no license ★ 159 updated 2026-11-02
.claude/commands/mine_gaps.mdWhat mine_gaps does
The prompt builds a field overview from notes on papers, first describing the state of the research and then grouping papers by approach. It looks for untested assumptions, conflicting findings, author-stated limitations, missing settings or data, weaknesses in evaluation, and methods that could transfer across studies.
Each proposed gap must cite a paper ID and relevant pages, and be labelled as author-admitted or inferred. The prompt also asks for up to three papers that come closest and two or three English search queries for independent checking. Low-quality papers cannot serve as the sole basis for an argument. Supply a research idea and paper notes; $max_gaps sets the gap limit and $language sets the response language.
What it helps with
- group papers by their research approach
- spot conflicting findings across studies
- surface untested assumptions and stated limitations
- tie each proposed gap to papers and page numbers
Example prompts for the agent
/mine_gaps— map these paper notes and identify evidence-backed research gaps.- Review these notes: outline the field, group the papers, then list gaps with supporting page references.
- For each gap, name nearby papers and write English search queries to check for related work.
How to install mine_gaps
Manually: put the files in place
.claude/commands/mine_gaps.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about mine_gaps
How do I install mine_gaps in Claude Code?
Save the prompt as .claude/commands/mine_gaps.md. Then invoke it with /mine_gaps.
What does mine_gaps do?
It uses notes on research papers to map a field, group studies by approach, and identify gaps backed by paper references and page numbers.
What does mine_gaps need to work?
Provide a research idea and paper notes. The prompt uses $max_gaps to set the number of gaps and $language to choose the response language.