nealcaren/social-data-analysis/reading-agent
Claude Code and agent skill by nealcaren/social-data-analysis
- community
Checking that the SKILL.md file is still in the repository.
Create structured reading notes for academic papers. Converts PDFs to markdown and extracts bibliographic info, core arguments, theoretical frameworks, findings, and key quotes. Supports single-paper deep reading or batch processing with haiku agents.
Install
npx vskill@latest install nealcaren/social-data-analysis/reading-agentSKILL.md
Reading Agent
Script paths below are relative to this skill's base directory ($SKILL_DIR), which Claude Code reports when the skill loads.
Create structured reading notes for academic papers. This skill can operate standalone or integrate with lit-synthesis.
Project Integration
This skill reads from project.yaml when available:
Project type: This skill works for all project types. Reading and analyzing literature is essential for qualitative, quantitative, and mixed methods research.
Saves reading notes to literature/synthesis/reading-notes/ by default, or to the path specified in project.yaml.
File Management
This skill uses git to track progress. After creating or updating reading notes:
- Stage and commit:
git add [files] && git commit -m "reading-agent: Notes for [author-year]"
Do NOT create version-suffixed copies (e.g., -v2, -final, -working). The git history serves as the version trail.
When to Use This Skill
Use this skill when you need to:
- Create reading notes for a single paper
- Batch-process multiple PDFs into structured notes
- Extract consistent metadata and analysis across papers
- Prepare papers for literature synthesis
Quick Start
Or with a citation key:
Workflow
Step 0: Identify the Paper
Ask the user for:
- Paper source: PDF path, citation key (for local library lookup), or pasted text
- Identifiers (at least one, prefer citation key):
- Citation key (e.g.,
smithCulturalFrames2020) — from lit-search database or references.bib - OpenAlex ID (e.g.,
W2123456789) - DOI (e.g.,
10.1086/123456)
Step 1: Access Paper Content
If PDF or EPUB provided (new paper): Ingest into the local library (converts to markdown + adds metadata to references.bib):
If PDF provided for a paper already in references.bib (e.g., from lit-search but PDF was missing):
If citation key provided: Look up the key in references.bib to find the md_path field, then read the markdown file at that path directly.
If markdown/text: Use directly.
Step 2: Read and Extract
For single-paper mode (default): Read the paper directly and create structured notes.
For batch mode: Spawn haiku agents using the Task tool:
Step 3: Save Notes
Save reading notes to: reading-notes/author-year-slug.md
The filename uses author-year-slug for readability, but frontmatter identifiers are the authoritative match back to source papers.
Reading Note Template
All reading notes must follow this structure with required frontmatter:
Batch Processing Mode
For multiple papers:
- Gather papers: List of PDFs, EPUBs, or citation keys
- Ingest all files: Run
uv run "$SKILL_DIR"/scripts/ingest.py --file <pdf>on each - Prepare identifiers: From lit-search database or references.bib
- Spawn parallel agents: Multiple haiku agents via Task tool
- Collect outputs: Save to
reading-notes/directory
Example batch invocation:
The skill will spawn haiku agents in parallel for cost-effective processing.
Haiku Agent Prompt
When spawning agents for batch processing, use this prompt template:
Scripts
PDF/EPUB Conversion
Always use ingest.py to add papers — this ensures the PDF, markdown, and references.bib metadata stay linked via the citation key:
Uses docling for PDFs (with --image-export-mode placeholder) and pandoc for EPUBs. Files are organized as library/pdfs/{citekey}.pdf and library/markdown/{citekey}.md.
Setup
Install dependencies:
Integration with Other Skills
From lit-search: Use the database.json to get OpenAlex IDs and DOIs for papers you've identified.
Finding related papers: Use semantic search to discover related papers in your library:
To lit-synthesis: Reading notes feed directly into:
- Phase 2: Theoretical mapping (uses Tradition and Key concepts)
- Phase 3: Thematic clustering (uses Findings and Methods)
- Phase 4: Debate mapping (uses Connections and Analytical Notes)
Model Recommendations
| Mode | Model | Rationale | |
|---|---|---|---|
| Single paper (deep) | Opus | Nuanced analysis, theoretical depth | |
| Batch processing | Haiku | Cost-effective structured extraction |
Use Opus when you need to understand how an argument is constructed. Use Haiku when you need consistent extraction across many papers.
Output Directory Structure
Each file contains full structured notes with frontmatter identifiers for reliable cross-referencing.
Starting the Reading
When the user invokes this skill:
- Identify source:
> "What paper do you want to read? Provide a PDF path, citation key (for local library lookup), or paste the text."
- Gather identifiers:
> "What identifiers do you have? I need at least one of: citation key, OpenAlex ID, or DOI."
- Choose mode (if multiple papers):
> "Single paper or batch? For batch, I'll spawn haiku agents to process in parallel."
- Confirm output location:
> "I'll save reading notes to reading-notes/. Does that work, or do you want a different location?"
- Begin reading: Convert PDF if needed, then extract structured notes.
Key Reminders
- Identifiers are essential: Every note needs at least one unique identifier in frontmatter (prefer
citation_key) - Quotes need page numbers: Include (p. X) for every quote
- Arguments over summaries: Capture what the paper argues, not just what it describes
- Tensions are valuable: Note unresolved questions and potential gaps
- Consistency enables synthesis: Following the template exactly allows cross-paper analysis
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/reading-agent/skills/reading-agent/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nealcaren/social-data-analysis/reading-agent)