Back to Discover

phd-deepread-workflow

heleninsights-dot

A professinal CLI workflow for PhD students to extract, analyze, and visualize academic papers into structured Markdown and Obsidian Canvas.

View on GitHub
56 starsMITSynced Aug 1, 2026

Install to Claude Code

/plugin marketplace add heleninsights-dot/phd-deepread-workflow

README

PhD Deep Read Workflow

License: MIT PyPI version Python 3.10+ Claude Code Plugin Codex Skill 中文版本

Transform academic PDFs into structured literature notes and critical-thinking canvases for Obsidian.


"The human mind... operates by association. With one item in its grasp, it snaps instantly to the next that is suggested by the association of thoughts." — Vannevar Bush, As We May Think, 1945

Bush imagined this in 1945 — a desk where all your reading lives outside its original containers, ready for you to build trails of association through it. That's what this workflow is.

Step one: Convert the PDF to Markdown. The knowledge leaves the frozen PDF and becomes something you can return to, search, and connect — today, next month, next year.

Step two: Come back anytime and draw out what's relevant now. Connect ideas across papers. Visualize arguments, evidence, and assumptions side by side in an Obsidian canvas. The literature note captures what's there. The canvas lets you see it alongside everything else you know.


Prerequisites

You need both of these:

  • A skill-capable AI coding agent — either Claude Code (download here) or Codex. This workflow installs as a skill in whichever one you use.
  • Obsidiandownload here. The final output is a JSON canvas file that only renders in Obsidian.

If you just want AI help reading a PDF, you don't need this workflow. Drag the PDF into any AI chat and ask questions directly. This workflow is for people who want structured literature notes and a critical-thinking canvas they can revisit in Obsidian.


Install in 30 seconds

Paste this into Claude Code or Codex:

Install this skill for me: https://github.com/heleninsights-dot/phd-deepread-workflow

Your agent installs the skill, the Python CLI, and everything else automatically. The skill lands in that agent's skills folder (~/.claude/skills/ for Claude Code, ~/.codex/skills/ for Codex) — restart the agent if it asks you to. Done. Drag a PDF in and say "phd-deepread read this paper".

Optional: Tesseract OCR

Only needed if you work with scanned PDFs (image-based, text not selectable):

brew install tesseract          # macOS
sudo apt install tesseract-ocr  # Ubuntu/Debian

Using the workflow

One paper

Drag a PDF into Claude Code or Codex and say:

phd-deepread read this paper

Your agent extracts the text, writes a structured literature note, and creates a 9-node critical-thinking canvas — all in one go. Open the .canvas file in Obsidian to visualize arguments, evidence, assumptions, and gaps side by side.

You can also ask for specific parts: "phd-deepread extract this PDF, but just give me the prompt — I'll write the note myself."

A folder of papers

Drag a folder into Claude Code or Codex and say:

phd-deepread read this folder

Your agent batch-processes every PDF inside — extracting text, writing a structured literature note for each one, and creating canvas templates. Already-processed papers are skipped automatically. Works the same as a single paper, just for the whole folder.


What you get

Each PDF you process gives you three files:

OutputWhat it is
paper.mdFull text of the PDF, converted to Markdown
paper_literature_note.mdStructured academic note — see below for what's extracted
paper.canvasA 9-node critical-thinking canvas — open this in Obsidian to visualize arguments, evidence, assumptions, and gaps side by side

What the literature note extracts

The note doesn't summarize — it pulls out the specific data you need to actually use the paper in your research:

CategoryWhat you get
FindingsEvery key result with direction, magnitude, p-value, confidence interval, effect size, and source table/figure
MethodologyStudy design, sample sizes with attrition, inclusion/exclusion criteria, every instrument/assay/software named
CritiqueLimitations mapped to validity types (internal, external, construct, statistical), plus limitations the authors don't discuss
ConnectionsExtensive [[wikilinks]] to methods, proteins, genes, diseases, concepts — linking the paper to your existing notes
Action itemsSpecific, actionable follow-ups you can act on without re-reading the paper
AssessmentInnovation, evidence strength, and practical potential — each with a concrete justification, not just a score

CLI reference

Your agent (Claude Code or Codex) calls these commands for you — you don't need to type them yourself:

CommandWhat it does
doctorCheck that all dependencies are installed
extract <pdf>Extract text and images from a PDF
generate <dir>Build a literature-note prompt from extracted text
canvas -o <file> [--from-note <md>]Create a 9-node canvas; populate from a finished note with --from-note
run <pdf>Full pipeline: extract → generate prompt → canvas
batch <dir>Process all PDFs in a folder
verify <dir>Quality-check output files

Integration with Obsidian and Zotero

Obsidian: Notes use YAML frontmatter and Dataview-compatible callouts. Canvas files open with the Obsidian Canvas plugin. Wikilinks connect to your existing notes.

Zotero: Use your Zotero citation key as the citekey field in the generated note. Export PDFs from Zotero into your processing folder before running the workflow.


Troubleshooting

"command not found: phd-deepread" — your terminal can't see the install location. Open a new terminal window. If still missing, add ~/.local/bin to your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

"Tesseract not found" — only matters for scanned PDFs:

brew install tesseract          # macOS
sudo apt install tesseract-ocr  # Ubuntu/Debian

"Template not found" after installing — upgrade to the latest version:

pip install --upgrade phd-deepread-workflow

Using a virtual environment (cleanest install)

python3 -m venv venv
source venv/bin/activate      # macOS/Linux
# or: venv\Scripts\activate   # Windows
pip install phd-deepread-workflow

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit and push, then open a Pull Request

See CONTRIBUTING.md for details.

License

MIT — see LICENSE.

Support


Made with love for the academic community

If this workflow helps your research, consider giving it a star on GitHub!

Rendered live from heleninsights-dot/phd-deepread-workflow's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
phd-deepreadTransform academic PDFs into structured literature notes and critical-thinking canvases for Obsidian. Extracts PDFs, generates structured notes with Claude, and creates 9-node critical-thinking canvases../