literature-survey
Skill235 starsChanged 4 months agoMITView on GitHub
Use when the user wants a comprehensive literature survey on a specific research topic. Outputs a complete PDF survey (6–20 pages, 60+ real citations, 100+ recommended) with LaTeX source, topic-specific publication figures, and a classified literature table. Single-stage, no Python runtime.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- yqi96/warrantedtheir own version, first seen Aug 13, 2026
- DanieleMosh/almagest-surveytheir own version, first seen Aug 2, 2026
- haozhou-wong/haozhou-skillstheir own version, first seen Jul 27, 2026
- stc980309-pixel/In-depth-researchtheir own version, first seen Jun 10, 2026
- a-attia/scicomp-research-skillstheir own version, first seen May 20, 2026
- yicheng-fu/skillstheir own version, first seen May 8, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- stc980309-pixel/In-depth-research★ 18same name
- a-attia/scicomp-research-skills★ 13same name
- yqi96/warranted★ 2same name
- DanieleMosh/almagest-survey★ 1same name
- haozhou-wong/haozhou-skills★ 1same name
- yicheng-fu/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- ai4s-agentSkill
- experiment-suiteSkill
- integrity-auditorSkill
- mindmap-renderSkill
- paper-writerSkill
- research-explorerSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Always tell the user that human review by a domain expert is recommended before publication or production use.
- Very specific: line 82
Hard stop: do not draft prose until the bibliography has ≥ 60 entries (100+ recommended) and passes check_bibliography_freshness.py for the …
- Very specific: line 100
Never force a family to fill a slot.
- Distinctive: line 113
Put each figure or table in the section whose prose first introduces or interprets it, immediately after that paragraph in the source.
- Distinctive: line 137
If a gate cannot honestly be met (e.g., the field is genuinely small), say so explicitly.
- Distinctive: line 157
No fabricated citations: Every BibTeX entry must trace back to a URL fetched this session.
- Distinctive: line 158
Honest stop > padding: If the field is too small for 60 real citations, say so to the user instead of inventing entries.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Literature Survey
Overview
End-to-end literature survey builder. Single stage, full quality from the start. The agent (Claude Code / Cursor / Aider / Codex / …) does the entire build using its own tools (WebFetch, WebSearch, Write, Bash). This SKILL is procedure + reference playbooks + LaTeX template — no Python runtime, no LLM SDK.
The substantive work is decomposed into reference playbooks under references/:
| Reference | Topic |
references/00-incremental-execution.md | how to actually do this without losing work: batch sizes, persistence, resume — read first |
references/01-bibliography-expansion.md | grow bibliography.bib to 60+ real entries (100+ recommended) via WebFetch (no memory) |
references/02-survey-figures.md | taxonomy / timeline / coverage-matrix / area-map figures |
references/03-survey-section-playbook.md | per-section structure for survey-shaped papers |
references/04-layout-discipline.md | tables, figures, floats, cross-refs, author + disclosure footnote |
references/05-quality-gate.md | self-check before delivery |
Read the relevant reference before writing, not after. The full pass does not fit in a single turn — references/00-incremental-execution.md is the only execution mode that completes.
When to Use
- User asks for a "survey" / "review" on a specific topic.
- User has a research topic and wants a structured map of the field with citations.
- User needs background reading curated for a thesis chapter or grant section.
When NOT to Use
- User wants original research with experiments →
paper-writer. - User wants only an outline / topic exploration →
research-explorer. - User wants experiment code →
experiment-suite. - Topic is too broad (e.g., "all of AI") — narrow it before starting.
Workflow
Step 1 — Understand the topic and scope
Confirm with the user:
- Topic — specific research area (e.g., "federated learning in healthcare"). If too broad, narrow it first.
- Scope — broad survey of a field vs. focused review of a sub-area.
- Citation budget — minimum 60 unique entries; aim for 100+ (push higher for a broad survey).
- Language — default Chinese in conversation; the LaTeX paper is English unless requested otherwise.
Always tell the user that human review by a domain expert is recommended before publication or production use.
Step 2 — Set up the run directory
TOPIC="<topic>"
SLUG=$(python3 -c "import re,hashlib,sys; t=sys.argv[1]; n=re.sub(r'[\\s_]+','-',re.sub(r'[^\\w\\s-]','',t.lower().strip())).strip('-')[:40].rstrip('-'); h=hashlib.sha1(t.encode()).hexdigest()[:8]; print(f'{n}-{h}')" "$TOPIC")
TS=$(date +%Y-%m-%d_%H%M%S)
RUN=output/literature-survey/$SLUG/$TS/survey_paper
mkdir -p "$RUN/sections" "$RUN/figures"
cp -r literature-survey/templates/survey/. "$RUN/"
ln -sfn "$TS" "output/literature-survey/$SLUG/latest"In commands below $RUN = output/literature-survey/<slug>/latest/survey_paper.
Step 3 — Build the survey (REQUIRED — this is the whole job)
Open references/00-incremental-execution.md first. Then carry out the five tracks below across many turns, persisting state to $RUN/ after every batch.
3.1 Bibliography — 60+ real entries (100+ recommended)
Open: references/01-bibliography-expansion.md.
First (§0 of that reference): read the topic's temporal/scope intent and pick a search posture. AI4S and similarly fast-moving fields default to at least 60% of references from the current calendar year and previous two years. If the topic names a year or says "latest/recent", use the stricter recency-led profile. Historical/theoretical surveys retain a timeline-spanning exception.
Then plan 12–20 query angles, weighted by the posture. For each angle: WebSearch → triage → WebFetch each kept candidate's abstract URL → extract canonical title/authors/year/venue/url → append a BibTeX entry to $RUN/bibliography.bib. Every entry must originate from a URL fetched in this session. Memory entries forbidden.
Hard stop: do not draft prose until the bibliography has ≥ 60 entries
(100+ recommended) and passes check_bibliography_freshness.py for the
recorded profile.
3.2 Figures — 6–10 survey-shaped
Open: references/02-survey-figures.md.
A survey is defined by how well it organises a field. Choose 6–10 topic-specific figures from the families that the evidence supports:
- taxonomy / classification diagram when the field has defensible branches;
- timeline when chronology explains a change in the field;
- area / capability matrix when comparable coverage data exists;
- architecture / mechanism diagram when a shared mechanism needs explanation;
- quantitative trend plots when extracted data supports them;
- citation network or paradigm comparison when the relationship itself matters.
Never force a family to fill a slot. Save each figure into $RUN/figures/ with
reproducible source alongside.
3.3 Sections — survey-shaped prose
Open: references/03-survey-section-playbook.md.
Survey sections differ in shape from research-paper sections. Order: introduction → background → methods (themed survey) → discussion → conclusion → related work → abstract last.
3.4 Layout discipline
Open: references/04-layout-discipline.md.
Put each figure or table in the section whose prose first introduces or
interprets it, immediately after that paragraph in the source. Use standard
LaTeX floats with booktabs for tables and choose [htbp], [tbp], or [p]
from the artifact's size and narrative role; do not force a common position or
section. Use ~\cite{} and ~\ref{}. Let LaTeX assign citation, figure,
table, equation, and section numbers from 1 in first-appearance order; never
type display numbers manually. Set \author{AI4S Agent} with a \thanks
footnote that always recommends human review. Surveys carry no simulated
numerical experiments, so do not include a simulated clause.
3.5 Compile + quality gate
cd "$RUN"
pdflatex -interaction=nonstopmode main.tex
bibtex main
pdflatex -interaction=nonstopmode main.tex
pdflatex -interaction=nonstopmode main.texOpen: references/05-quality-gate.md. Survey-specific targets: ≥ 60 bib
entries (100+ recommended), ≥ 6 pages, and only figures justified by the topic's
evidence.
If a gate cannot honestly be met (e.g., the field is genuinely small), say so explicitly. Do not pad.
Step 4 — Deliver
Report:
output/literature-survey/<slug>/latest/survey_paper/main.pdfoutput/literature-survey/<slug>/latest/survey_paper/— complete LaTeX project (reproducible)output/literature-survey/<slug>/latest/literature_table.md— classified literature table (write this alongside the bib build)- Stats per the report format in
references/05-quality-gate.md.
Cross-skill data flow (path convention)
A downstream skill (e.g., paper-writer) computing the same slug for the same topic will look here:
output/literature-survey/<slug>/latest/survey_paper/bibliography.bib— bib starting point.
Important rules
- No LLM SDK in this skill. No
import anthropic/import openai. The skill is SKILL.md + references + LaTeX template only. - No fabricated citations. Every BibTeX entry must trace back to a URL fetched this session. Real or weaker claim — never fake reference.
- Honest stop > padding. If the field is too small for 60 real citations, say so to the user instead of inventing entries.
- Survey scope is 6–20 pages with 60–150 references (100+ recommended). For longer or shorter formats, adjust scope explicitly with the user up front.
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
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.

