phd-deepread
/phd-deepread
Process academic PDFs into structured Obsidian literature notes and 9-node critical-thinking canvases. Activate when the user shares a PDF (drag-in or path) and asks to read, summarize, analyze, or "deeply read" it — or when they say things like "phd-deepread read this paper", "make a literature note", "critique this paper", or "build a canvas for this paper".
- Author
- heleninsights-dot ↗
- Repository
- phd-deepread-workflow ↗
- Licence
- MIT
- Last repository change
- 30.06.2026
Assessment and security
- Files in this package
- 32
- Scripts
- 11
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 30.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 11 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/__init__.py, scripts/batch.py, scripts/canvas.py, scripts/doctor.py, scripts/extract.py, scripts/generate.py, scripts/phd_deepread.py, scripts/process.py
What it does and when to use it
Process academic PDFs into structured Obsidian literature notes and 9-node critical-thinking canvases. Activate when the user shares a PDF (drag-in or path) and asks to read, summarize, analyze, or "deeply read" it — or when they say things like "phd-deepread read this paper", "make a literature note", "critique this paper", or "build a canvas for this paper".
Triggers from the description
Original author description
Process academic PDFs into structured Obsidian literature notes and 9-node critical-thinking canvases. Activate when the user shares a PDF (drag-in or path) and asks to read, summarize, analyze, or "deeply read" it — or when they say things like "phd-deepread read this paper", "make a literature note", "critique this paper", or "build a canvas for this paper".
How it works
- When to activate
- How to run it
- Verifying output
- Templates
- Troubleshooting
- Examples in this repo
SKILL.md preview
--- name: phd-deepread description: Process academic PDFs into structured Obsidian literature notes and 9-node critical-thinking canvases. Activate when the user shares a PDF (drag-in or path) and asks to read, summarize, analyze, or "deeply read" it — or when they say things like "phd-deepread read this paper", "make a literature note", "critique this paper", or "build a canvas for this paper". tags: [pdf, academic, research, obsidian, literature-review] allowed-tools: [Bash, Write, Read, Edit, Glob, Grep] --- # PhD Deep Read Workflow Turn a PDF into three artifacts the user can drop straight into Obsidian: 1. **Extracted Markdown** — full PDF text via PyMuPDF (fast path) with Tesseract OCR fallback for scanned pages. 2. **Structured literature note** — YAML frontmatter, Dataview callouts, wikilinks, summary, critique, action items. You write this from the extracted text using the `clauderules.md` template. 3. **9-node critical-thinking canvas** — Obsidian Canvas JSON with core argument, assumptions, evidence, alternatives, methodological critique, personal relevance, future directions, critical questions, hypothesis center. ## When to activate The user shares an academic PDF — typically by dragging it into the chat or pasting a path — and asks for any of: - "phd-deepread read this paper" / "deep read this" / "read this and make a note" - "summarize this paper" / "give me a literature note" - "critique this" / "build a critical-thinking canvas" - "batch-process this folder of PDFs" If they only want a quick summary (no Obsidian artifacts), this skill is overkill — answer directly instead. ## How to run it You drive the `phd-deepread` CLI on the user's behalf. The user does not type these commands. ### Single paper (most common) ```bash phd-deepread run /path/to/paper.pdf ``` This produces four things: - `markdown_output/<paper>/<paper>.md` — extracted text - A prompt file in `structured_literature_notes/<paper>.md` — **this is a prompt, not a finished note** - `<paper>.canvas` — blank 9-node template - A reformat prompt in `structured_literature_notes/<paper>_reformat_prompt.md` — **also a prompt** **You then write the literature note yourself.** Read the prompt file, follow the instructions inside (it includes the full `clauderules.md` template), and overwrite the prompt file with the finished note. The prompt asks for tight YAML frontmatter, Dataview callouts, plain section headings (no emoji), extensive wikilinks, and academic tone — follow that exactly. Match `examples/example-output.md`. ### Final reformat (makes the output look polished) The raw extracted text (`<paper>.md`) is faithful but ugly — broken paragraphs, hyphenated line breaks, collapsed tables, page/header artifacts. To produce the clean reading copy users expect in Obsidian, run the reformat prompt: ```bash phd-deepread reformat markdown_output/<paper>/ -o structured_literature_notes/<paper>_reformat_prompt.md ``` Then **follow that prompt yourself**: reflow paragraphs, dehyphenate, rebuild tables from the raw text, strip page/header artifacts, and collapse back-matter (references, abbreviations, declarations) into foldable callouts — writing the result to `markdown_output/<paper>/<paper>_formatted.md`. `run` emits this prompt automatically as its final step. After the note is written, populate the canvas from it: ```bash phd-deepread canvas -o markdown_output/<paper>/<paper>.canvas \ --from-note structured_literature_notes/<paper>.md --overwrite ``` This maps note sections to canvas nodes by regex. Some nodes (assumptions, alternative-explanations) are auto-populated from related sections; the rest pull directly from the note. The user can refine any node in Obsidian. ### Step by step (when the user wants control) ```bash phd-deepread extract /path/to/paper.pdf # PDF → markdown phd-deepread generate markdown_output/<paper>/ -o notes/<paper>.md # build prompt phd-deepread canvas -o notes/<paper>.canvas --title "..." --authors "..." --year "..." ``` ### Batch a folder ```bash phd-deepread batch /path/to/folder -o batch_output/ --create-canvases ``` Then loop over each `<paper>_prompt.txt` and write the finished note next to it. ## Verifying output ```bash phd-deepread verify markdown_output/<paper>/ ``` Checks formatting, YAML frontmatter, callouts, wikilinks. ## Templates - `scripts/templates/clauderules.md` — the literature-note template you must follow when writing the note. Loaded by `generate.py` via `importlib.resources`. - `scripts/templates/reformat.md` — the reformat instructions you follow in the final polish pass. Loaded by `reformat.py` via `importlib.resources`. - `scripts/templates/critical-thinking.canvas` — base canvas layout used by `canvas.py`. Do not edit these as part of normal use. ## Troubleshooting - **"command not found: phd-deepread"** — the package isn't installed or PATH is wrong. Run `phd-deepread doctor` (if available) or fall back to `python3 -m pip install --user phd-deepread-workflow` and tell the user to open a new terminal. - **"Tesseract not found"** — only matters for scanned (image-based) PDFs. Suggest `brew install tesseract` (macOS) or `sudo apt install tesseract-ocr` (Linux). - **Template not found** — package install incomplete; suggest `pip install --upgrade phd-deepread-workflow`. ## Examples in this repo - `examples/example-output.md` — what a finished literature note looks like. - `examples/example-canvas.canvas` — what a populated canvas looks like. Match those styles when writing your own.
Files in this package (32)
- .gitignore 2 KB
- .pre-commit-config.yaml 1 KB
- AGENTS.md 5 KB
- CHANGELOG.md 11 KB
- CLAUDE.md 7 KB
- CONTRIBUTING.md 6 KB
- LICENSE 1 KB
- MANIFEST.in 1 KB
- Makefile 2 KB
- README.md 7 KB
- README.zh-CN.md 7 KB
- SKILL.md 5 KB
- pyproject.toml 2 KB
- requirements-dev.txt 1 KB
- requirements.txt 1 KB
- examples/example-canvas.canvas 3 KB
- examples/example-output.md 4 KB
- scripts/__init__.py 1 KB
- scripts/batch.py 5 KB
- scripts/canvas.py 18 KB
- scripts/doctor.py 4 KB
- scripts/extract.py 21 KB
- scripts/generate.py 11 KB
- scripts/phd-deepread 3 KB
- scripts/phd_deepread.py 4 KB
- scripts/process.py 4 KB
- scripts/reformat.py 6 KB
- scripts/verify.py 13 KB
- scripts/templates/__init__.py 1 KB
- scripts/templates/clauderules.md 17 KB
- scripts/templates/critical-thinking.canvas 5 KB
- scripts/templates/reformat.md 3 KB
Versions
The database has no other skills named phd-deepread.
Database snapshot: 13.11.2026 · package version 86c3fcfffd4f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100paper-deepread-html
把一篇论文 PDF 深读成单文件、可离线打开的交互式 HTML 精读报告——自动从 PDF 裁切原文关键图表(带页码/图号/图注溯源),并用原生 JS + 内联 SVG 重绘机制图、流程图、对比图与数据图,附批判性评估;区分综述(review)与研究论文(research),分别采用不同的解读重点;研究类采用「结论+图融合」的结果单元结构。Deep-read one paper PDF into a self-contained interactive HTML reading companion that mixes high-fidelity… - 100dsh-deepread
Use for evidence-first reading of articles, books, PDFs, web pages, or document sets, with knowledge maps and Feynman checks. - 90read-paper-to-notes
Read an academic-paper PDF or supplied full text and turn it into a faithful, structured Markdown deep-reading note. Use when the user provides a research paper and asks to read, explain, summarize, take notes, extract its problem, method, equations, experiments, results,… - 100literature-review
Conducts a structured academic literature review from a folder of papers (PDFs or other documents). Use this skill whenever the user wants to review, synthesize, or analyze a collection of research papers — even if they don't say "literature review" explicitly. Trigger on… - 100paper-analyst
Analyze academic papers and research PDFs. Use this skill when the user uploads or pastes a research paper and wants to understand it. Triggers: ''analyze this paper'', ''read this PDF'', ''summarize this research'', ''paper summary'', ''research paper breakdown'', ''explain… - 100zotero-paper-note
Read a paper from Zotero, generate a structured reading note, attach it back to the Zotero item, and append one structured JSON line to literature.jsonl for later batch analysis. Use when the user provides a paper title/authors/DOI/Zotero item and asks to "read this paper",…