Skip to content
Back to skills

Survey Generation

ASecurity

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.

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add sergeeey/Claude-cod-top-2026 --skill survey-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Survey Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Survey Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sergeeey-survey-generation/badge)](https://www.skillsdirectory.com/skills/sergeeey-survey-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.
Triggers: /survey-generation, обзорная статья, survey paper, literature survey, AutoSurvey.
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 (external script optional — not shipped by this repo)
If you have a `search_semantic_scholar.py`-style script installed:
```bash
python search_semantic_scholar.py \
  --query "relevant search query" --max-results 50
```
Otherwise, use `WebFetch https://api.semanticscholar.org/graph/v1/paper/search?query=...`.

## References

- Survey prompts (outline, writing, citation, coherence): `~/.claude/skills/survey-generation/references/survey-prompts.md`

## Workflow (from AutoSurvey)

### Step 1: Collect Papers
1. Search Semantic Scholar / arXiv for papers on the topic
2. Collect 50-200 relevant papers with titles and abstracts
3. Filter by relevance and citation count

### Step 2: Generate Outline (Multi-LLM Parallel)
1. Generate N rough outlines independently (parallel)
2. Merge outlines into a single comprehensive outline
3. Expand each section into subsections
4. Edit final outline to remove redundancies

### Step 3: Write Subsections (RAG-Based)
For each subsection:
1. Retrieve relevant papers for the subsection topic
2. Generate content with inline citations `[paper_title]`
3. Enforce minimum word count per subsection
4. Only cite papers from the provided list

### Step 4: Validate Citations
For each subsection:
1. Check that cited paper titles are correct
2. Verify citations support the claims made
3. Remove or correct unsupported citations
4. Use NLI (Natural Language Inference) for claim-source faithfulness

### Step 5: Enhance Local Coherence
For each subsection:
1. Read previous and following subsections
2. Refine transitions and flow
3. Preserve core content and citations
4. Ensure smooth reading experience

### Step 6: Convert Citations to BibTeX
1. Replace `[paper_title]` with `\cite{key}`
2. Generate BibTeX entries for all cited papers
3. 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: [literature-review](../literature-review/)
- See also: [related-work-writing](../related-work-writing/)

Files in this skill

  • SKILL.md3.1 KB
  • plugin.json388 B
  • references/survey-prompts.md10.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.