Integration · Claude Code · v0.2.1

Read PDFs and papers with Claude Code.

Stop pasting broken PDF text into Claude Code. Run hoja in the adjacent Ghostty or Rex split and let Claude read the exact page, open citations, and annotate its own layer.

Claude Codenpx skills addIsolated --by claudev0.2.1View .md

01 · Setup

Install hoja and the agent skill.

two commands to connect Claude Code
curl -fsSL https://hoja.crafter.run/install.sh | shhoja setupnpx skills add crafter-station/hoja

The installed hoja skill points Claude Code to the embedded binary playbooks (hoja skills get core, annotate, and rex), guaranteeing instructions always match your exact installed version.

02 · Daily Workflows

Prompts that work out of the box.

Explain the visible page & annotatepaste to agent

“Peek at the page currently open in hoja as a 2x PNG, explain Equation (1), and add color-coded annotations into --by claude without touching my human marks.”
runs underneath
hoja ctl peek --png --output /tmp/visible.pnghoja annot ls --active --by humanhoja annot apply --active - --by claude --batch study-1 < marks.json

For a specific formula or figure, drag a SNIP box in hoja (mode s) and paste the OSC 52 path directly into Claude Code: Claude reads the crisp 2x paper-ink region.png alongside selection.md and meta.json.

03 · Boundaries

When not to use this setup.

If you run Claude Code in an SSH session without Kitty graphics support or inside macOS Terminal.app, you can still use headless hoja --text and --png commands, but the live interactive TUI reader requires Ghostty, Rex, or another Kitty-graphics terminal.