
Literature Review Agent
Step 3 of the PaperOrchestra pipeline (arXiv:2604.05018).
Install
npx skills add Ar9av/PaperOrchestra --skill literature-review-agent -g -a claude-code -y- Repository
- Ar9av/PaperOrchestra694
- Category
- AI and agents
- Updated
- 24d ago
- License
- See repository
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- Yes, review before use
What it does
Step 3 of the PaperOrchestra pipeline (arXiv:2604.05018). Execute the literature search strategy from outline.json, discover candidate papers via web search, verify them through Semantic Scholar (Levenshtein > 70 fuzzy title match, temporal cutoff, dedup by paperId), cross-corroborate against Crossref + OpenAlex to flag hallucinated citations, build a BibTeX file, and draft Introduction + Related Work using ≥90% of the verified pool. Runs in parallel with the plotting-agent. TRIGGER when the orchestrator delegates Step 3 or when the user asks to "find citations for my paper", "draft the related work", or "build the bibliography".
Literature Review Agent (Step 3)
Faithful implementation of the Hybrid Literature Agent from PaperOrchestra (Song et al., 2026, arXiv:2604.05018, §4 Step 3, App. D.3, App. F.1 p.46).
Cost: ~20, 30 LLM calls. This is one of the two longest steps (the other is plotting). Wall-time floor is set by Semantic Scholar's 1 QPS verification limit.
Inputs
workspace/outline.json, specificallyintro_related_work_planwith the Introduction search directions and the 2-4 Related Work methodology clustersworkspace/inputs/conference_guidelines.md, used to derivecutoff_dateworkspace/inputs/idea.md,workspace/inputs/experimental_log.md, for framing the Intro and grounding the Related Work positioning
Outputs
workspace/citation_pool.json, verified Semantic Scholar metadata for every paper that survived verificationworkspace/refs.bib, BibTeX file generated from the verified poolworkspace/drafts/intro_relwork.tex, drafted Introduction and Related Work sections, written into the template, with the rest of the template preserved verbatim
Two-phase pipeline (App. D.3)
PHASE 1, Parallel Candidate Discovery
For each search direction in introduction_strategy.search_directions:
For each limitation_search_query in each related_work cluster:
- Use the host's web search tool to discover up to ~10 candidate papers.
- Run up to 10 discovery queries in parallel (host-permitting).
- Collect (title, snippet, url) tuples, no verification yet.
→ PRE-DEDUP before Phase 2 (see Step 1.5 below)

