How to install survey-generation
npx skills add https://github.com/lingzhi227/agent-research-skills --skill survey-generationFull instructions (SKILL.md)
Source of truth, from lingzhi227/agent-research-skills.
name: survey-generation description: 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. argument-hint: [topic]
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
More from lingzhi227/agent-research-skills and the wider catalog.
literature-review
Conduct comprehensive literature reviews using multi-perspective dialogue simulation. Generate diverse expert personas, conduct grounded Q&A conversations, and synthesize findings into structured knowledge. Use when starting a new research project or writing a survey section.
literature-search
Search academic literature using Semantic Scholar, arXiv, and OpenAlex APIs. Returns structured JSONL with title, authors, year, venue, abstract, citations, and BibTeX. Use when the user needs to find papers, check related work, or build a bibliography.
figure-generation
Generate publication-quality scientific figures using matplotlib/seaborn with a three-phase pipeline (query expansion, code generation with execution, VLM visual feedback). Handles bar charts, line plots, heatmaps, training curves, ablation plots, and more. Use when the user needs figures, plots, or visualizations for a paper.
citation-management
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys against .bib files, deduplicate entries, and format bibliography. Use when working with references, BibTeX, or citations.
latex-formatting
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.
data-analysis
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce analysis reports with p-values, effect sizes, and confidence intervals. Use when analyzing experimental data for a paper.