01 · Two Ways to Hand Off Pixels
Drag a box or let the agent peek.
- Interactive SNIP drag: In hoja, press s (SNIP mode) and drag a box over the equation (or press y / @ to capture the visible viewport). hoja writes region.png, selection.md, and meta.json under ~/.cache/hoja/handoff/ and copies the absolute path to your clipboard via OSC 52 + pbcopy.
- Zero-click agent peek: Leave the equation on screen and tell your agent to capture the visible page directly with hoja ctl peek --png.
Code verification promptpaste to agent
“Inspect the equation currently visible in hoja (capture it as a 2x PNG) and verify src/attention.rs for tensor shapes, scaling factor, and softmax axis.”
hoja ctl peek --png --output /tmp/eq-page.png# Or headless for a specific page at 2400px:hoja 1706.03762 --png --page 4 --output /tmp/page4.png --width 2400Narrow splits
Press m to toggle per-page auto-crop and f to toggle fit-width so the equation fills a narrow 80-column pane beside your editor.