agentleFS
sergeeeysergeeey/Claude-cod-top-2026/skills/extensions/survey-generation/SKILL.md

survey-generation

Skill9 starsChanged 7 months agoMITView on GitHub

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.

2 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If you have a search_semantic_scholar.py-style script installed:

    line 19
  2. Distinctive:

    Search Semantic Scholar / arXiv for papers on the topic

    line 33
  3. Distinctive:

    Only cite papers from the provided list

    line 48
  4. Distinctive:

    Check that cited paper titles are correct

    line 52
  5. Distinctive:

    Verify citations support the claims made

    line 53
  6. Distinctive:

    Remove or correct unsupported citations

    line 54
  7. Distinctive:

    Use NLI (Natural Language Inference) for claim-source faithfulness

    line 55
  8. Distinctive:

    Read previous and following subsections

    line 59
  9. Distinctive:

    Ensure smooth reading experience

    line 62
  10. Distinctive:

    Only cite papers from the collected paper list — never hallucinate citations

    line 81
  11. Distinctive:

    No duplicate subsections across sections

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.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 (external script optional — not shipped by this repo)

If you have a search_semantic_scholar.py-style script installed:

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
  • See also: related-work-writing

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.