01 · Setup
Install hoja and the agent skill.
curl -fsSL https://hoja.crafter.run/install.sh | shhoja setupnpx skills add crafter-station/hojaThe 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.”
hoja ctl peek --png --output /tmp/visible.pnghoja annot ls --active --by humanhoja annot apply --active - --by claude --batch study-1 < marks.jsonFor 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.