/research:research-gap-detectfrom research
Builds a mutual citation graph from a research corpus, finds connected components and isolated clusters, and optionally searches for bridge candidates and files gap issues.
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze the research corpus citation graph to find disconnected clusters, isolated papers, and gap opportunities. Optionally searches for bridge paper candidates and files gap issues.
/research-gap-detect--clusters-only (optional)Only run cluster detection — skip bridge search and issue filing.
--file-issues (optional)Auto-file gap issues for each disconnected cluster pair.
--search-bridges (optional)Search external databases for papers that could bridge disconnected clusters.
--min-cluster-size N (optional)Minimum papers in a cluster to report. Default: 2.
--format (optional)Output format: full (default), summary, or json.
/corpus-index-build --graph citation-network)
/corpus-index-build --graph citation-network firstRun BFS/connected-components on the undirected citation graph:
Output:
Connected Components: 9
Cluster 1: "Agentic Workflows" (124 papers)
Hub: REF-016 (34 connections)
Topics: agentic-workflows, multi-agent, orchestration
Sample: REF-001, REF-016, REF-024, REF-121 ...
Cluster 2: "GUI Agents" (31 papers)
Hub: REF-198 (12 connections)
Topics: gui-agents, web-agents, screen-understanding
Sample: REF-198, REF-201, REF-215 ...
...
Cluster 9: "Isolated" (3 papers)
No hub (all degree 1)
REF-299, REF-312, REF-350
For each pair of clusters, assess the gap:
Prioritize gaps by:
Output:
Gap Analysis: 12 cluster pairs
Priority 1: "Agentic Workflows" ↔ "GUI Agents"
Gap: 124 × 31 = 3,844 (size product)
Topic overlap: agent, llm (2 shared tags)
Bridge opportunity: HIGH
Suggested search: "LLM agent GUI interaction orchestration"
Priority 2: "Evaluation" ↔ "Reproducibility"
Gap: 45 × 28 = 1,260
Topic overlap: evaluation, benchmark (2 shared tags)
Bridge opportunity: MEDIUM
Suggested search: "reproducible LLM evaluation benchmarks"
...
For each high-priority gap:
Output:
Bridge Candidates Found: 8
For gap "Agentic Workflows" ↔ "GUI Agents":
1. "WebAgent: World-Centric Web Navigation" (2024)
Cites: REF-016 (Cluster 1), REF-198 (Cluster 2)
Citations: 87
Bridge potential: HIGH
2. "Agent-E: Vision-Language Planning for Web Tasks" (2024)
Cites: REF-024 (Cluster 1), REF-201 (Cluster 2)
Citations: 45
Bridge potential: MEDIUM
For each gap with bridge candidates, file a research induction issue:
## Research Gap: [Cluster A] ↔ [Cluster B]
**Gap Size**: [N × M papers disconnected]
**Bridge Candidates**: [list]
**Suggested Action**: Induct [top candidate] to connect clusters
### Bridge Papers to Induct
- [ ] "WebAgent: World-Centric Web Navigation" — arxiv:2401.XXXXX
- [ ] "Agent-E: Vision-Language Planning" — arxiv:2403.XXXXX
Research Gap Detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Graph: 372 nodes, 1,247 edges
Connected components: 9
Largest cluster: 124 papers ("Agentic Workflows")
Isolated papers: 3
Gap analysis: 12 cluster pairs
HIGH priority: 4 (bridge candidates available)
MEDIUM priority: 5
LOW priority: 3
Bridge candidates found: 8 papers
Issues filed: 4
Papers recommended for induction: 8
| Tool | Approach | Output |
|---|---|---|
research-gap | Intellectual — topic coverage, missing areas, GRADE gaps | Gap report with search queries |
research-gap-detect | Structural — citation graph topology, disconnected components | Cluster map, bridge candidates, filed issues |
research-gap answers "what topics are we missing?" while research-gap-detect answers "which existing papers don't cite each other but should?"
# Full analysis with bridge search
/research-gap-detect --search-bridges
# Just show clusters
/research-gap-detect --clusters-only
# Detect and auto-file issues
/research-gap-detect --file-issues
# Combined: search + file
/research-gap-detect --search-bridges --file-issues
# JSON for visualization
/research-gap-detect --format json
What SKILL.md sets; muted values are Claude Code's defaults
42 skills in this plugin
/best-practices-auditResearch-grounded validation of a target (file, directory, or topic) against external best practices and vendor docs. Produces a cited, evidence-grounded comparison./citation-backfillRebuild bidirectional citation edges in a research corpus. Scans outgoing citations, computes the inverse map, rewrites incoming tables. Fixes one-directional graphs./corpus-exportPackage corpus subsets as distribution archives. Filter by cluster, topic, REF range, or custom expression; bundles PDFs, analysis, citations, and BibTeX into tar.gz.npx claudepluginhub jmagly/aiwg --plugin researchOther plugins' skills for the same job