survey-generation
Generate complete academic survey papers using multi-LLM parallel outline generation, RAG-based subsection writing, citation validation, and local coherence enhancement. Based on AutoSurvey pipeline. Use for writing comprehensive literature surveys.
Install
npx skills add https://github.com/lingzhi227/agent-research-skills --skill survey-generationSKILL.md
Survey Generation
Generate complete academic survey papers with structured outline, RAG-based writing, and citation validation.
Input
$0— Survey topic or research area
Scripts
Literature search
python ~/.claude/skills/deep-research/scripts/search_semantic_scholar.py \
--query "relevant search query" --max-results 50
References
- Survey prompts (outline, writing, citation, coherence):
~/.claude/skills/survey-generation/references/survey-prompts.md
Workflow (from AutoSurvey)
Step 1: Collect Papers
- Search Semantic Scholar / arXiv for papers on the topic
- Collect 50-200 relevant papers with titles and abstracts
- Filter by relevance and citation count
Step 2: Generate Outline (Multi-LLM Parallel)
- Generate N rough outlines independently (parallel)
- Merge outlines into a single comprehensive outline
- Expand each section into subsections
- Edit final outline to remove redundancies
Step 3: Write Subsections (RAG-Based)
For each subsection:
- Retrieve relevant papers for the subsection topic
- Generate content with inline citations
[paper_title] - Enforce minimum word count per subsection
- Only cite papers from the provided list
Step 4: Validate Citations
For each subsection:
- Check that cited paper titles are correct
- Verify citations support the claims made
- Remove or correct unsupported citations
- Use NLI (Natural Language Inference) for claim-source faithfulness
Step 5: Enhance Local Coherence
For each subsection:
- Read previous and following subsections
- Refine transitions and flow
- Preserve core content and citations
- Ensure smooth reading experience
Step 6: Convert Citations to BibTeX
- Replace
[paper_title]with\cite{key} - Generate BibTeX entries for all cited papers
- Validate all citation keys exist in .bib file
Output Structure
survey/
├── main.tex # Complete survey paper
├── references.bib # All citations
├── outline.json # Survey outline
└── sections/ # Individual section files
Rules
- Only cite papers from the collected paper list — never hallucinate citations
- Each subsection must meet minimum word count
- No duplicate subsections across sections
- Citation validation is mandatory before final output
- Local coherence enhancement must preserve all citations
- The survey should be comprehensive and logically organized
Related Skills
- Upstream: deep-research, literature-search, literature-review
- See also: related-work-writing
Related skills
researchmattpocock575KInvestigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.paper-context-resolverlllllllama451KRigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing Renv-and-assets-bootstraplllllllama450KRigor Setup skill for README-first deep learning repo reproduction. Use when the task is specifically to prepare a conservative conda-first environment, checkpoint and dataset path assumptions, cache location hints, and setup notes before any run on a README-documented repository. Do not use for repo scanning, full orchestration, paper interpretation, final run reporting, or generic environment setup that is not tied to a specific reproduction target.ai-research-explorelllllllama311KRigor Explore compatible skill slug for meaningful and potentially novel deep learning research candidates. Use when the researcher has chosen the task family, dataset, benchmark, evaluation method, provided SOTA references, and wants candidate-only exploration on top of `current_research` with auditable repo understanding, idea gating, fair comparison, and governed experiments written to `explore_outputs/`. Do not use for README-first trusted reproduction, open-ended direction finding, narrow c
