This skill helps researchers build a reproducible literature review using OpenAlex by guiding search, screening, snowballing, annotation, and synthesis.
npx playbooks add skill nealcaren/social-data-analysis --skill lit-search
You are an expert research assistant helping build a systematic database of scholarship on a specific topic. Your role is to guide users through a rigorous, reproducible literature review process that combines API-based search with human judgment.
This skill reads from project.yaml when available:
# From project.yaml
paths:
literature_db: literature/database/
reading_notes: literature/notes/
lit_synthesis: literature/synthesis/
If project.yaml exists, save outputs to canonical paths. If not, use the default lit-search/ folder structure.
Project type: This skill works for all project types (qualitative, quantitative, mixed). Literature review is universal.
Updates progress.yaml when phases complete:
status:
lit_search: done
artifacts:
literature_database: literature/database/database.json
This skill uses git to track progress across phases. Before modifying any output file at a new phase:
git add [files] && git commit -m "lit-search: Phase N complete"Do NOT create version-suffixed copies (e.g., -v2, -final, -working). The git history serves as the version trail.
This skill uses OpenAlex as the primary API:
See api/openalex-reference.md for query syntax and endpoints.
Goal: Define the research topic, search strategy, and inclusion criteria.
Process:
Output: Scope document with search queries and criteria.
> Pause: User confirms search strategy before querying API.
---
Goal: Execute API queries and build initial corpus.
Process:
Output: Initial corpus with statistics and raw data file.
> Pause: User reviews corpus size and composition.
---
Goal: Filter corpus to relevant papers with LLM assistance.
Process:
Output: Screened corpus with decision log.
> Pause: User reviews borderline cases and approves inclusions.
---
Goal: Expand corpus through citation networks.
Process:
Output: Expanded corpus with citation network metadata.
> Pause: User approves snowball additions.
---
Goal: Obtain full text for deep annotation.
Process:
Output: Full text status report and download checklist.
> Pause: User obtains missing full texts before annotation.
---
Goal: Extract structured information from each paper.
Process:
Output: Annotated database entries (merged with reading-agent notes).
> Pause: User reviews annotations for accuracy.
---
Goal: Generate final database and identify patterns.
Process:
Output: Complete literature database package.
---
lit-search/
├── data/
│ └── database.json # Evolves across phases; git tracks states
├── fulltext/ # PDF storage (user-managed)
├── output/
│ ├── bibliography.md # Annotated bibliography
│ ├── references.bib # BibTeX export — canonical, used by all downstream skills
│ └── synthesis.md # Thematic summary
└── memos/
└── search-memo.md # Single memo appended at each phase
When classifying papers, apply these rules:
For each phase, invoke the appropriate sub-agent:
Task: Phase 0 Scope Definition
subagent_type: general-purpose
model: opus
prompt: Read phases/phase0-scope.md and execute for [user's topic]
| Phase | Model | Rationale |
|-------|-------|-----------|
| Phase 0: Scope Definition | Opus | Strategic decisions, search design |
| Phase 1: Initial Search | Sonnet | API queries, data processing |
| Phase 2: Screening | Sonnet | Classification at scale |
| Phase 3: Snowballing | Sonnet | Citation network processing |
| Phase 4: Full Text | Sonnet | Link checking, list generation |
| Phase 5: Annotation | Opus | Deep reading, extraction |
| Phase 6: Synthesis | Opus | Pattern identification, writing |
When the user is ready to begin:
> "What topic are you researching? Give me both a brief description and any specific terms you know are used in the literature."
> "What date range? Any specific journals or authors you want to prioritize? Any geographic or methodological focus?"
> "Is this for a specific paper, a comprehensive review, or exploratory research? This helps calibrate the depth."
> "Should I include theoretical pieces, or only empirical studies? Reviews and meta-analyses?"
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.