/research-papers:paper-reader [path/to/paper.pdf]from research-papers
Reads scientific papers (PDF) and extracts implementation-focused, high-recall structured notes. Handles long papers via chapter-aligned chunks; outputs organized notes in a papers/ directory.
Ships in research-papers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read a scientific paper and create comprehensive implementation-focused notes.
This skill is a checklist, not an outcome sketch.
Read Image in Claude Code or view_image in Codex) to inspect pngs/page-*.png.page-000.png and the platform refused or failed.The target output in this repo is a dense paper surrogate, not a sharpened executive summary.
Paper extraction is high-stakes and context-heavy. If you dispatch any subagent for reading, chunk extraction, synthesis, abstract extraction, citations extraction, or end-to-end paper processing:
The command examples below use scripts/... paths that are relative to this skill's directory. Resolve them against the installed skill location, not the user's project root.
This skill creates required local binary paper artifacts, but those artifacts are not source-control artifacts.
paper.pdf inside its own paper directory as the canonical local reading source.pngs/page-*.png inside the paper directory as the canonical page-image lane.paper.pdf, *.pdf, pngs/, *.png, _reading_montage/, or other generated page-image outputs.paper.pdf or page images merely because they must not be committed. If they are in the wrong place, move them to the correct local paper directory or stop and report the blocker.git add or git commit in a repo that has paper artifacts, inspect the exact paths being staged. The commit must include only markdown, JSON metadata, indexes, rules, or other intentional text artifacts.paper.pdf or page images are already tracked or already committed, stop and report the exact tracked paths and commits. Do not repair by deleting the local files.If the argument is a directory, use it directly. If it's a PDF file, use paper_hash.py lookup to find a matching paper directory:
paper_path="$ARGUMENTS"
if [ -d "$paper_path" ]; then
paper_dir="$paper_path"
elif [ -f "$paper_path" ]; then
HASH_SCRIPT="scripts/paper_hash.py"
# Detect the interpreter: Windows ships only `python` (pyenv-win shim), not `python3`.
PYTHON=$(command -v python3 || command -v python)
if [ -f "$HASH_SCRIPT" ] && [ -n "$PYTHON" ]; then
# No 2>/dev/null swallow: a missing interpreter or real error must surface,
# otherwise the lookup silently returns empty and every paper looks new.
paper_dir=$("$PYTHON" "$HASH_SCRIPT" --papers-dir papers/ lookup "$(basename "$paper_path" .pdf)")
[ -n "$paper_dir" ] && paper_dir="papers/$paper_dir"
else
basename=$(basename "$paper_path" .pdf)
paper_dir=$(ls -d papers/*/ 2>/dev/null | grep -i "${basename%_*}" | head -1)
fi
fi
Continue to Step 1.
ls -la "$paper_dir"/*.md 2>/dev/null
ls "$paper_dir"/pngs/ 2>/dev/null | head -3
ls "$paper_dir"/*.pdf 2>/dev/null | head -1
notes.md? Incomplete — continue to Step 1.notes.md, but paper.pdf and pngs/page-000.png already exist? This is a rerun/regeneration case. Do not rename or move files. Reuse the existing paper directory, inspect the existing page images directly, and continue to Step 1 with the existing assets.notes.md, paper.pdf exists, but pngs/ is missing or incomplete? Regenerate pngs/ from the existing paper.pdf, then continue.rm "$paper_path"). NEVER delete a PDF that lives inside its own paper directory (e.g., papers/Author_Year/paper.pdf). Report "Already complete," stop.First determine the working PDF path:
paper_path="$ARGUMENTS"
if [ -d "$paper_path" ]; then
paper_dir="$paper_path"
work_pdf="$paper_dir/paper.pdf"
else
work_pdf="$paper_path"
fi
If you are in a rerun/regeneration case and "$paper_dir"/pngs/page-000.png already exists, reuse the existing page images. Do not reconvert just because notes.md is missing.
Rasterization is via scripts/render_pages.py, which keeps the house magick workflow.
render_pages.py uses ImageMagick magick -density 150 -quality 90 -resize '1960x1960>'
as the primary rasterizer (the tuned house settings), and cascades to pdftoppm
(poppler) and then PyMuPDF (fitz, pure-Python, no Ghostscript) when magick is missing
or fails at render time — so a machine without Ghostscript (e.g. Windows) still renders.
Set the interpreter once:
PYTHON=$(command -v python3 || command -v python)
Get page count (PyMuPDF, no poppler needed; pdfinfo only as a fallback):
"$PYTHON" scripts/render_pages.py count "$work_pdf" 2>/dev/null \
|| pdfinfo "$work_pdf" 2>/dev/null | grep Pages \
|| echo "page count unavailable"
If pngs/page-000.png does not already exist, extract page 0 first in a temp dir for metadata:
tmpdir=$(mktemp -d)
"$PYTHON" scripts/render_pages.py render "$work_pdf" "$tmpdir" --dpi 150 --first 0 --last 0
# -> $tmpdir/page-000.png
Read either the existing pngs/page-000.png or $tmpdir/page-000.png to extract author, year, and title. Determine directory name: LastName_Year_2-4WordTitle (e.g., Mack_2021_AccessibilityResearchSurvey).
Identity verification (F6). If the caller passed an expected title or DOI (for
a retrieved or adopted PDF), verify that the rendered page-000 matches it before
proceeding. Title-fallback retrieval and loose user PDFs can be the wrong paper:
PYTHON=$(command -v python3 || command -v python)
# extract page-000 text however the platform allows, then:
"$PYTHON" scripts/pdf_adoption.py identity --expected "$EXPECTED_TITLE_OR_DOI" --page0 page0.txt
If compare_identity reports MISMATCH, HALT and report the mismatch with a
clear message; do not process a paper whose title page does not match the request.
For a new paper, set:
paper_dir="./papers/Author_Year_ShortTitle"
If this is a new paper, create the output directory and convert all pages:
mkdir -p "$paper_dir/pngs"
# Move source PDF into paper directory — skip if already there
if [ "$(realpath "$work_pdf")" != "$(realpath "$paper_dir/paper.pdf")" ]; then
mv "$work_pdf" "$paper_dir/paper.pdf" # MUST be mv, NEVER cp
fi
"$PYTHON" scripts/render_pages.py render "$paper_dir/paper.pdf" "$paper_dir/pngs" --dpi 150
rm -rf "$tmpdir"
If this is an existing paper directory with paper.pdf present but missing/incomplete pngs/, regenerate:
mkdir -p "$paper_dir/pngs"
"$PYTHON" scripts/render_pages.py render "$paper_dir/paper.pdf" "$paper_dir/pngs" --dpi 150
rm -rf "$tmpdir"
CRITICAL: Use mv, NEVER cp. The root-level PDF must be removed. A PDF left in papers/ root is indistinguishable from an unprocessed paper.
CRITICAL: Never write temp files to papers/ root. Use mktemp -d for temp work.
Count pages:
ls "$paper_dir"/pngs/page-*.png | wc -l
Decision:
Foundational books are usually cited for a single chapter, not the whole volume.
If the caller passes --chapter "<title or N>" or --pages <start-end>, ingest
only that scope instead of the whole book:
PYTHON=$(command -v python3 || command -v python)
"$PYTHON" - "$work_pdf" "<chapter title or N>" <<'PY'
import sys, render_pages
toc = render_pages.get_toc(sys.argv[1])
start, end = render_pages.resolve_chapter_range(toc, sys.argv[2])
print(start, end)
PY
(--pages X-Y skips the TOC step and uses the given range directly.)render_pages.py render ... --first <front> --last <end>), not all pages.paper.pdf as the whole book on disk; only the notes are scoped.notes.md stating exactly
which chapter / page range was ingested and that the rest is intentionally
unextracted.metadata.json.Set document_type in metadata.json. For book_chapter, also carry
container_title, chapter, pages, publisher, and address. Naming: the
directory names the chapter (Geertz_1973_ThickDescription) while
paper.pdf is the whole book - record this in the scope banner. abstract.md
is optional and clearly marked for book chapters (substitute the author's
one-clause thesis with a note saying so). Emit the right BibTeX entry type via
scripts/export_bibtex.py (@incollection for a chapter with booktitle /
publisher / pages, @book for a whole book).
--profile theory) (F16)For non-empirical interpretive-theory works, the empirical scaffold (Study Design,
Key Equations, Parameters, Effect Sizes, Testable Properties) is dead weight. When
--profile theory is passed (or the work is clearly non-empirical), swap those
sections for: Key Concepts and Definitions, Core Argument / Thesis,
Arguments Against Prior Work, Design Rationale,
Load-Bearing Propositions (in place of Testable Properties), and
Relevance to Project.
Keep page-cited verbatim quotes mandatory.
Before long extraction, inspect page-000.png from the paper's pngs/ directory using the platform's local image-reading capability (for example, Read Image in Claude Code or view_image in Codex).
page-000.png and the platform prevented it.Once page-000.png is visible, continue immediately to Step 2A or Step 2B.
CRITICAL: Read EVERY page image. No skipping, no sampling, no "reading enough to get the gist." Read every single page-NNN.png file from page-000 through the last page. If you have 34 pages, read 34 page images. Agents routinely skip pages to save tokens — this produces incomplete notes that miss equations, parameters, and key details buried in middle sections. The entire point of reading the paper is completeness. If you skip pages, the notes are worthless.
For papers with 300 pages or fewer, the assigned worker must do this reading itself in a single agent context. Do not dispatch additional readers, do not split the paper across workers, and do not sample pages. Every paper in this range fits comfortably in a long-context model's working memory.
Incremental write discipline. Take thorough notes as you go AND write them out periodically. The dominant silent-failure mode is buffering everything in context and trying to issue a single final Write at the end — if context fills before that Write fires, no output reaches disk. After every ~15-25 pages of reading, append your accumulated extraction to notes.md (or a working scratch file you will promote to notes.md at the end). If your context starts feeling tight, write what you have now before reading more pages.
Continue to Step 3.
Only book-length works reach this branch. Prefer chapter-aligned chunking over fixed-page chunking. Fall back to 50-page chunks only when no usable TOC is detectable.
Chunk dispatch is the caller's responsibility, not this skill's. A subagent invoked for a single paper cannot itself spawn parallel chunk workers (Claude Code supports only one level of delegation). If you hit this branch, stop and report the page count to your caller so they can dispatch one worker per chunk at the top level. Do not sample pages to stay in context; sampling produces worthless notes. Do not attempt to dispatch subagents from within a subagent.
Before dispatching anything, inspect the table of contents to learn the chapter structure:
# Quick low-res extract of the front matter / TOC pages to a temp dir
tmp=$(mktemp -d)
"$PYTHON" scripts/render_pages.py render "$paper_dir/paper.pdf" "$tmp" --dpi 100 --first 0 --last 32
# -> $tmp/page-000.png .. page-032.png
Read the TOC pages and extract: every chapter number, its title, its starting printed book page number, and the page count of the book overall. This locks down the chapter boundaries, even though the PDF index offset may not be constant — front matter (roman numerals), Part dividers, and blank pages introduce drift between PDF idx and printed book page (typical drift: +16 to +25 across an 800-page Springer monograph). Chunk workers will be told to cite the printed page number from the page header, not the PDF index, so the offset drift does not propagate downstream.
Group chapters into 7-10 worker chunks sized 50-150 pages each, aligned to chapter boundaries. Goals:
Each chunk gets a descriptive tag like 01-front-intro, 05-bf-geometry, 10-future-references. Output files go to ./papers/Author_Year_ShortTitle/chapters/chapter-{TAG}.md.
If the paper has no usable chapter structure (proceedings volume, festschrift, edited collection without unified chapters), fall back to 50-page chunks with chunk files at ./papers/Author_Year_ShortTitle/chunks/chunk-STARTPAGE-ENDPAGE.md.
Write to ./prompts/paper-chunk-reader.md:
# Task: Read Paper Chunk and Extract Notes
## Context
You are one of N parallel chunk readers extracting dense notes from [PAPER TITLE].
Page images: `./papers/Author_Year_ShortTitle/pngs/page-NNN.png`
Use the strongest available full-size model for this job. Do not use any mini/small tier model.
## Your Chunk
- CHUNK_NUM / CHUNK_TITLE: [...]
- BOOK_PAGE_RANGE: [printed page numbers covered]
- PDF_IDX_RANGE: [page-image filename indices]
- OUTPUT_FILE: chapters/chapter-{TAG}.md (or chunks/chunk-START-END.md for fallback)
Read EVERY page image in your range. Be exhaustive — extract every numbered definition, theorem, proposition, lemma, corollary, equation, algorithm, parameter, worked example, figure description, criticism of prior work, and design rationale. Cite the **printed book page number** visible at the top/bottom of each page image, not the PDF index.
## CRITICAL: Incremental write discipline
After reading every ~10-15 pages, append your accumulated extraction to your output file via Write. Do not try to defer writing until "the end" — context exhaustion before a single final Write is the dominant silent-failure mode. If your context starts feeling tight, stop reading more pages and write what you have right now, then continue.
## Output Format
Standard sections (omit any that are truly absent for your chunk):
- Sections covered (with book page numbers)
- Chapter overview (2-4 paragraphs)
- Definitions (numbered, verbatim formal statement)
- Theorems / propositions / lemmas / corollaries (with proof ideas and consequences)
- Equations (one LaTeX block per equation, variables defined after)
- Geometric structures / data structures
- Algorithms (numbered steps)
- Parameters / quantities (table with Page column)
- Worked examples
- Figures of interest (with page references)
- Criticisms of prior work
- Design rationale
- Open / research questions
- Notable references cited (with citation keys)
- Implementation notes for [downstream project]
- Quotes worth preserving (verbatim short snippets)
## CRITICAL: Parallel Swarm Awareness
You are running alongside other chunk readers.
- Only write to YOUR own output file in chapters/ or chunks/.
- NEVER use git restore/checkout/reset/clean — siblings have uncommitted work.
- Do NOT modify notes.md, description.md, abstract.md, citations.md, metadata.json, or any file outside your assigned output.
- Do NOT spawn further subagents — one level of delegation only.
- Boundary tolerance: if pages at the start or end of your PDF range belong to an adjacent chunk's chapter, capture them briefly and note that the neighbour has primary responsibility.
mkdir -p "./papers/Author_Year_ShortTitle/chapters" # for chapter-aligned mode
# or
mkdir -p "./papers/Author_Year_ShortTitle/chunks" # for fixed-page fallback mode
If you are the top-level caller (not a subagent), dispatch one chunk worker per range simultaneously. Each reads its page range and writes to its assigned output file. Use the strongest available full-size model for every chunk worker. Never use a mini/small tier worker for chunk extraction.
If you are a subagent invoked for this paper, you cannot dispatch further subagents. Stop, report the page count and the required chunk ranges to your caller, and let them re-dispatch flat.
Do not dispatch chunk workers until at least one local page image from this paper has been successfully inspected. If you cannot inspect even page-000.png, that is a concrete blocker and you should stop there.
If after a reasonable wait (~60-90 minutes for a 50-150pp chunk) a worker has not written any output to its assigned file, treat it as silently stalled. The dominant failure mode is workers buffering all extraction in context and never issuing a Write — they consume their context budget on reading, hit the limit, and die with nothing on disk. Mitigation:
ls -la chapters/ that no output file exists for the stalled chunk.If you can SendMessage to the running agent (Claude Code: pass the agent's internal id as the to field), a friendly "finalize your output" nudge is also non-destructive and may unblock a worker that is between tool calls.
The synthesis output is a master notes.md that acts as a navigation surface over the per-chapter files, not a single dense file containing everything. The chapter files hold the depth; the master notes provide the cross-cutting structure.
For chapter-aligned mode, write notes.md with:
chapters/chapter-{TAG}.md file with a one-paragraph topical descriptionFor fixed-page fallback mode, read all chunks/chunk-*.md files and synthesize into notes.md in the standard Step-3 format, deduplicating and organising rather than compressing. The chunks become reference material; the master notes is what readers consult first.
If you can dispatch a synthesis subagent, do so using the strongest available full-size model. Otherwise do it yourself.
Continue to Step 3 for the standard fields. For chapter-aligned mode, Step 3's notes-format becomes the master notes; per-chapter content lives in chapters/.
Be exhaustive. Extract every equation, every parameter, every algorithm, every stated limitation, every criticism of prior work, and every explicit design choice the authors justify. The goal is that someone implementing this paper never needs to open the PDF. More detail is better than elegant compression.
Write to ./papers/Author_Year_ShortTitle/notes.md:
---
title: "[Full Paper Title]"
authors: "[All authors]"
year: [Year]
venue: "[Journal/Conference/Thesis]"
doi_url: "[If available]"
---
# [Full Paper Title]
## One-Sentence Summary
[What this paper provides for implementation - be specific]
## Problem Addressed
[What gap or issue does this paper solve?]
## Key Contributions
- [Contribution 1]
- [Contribution 2]
## Study Design (empirical papers)
- **Type:** [RCT / cohort / case-control / meta-analysis / systematic review / cross-sectional / etc.]
- **Population:** [N, demographics, inclusion/exclusion criteria] *(p.N)*
- **Intervention(s):** [what was administered, dosage, duration, route] *(p.N)*
- **Comparator(s):** [placebo, active control, standard of care] *(p.N)*
- **Primary endpoint(s):** [what was measured as the main outcome] *(p.N)*
- **Secondary endpoint(s):** [additional outcomes] *(p.N)*
- **Follow-up:** [duration, completeness, dropout rates] *(p.N)*
*Leave this section empty for non-empirical papers (pure theory, algorithms, proofs).*
## Methodology
[High-level description of approach — experimental design, computational method, analytical framework, etc.]
## Key Equations / Statistical Models
$$
[equation in LaTeX]
$$
Where: [variable definitions with units]
*(p.N)*
*Include statistical models (regression specifications, survival models, Bayesian priors) alongside mathematical equations. For clinical papers, capture the primary analysis model even if not presented in formal notation.*
## Parameters
| Name | Symbol | Units | Default | Range | Page | Notes |
|------|--------|-------|---------|-------|------|-------|
*Capture every measurable quantity: physical constants, algorithm thresholds, dosages, sample sizes, hazard ratios, odds ratios, confidence intervals, p-value thresholds, effect sizes — whatever the paper's domain uses.*
## Effect Sizes / Key Quantitative Results
| Outcome | Measure | Value | CI | p | Population/Context | Page |
|---------|---------|-------|----|---|--------------------|------|
*One row per reported effect. Use for any empirical paper — clinical trials, A/B tests, benchmarks, ablation studies. Measure column: HR, OR, RR, RD, ATE, Cohen's d, accuracy, F1, BLEU, etc. Include both primary and subgroup results.*
## Methods & Implementation Details
- Study protocol / experimental setup *(p.N)*
- Statistical methods and software used *(p.N)*
- Data structures / algorithms needed *(p.N)*
- Initialization procedures / calibration *(p.N)*
- Edge cases / sensitivity analyses *(p.N)*
- Pseudo-code if provided *(p.N)*
- Adverse events / safety monitoring (clinical papers) *(p.N)*
## Figures of Interest
- **Fig N (p.X):** [What it shows]
## Results Summary
[Key findings — performance characteristics, clinical outcomes, effect magnitudes, statistical significance] *(p.N)*
## Limitations
[What authors acknowledge doesn't work] *(p.N)*
## Arguments Against Prior Work
- [What specific prior approaches does this paper criticize?] *(p.N)*
- [What failure modes or limitations of prior work does it identify?] *(p.N)*
- [What evidence does it present for the criticism?] *(p.N)*
## Design Rationale
- [What architectural choices does this paper justify?] *(p.N)*
- [What alternatives were considered and why were they rejected?] *(p.N)*
- [What properties does the chosen design preserve that alternatives don't?] *(p.N)*
## Testable Properties
- [Property 1: e.g., "Parameter X must be in [low, high]"] *(p.N)*
- [Property 2: e.g., "Increasing A must increase B"] *(p.N)*
- [Property 3: e.g., "Treatment effect HR < 1.0 for primary endpoint"] *(p.N)*
- [Property 4: e.g., "NNT for outcome Y = Z over N years"] *(p.N)*
- [Property 5: e.g., "Subgroup analysis shows effect modification by age"] *(p.N)*
## Relevance to Project
[How this paper applies to the project's research domain]
## Open Questions
- [ ] [Unclear aspects]
## Related Work Worth Reading
- [Papers cited worth following]
title, yearauthors, venue, doi_urlpages, affiliation, affiliations, institution, publisher, supervisor, supervisors, funding, pacs, note, correction_doi, citationauthor, doi, url, journal, type, paperWrite ./papers/Author_Year_ShortTitle/metadata.json.
Use this schema and fill every field you can from the paper/frontmatter:
{
"cite_key": "lastname2024shorttitle",
"title": "Full Paper Title",
"authors": ["Author One", "Author Two"],
"year": "2024",
"arxiv_id": null,
"doi": "10.xxxx/xxxxx",
"abstract": "Exact or near-exact abstract text",
"url": null,
"pdf_url": null
}
Rules:
cite_key is required and must be the first key. It is the published-form
citation key (e.g. hirota2025societal), which may use a different year than the
directory name (directories encode the preprint/first-seen year). Never parse the
directory name for the year or the key.title, authors, and year are required.authors must be a JSON array, not a single string.null for unknown fields rather than omitting them.doi should be the DOI string without https://doi.org/ when possible.arxiv_id.After writing metadata.json, refresh the collection's papers/keymap.tsv
(cite_key<TAB>dir) so downstream tools resolve @key -> directory reliably:
PYTHON=$(command -v python3 || command -v python)
"$PYTHON" scripts/build_keymap.py build --papers-dir papers/ -o papers/keymap.tsv
| Name | Symbol | Units | Default | Range | Notes |
|---|---|---|---|---|---|
| Fundamental frequency | F0 | Hz | 120 | 60-500 | Male speaker baseline |
| Intervention dose | — | mg/day | 100 | 75-325 | Example dose range |
| Effect estimate | HR | — | 0.89 | 0.77-1.03 | Primary outcome estimate |
| Learning rate | α | — | 0.001 | 1e-5–0.1 | Adam optimizer |
Rules:
- for dimensionless ratios/rates.X-Y for ranges. For effect sizes, the point estimate goes in Default, the CI goes in Range.If a parameter varies by context, create one table per context (e.g., "Modal Voice Parameters", "Breathy Voice Parameters", "Age ≥75 Subgroup", "Intention-to-Treat Analysis").
DO NOT use matrix format (parameters as columns, contexts as rows). The extractor expects parameters as rows.
Measurement/data tables use descriptive headers with units in parentheses: F1 (Hz), Duration (ms), HR (95% CI).
$$ block$$ blocksEvery finding must include its page number. You are reading page images — you know which page you are on. Tag every equation, parameter, key finding, definition, and testable property with *(p.N)* where N is the page number. This is not optional — downstream claim extraction depends on page provenance to produce valid claims. A finding without a page number is a finding that cannot be traced back to the source.
*(p.12)* after the Where: blockPage column in the parameter table*(p.N)* inline*(p.N)* at end of each bullet*(p.N)* at end of each bullet(p.X) format — keep doing thisWrite ./papers/Author_Year_ShortTitle/description.md:
---
tags: [tag1, tag2, tag3]
---
[Sentence 1: What the paper does/presents]
[Sentence 2: Key findings/contributions]
[Sentence 3: Relevance to this project's research domain]
Single paragraph, no blank lines between sentences. Tags: 2-5, lowercase, hyphens for multi-word, prefer existing tags from papers/index.md.
Write ./papers/Author_Year_ShortTitle/abstract.md:
# Abstract
## Original Text (Verbatim)
[Exact abstract text from the paper]
---
## Our Interpretation
[2-3 sentences: What problem? Key finding? Why relevant?]
For chunked papers, if you can dispatch a subagent for this extraction, do so using pngs/page-000.png and the strongest available full-size model. Do not use a fast/mini/small model here. Otherwise, read pngs/page-000.png yourself and write abstract.md.
Write ./papers/Author_Year_ShortTitle/citations.md:
# Citations
## Reference List
[Every citation from References/Bibliography, preserving original formatting]
## Key Citations for Follow-up
[3-5 most relevant citations with brief notes on why]
For chunked papers, if you can dispatch a subagent for this extraction, do so using the last 5-10 page images and the strongest available full-size model. Do not use a fast/mini/small model here. Otherwise, read those pages yourself and write citations.md.
Steps 5 and 6 can run in parallel since they write to different files.
Invoke the reconcile skill on papers/Author_Year_ShortTitle if skill invocation is available. Otherwise, follow the reconcile skill instructions directly on that directory. This handles forward/reverse cross-referencing, reconciliation of citing papers, and backward annotations.
If nested skill invocation is unavailable or unreliable on this platform, derive this skill's
installed directory from the injected <path>, then run:
uv run "<skill-dir>/../reconcile/scripts/emit_nested_reconcile_fallback.py"
Read the FULL stdout and follow it exactly on the current paper directory instead of opening
reconcile/SKILL.md piecemeal.
Wait for reconcile to complete before proceeding.
Read the paper's pretty title from its notes.md frontmatter first:
title=$(head -8 "papers/<Author_Year_ShortTitle>/notes.md" | grep '^title:' | sed 's/^title:[[:space:]]*//; s/^"//; s/"$//')
Append:
## [<pretty title>](<Author_Year_ShortTitle>/notes.md) (tag1, tag2, tag3)
[description.md body text — no frontmatter, no tags line]
The header is a markdown link, not plain text and not a [[wikilink]]. GitHub does not render wikilinks in repo files, so cross-paper references use real markdown links pointing at the target paper's notes.md. Display text is the pretty title from the paper's frontmatter.
This step is NOT optional. Without it, future sessions won't know this paper exists.
Append a canonical line to papers/_reader_done.tsv (cite_key<TAB>dir) so the
collection has a durable record that this paper is fully processed. lint-paper
and the collection verify cross-check this ledger against the directories and the
index, so it must not be skipped.
dir="<Author_Year_ShortTitle>"
cite_key=$(grep -o '"cite_key"[[:space:]]*:[[:space:]]*"[^"]*"' "papers/$dir/metadata.json" | head -1 | sed 's/.*"cite_key"[[:space:]]*:[[:space:]]*"//; s/"$//')
ledger="papers/_reader_done.tsv"
# Idempotent: only append if this dir is not already recorded.
if ! grep -q " $dir$" "$ledger" 2>/dev/null; then
printf '%s\t%s\n' "$cite_key" "$dir" >> "$ledger"
fi
paper-reader does not mutate propstore source branches. Source initialization, claim authoring, provenance on semantic assertions, and promotion are handled by later source-oriented skills.
All papers produce: papers/Author_Year_Title/ containing notes.md, metadata.json, description.md, abstract.md, citations.md, pngs/, and an updated papers/index.md entry.
Papers >300 pages also produce either:
chapters/ — chapter-aligned mode (preferred for monographs and other works with a clear chapter structure). One chapter-{TAG}.md per chunk worker; notes.md is a navigation surface that links to them.chunks/ — fixed-page fallback mode (used when no chapter structure is detectable). One chunk-START-END.md per 50-page span; notes.md synthesises across them.When done:
Done - created papers/[dirname]/
- index.md updated
- Reconciliation: [summary]
Then provide a brief usefulness assessment in the conversation (not a file):
## Usefulness to This Project
**Rating:** [High/Medium/Low/Marginal]
**What it provides:** [concrete takeaways]
**Actionable next steps:** [what to implement or investigate]
**Skip if:** [when this paper isn't relevant]
Do NOT:
papers/ rootcp instead of mv for the source PDFWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
paper-reader, pdf-reading, research-notes, science-papers, note-taking
28 skills in this plugin
/adjudicateSystematically adjudicate disagreements across a paper collection. Produces ruthless verdicts on who was wrong, what supersedes what, and what the best current understanding is. Organized by topic clusters with actionable replacement values for implementation./author-contextIdentify a paper analysis context and author it only through an available Propstore context-owner workflow./author-lifting-rulesAssess justified cross-context applicability and author supported lifting rules when the installed Propstore CLI exposes their owner workflow.npx claudepluginhub ctoth/research-papers-plugin --plugin research-papersOther plugins' skills for the same job