This skill transforms a lit-synthesis corpus into a structured theoretical map, reading notes, debate maps, and field synthesis for writing-ready insights.
npx playbooks add skill nealcaren/social-data-analysis --skill lit-synthesis
Script paths below are relative to this skill's base directory ($SKILL_DIR), which Claude Code reports when the skill loads.
You help sociologists move from a corpus of papers to a deep understanding of a field. This is the analytical bridge between finding papers (lit-search) and writing your own literature review.
This skill reads from project.yaml when available:
# From project.yaml
paths:
lit_synthesis: literature/synthesis/
Project type: This skill works for all project types. Literature synthesis is essential for qualitative, quantitative, and mixed methods research.
Updates progress.yaml when complete:
status:
lit_synthesis: done
artifacts:
field_synthesis: literature/synthesis/field-synthesis.md
This skill picks up where lit-search leaves off:
| Skill | Role | Key Output |
|-------|------|------------|
| lit-search | Find papers via OpenAlex | database.json, references.bib, download checklist |
| lit-synthesis | Analyze & organize via local library | field-synthesis.md (with theoretical map, thematic clusters, debate map as sections) |
Input: Papers as markdown files in library/ (converted from PDFs) and references.bib (from lit-search or user's existing library)
Output: Organized understanding of the field to support your literature review
Use this skill when users:
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-synthesis: Phase N complete"Do NOT create version-suffixed copies (e.g., -v2, -final, -working). The git history serves as the version trail.
---
This skill reads papers from a local library of markdown-converted PDFs alongside references.bib for bibliographic metadata.
project/
├── references.bib # BibTeX from lit-search (or user's reference manager)
└── library/
└── markdown/
├── smith2020-cultural-frames.md
├── jones2019-institutional.md
└── ... # One .md per paper, converted from PDF
Use the ingest script to add papers to your library:
uv run "$SKILL_DIR"/scripts/ingest.py --file /path/to/paper.pdf
This converts the PDF to markdown in library/markdown/ and adds metadata to references.bib.
For conceptual/semantic search across your library (e.g., finding passages about a concept even when exact terms differ), use the RAG index:
# Build/update the index (run after adding new papers)
uv run "$SKILL_DIR"/scripts/rag.py index
# Search by meaning
uv run "$SKILL_DIR"/scripts/rag.py search "cultural capital and educational attainment"
For exact keyword search, grep the markdown files directly:
grep -ril "cultural capital" library/markdown/
For structured reading notes, use the bundled reading-agent skill:
/reading-agent
Paper: [Author Year - Title]
PDF: /path/to/paper.pdf
DOI: [doi]
The reading-agent skill handles PDF conversion and produces structured notes with:
For batch processing many papers:
"$SKILL_DIR"/scripts/ingest.py --file on each paper /reading-agent
Batch process these papers:
- /papers/smith2020.pdf (DOI: 10.1086/123456)
- /papers/jones2019.pdf (OpenAlex: W2123456789)
reading-notes/ directory---
Goal: Assess what's in the corpus and identify gaps.
Process:
Output: Corpus audit results presented in conversation (statistics and reading priorities).
> Pause: User confirms corpus coverage and reading priorities.
---
Goal: Close read priority papers and extract analytical insights.
Process:
library/markdown/Output: reading-notes/ directory with per-paper notes.
> Pause: User reviews reading notes for key papers.
---
Goal: Identify intellectual traditions and lineages.
Process:
uv run "$SKILL_DIR"/scripts/rag.py search "theoretical concept" to find conceptually related passages across the libraryOutput: ## Theoretical Map section written into field-synthesis.md.
> Pause: User reviews theoretical landscape.
---
Goal: Organize papers by what they study and how.
Process:
Output: ## Thematic Clusters section appended to field-synthesis.md.
> Pause: User reviews clustering logic.
---
Goal: Identify tensions, disagreements, and competing positions.
Process:
Output: ## Debate Map section appended to field-synthesis.md.
> Pause: User reviews debates and selects focus areas.
---
Goal: Create comprehensive understanding ready for writing.
Process:
Output: field-synthesis.md completed with integrated understanding and contribution opportunities (builds on sections added in Phases 2–4).
---
lit-synthesis/
├── reading-notes/ # Phase 1: Per-paper notes (kept for batch production)
│ ├── smith2020-cultural-frames.md # Filename: author-year-short-title
│ ├── jones2019-institutional.md
│ └── ... # Each file has identifier frontmatter
└── field-synthesis.md # Comprehensive synthesis with sections for theoretical map, thematic clusters, debate map
Note: Filenames use author-year-short-title.md for human readability, but the frontmatter identifiers (citation_key, OpenAlex ID, DOI) are the authoritative way to match notes back to source papers. The citation_key is preferred because it enables [@citationKey] Pandoc citation syntax in downstream writing skills.
For each paper in Phase 1, notes must include identifier frontmatter to enable reliable retrieval across the workflow:
---
# Required: At least one unique identifier
citation_key: smithCulturalFrames2020 # Preferred: from lit-search database or references.bib
openalex_id: W2123456789 # From lit-search database
doi: 10.1086/123456 # Digital Object Identifier
# Recommended: Additional metadata for filtering
first_author: Smith
year: 2020
short_title: cultural-frames
---
# Smith 2020 - Cultural Frames
## Bibliographic Info
- Full citation: [from references.bib or database]
- DOI: [link]
- OpenAlex: https://openalex.org/W2123456789
## Core Argument
[1-2 sentences: What is the paper arguing?]
## Theoretical Framework
- Tradition: [e.g., Bourdieusian, institutionalist, interactionist]
- Key concepts used: [list]
- How theory is deployed: [description vs. extension vs. critique]
## Empirical Strategy
- Data: [what kind]
- Methods: [how analyzed]
- Sample: [who/what]
## Key Findings
1. [Finding 1]
2. [Finding 2]
3. [Finding 3]
## Contribution Claim
[What does the paper claim to contribute?]
## Limitations (as noted by authors)
- [Limitation 1]
- [Limitation 2]
## My Notes
[Your analytical observations, connections to other papers, questions raised]
## Key Quotes
> "[Quote 1]" (p. X)
> "[Quote 2]" (p. Y)
## Tags
[theoretical-tradition] [empirical-focus] [method] [relevant-to-my-project]
| Phase | Model | Rationale |
|-------|-------|-----------|
| Phase 0: Corpus Audit | Sonnet | Data processing, statistics |
| Phase 1: Deep Reading | Sonnet | Analytical reading of converted markdown |
| Phase 2: Theoretical Mapping | Opus | Pattern recognition, intellectual history |
| Phase 3: Thematic Clustering | Sonnet | Organization, categorization |
| Phase 4: Debate Mapping | Opus | Tension identification, nuance |
| Phase 5: Field Synthesis | Opus | Integration, strategic judgment |
When the user is ready to begin:
> "Where are your papers? A folder of PDFs? A references.bib from lit-search? How many papers total?"
> "Do you have PDFs converted to markdown in library/markdown/? If not, we'll run "$SKILL_DIR"/scripts/ingest.py --file on each PDF before Phase 1."
> "Which papers are most central to your project? We'll deep-read those first and skim the rest."
> "What are you trying to understand about this field? Are you looking for gaps, debates, or a specific theoretical tradition?"
citation_key, OpenAlex ID, or DOI) in its frontmatter. Prefer citation_key when available.uv run "$SKILL_DIR"/scripts/ingest.py --file <pdf> for each PDF before Phase 1 beginsWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.