Write a literature review by iterating over papers one at a time, accumulating summaries and themes across iterations.
Shared files: progress.txt (done/remaining), learning.txt (cross-paper insights), research_note.md (summaries+themes), synthesis.md (final synthesis).
./agents/skills/templates/{progress,learning,research_note,synthesis}.* into working dir if not exist. List all PDFs; populate progress.txt with unchecked entries.general/mode: subagent)Abstract Extraction (parallelizable, once per paper):
uv run python3 tools/extract_pdf.py <input.pdf>.filename.pdf: abstract text to abstracts.txt. Append only; do not read.Planning (once):
abstracts.txt.progress.txt entries foundational-first. Do not mark any paper done.Reading (sequential, once per paper):
progress.txt → pick next unreviewed paper.learning.txt for accumulated themes/gaps.uv run python3 tools/extract_pdf.py <input.pdf>.templates/research_note.md for format; append new entry to research_note.md. Append only; do not read research_note.md.learning.txt (format from templates/learning.txt). Note contradictions; avoid restating existing themes.progress.txt with one-line note.Synthesis (once, after all papers done):
research_note.md and learning.txt.templates/synthesis.md for format.synthesis.md with all three sections: Synthesis, Contradictions, Open Questions.Writing style (all sub-agents):
Writing style (learning.txt):
synthesis.md written