X-Ray Lens, Vision OCR & Prism Briefs
Beyond conversational Q&A, Prism includes three specialized visual and paper-understanding engines built natively into Zotero's Reader and Item Info Pane: Interactive X-Ray Lens, Automatic Vision OCR, and Persistent Prism Briefs.
1. Interactive Equation & Figure "X-Ray" Lens (/xray)
Dense equations and multi-panel architecture figures are the hardest parts of a research paper to decode quickly. X-Ray Lens turns any cropped equation or figure into an interactive, citation-grounded inspector right inside Prism.
Four Ways to Trigger X-Ray Lens
- Zotero PDF Reader Area Crop (fastest): Draw an area annotation over an equation, diagram, or plot in Zotero Reader → click
X-Ray Explainin the popup toolbar. - Attached Composer Crop: Click
X-Rayon any image crop already attached to Prism's composer. - Slash Command (
/xray): Type/xrayin chat—works with an attached image crop, or gracefully falls back to text-only Equation X-Ray on selected/pasted text or equations when no crop is attached. - Command Palette (
⌘K/Ctrl+K): SelectX-Ray Equation & Figure Lens.

Equation X-Ray Mode
- Crisp KaTeX +
Copy LaTeX: Transcribes the cropped formula cleanly into offline KaTeX with a 1-clickCopy LaTeXbutton. - Clickable Symbol Glossary Traced to Defining Pages: Lists each variable, operator, or subscript as an interactive chip. Prism searches preceding PDF pages using its 4-pass highlight matcher to verify the exact defining sentence—showing the verbatim quote and a clickable
[p. N]badge that jumps Zotero Reader straight to where the symbol was introduced. - Intuition & Ablation Framing: Includes a step-by-step walkthrough plus "Why this exists" and "What breaks if removed" cards to build deep conceptual understanding.
Figure X-Ray Mode & Split Visual Studio
- Numbered Interactive Callout Pins: Overlays toggleable numbered pins (
1,2,3…) onto the cropped figure synchronized to structured component explanations and verified[p. N]PDF jumps. - Expandable Visual Preview X-Ray Studio: Click Expand to inspect the figure in Prism's standalone split-screen Visual Preview window with
20%–600%zoom/pan, pin highlighting, and live PDF jump synchronization. - One-Click
Simulate / Plot in Python: Launch a follow-up Code Execution prompt straight from any X-Ray card to numerically simulate the equation or re-plot sensitivities. - Fail-Closed Privacy Guardrails: Protected Local-Only papers are never sent to cloud vision endpoints—the X-Ray card blocks transmission and offers 1-click local vision model fallback (e.g., Ollama / LM Studio).
2. Automatic Vision OCR & Selectable Embedded PDF Text (/ocr)
When you open a scanned archival paper or a PDF with broken/garbled mathematical font encodings, Prism detects text-layer defects automatically in < 5 ms (without slowing down clean PDFs) and lets you transcribe and repair the PDF directly inside Zotero.
Three Ways to Start Vision OCR
- Automatic Top Banner: Click
Run Vision OCRwhen Prism flags scanned/missing text or garbled math (\uFFFD, Private Use Area glyphs,(cid:N)streams, or fragmented tokens). - Slash Command: Type
/ocrin the Prism composer. - Library Right-Click: Right-click any paper in Zotero's Library →
Prism Actions ▸ Run Vision OCR on Paper.
Resumable Transcription & Cost Preview
- Flexible Scope: Choose All pages, Flagged pages, or a Custom range (e.g.,
1-5, 8, 12-14) and preview your resolved Vision model + estimated USD cost (orFree (Local)for Ollama / LM Studio) before starting. - Per-Page Checkpointing: Pause or stop anytime—completed pages persist immediately to
<ZoteroProfile>/prism-cache/ocr/<attachmentKey>.json, soResume OCRcontinues from the next unfinished page. - Fail-Closed Privacy: Protected Local-Only items never invoke cloud Vision endpoints and present one-click local Vision model buttons instead.
Selectable & Copyable Unicode Text Layer (14+ Scripts & BiDi)
- Upon completion, Prism aligns transcribed lines to page ink coordinates and embeds an invisible, selectable, copyable Unicode text layer directly into the PDF—preserving
0°/90°/180°/270°rotation, multi-column reading order, and full multilingual fidelity across Latin/European, Simplified & Traditional Chinese, horizontal & vertical Japanese, Korean with spaces, Cyrillic, Greek, Vietnamese, Devanagari, Thai, RTL Arabic & Hebrew BiDi, and Unicode math. - Prism automatically refreshes Zotero's full-text search index & sync state, reloads the open Zotero Reader in place, and re-indexes Semantic Index Tier 2 so native highlighting, copy/paste, and click-to-jump citations work seamlessly.
OCRContext Bar Pill: Click theOCRbadge in the Context Bar anytime to inspect cached/selectable page counts,Embed / Re-embed Selectable Text into PDF,Re-run OCR…,Export OCR to Zotero Note(Markdown + LaTeX), orClear OCR Cache.
3. Persistent "Prism Brief" in Zotero's Item Info Pane
Prism registers a native, collapsible Prism Brief section directly inside Zotero's right-hand Item Info Pane (with its own dedicated Light/Dark icon in Zotero's vertical sidenav) so you can scan key takeaways before even opening the chat sidebar:
- Structured 4-Part Summary: Summarizes Problem, Method, Key Results, and Limitations—plus a one-line executive preview even while collapsed.
- Fast Routing & Quick Actions: Uses your Fast / Cheap routed model in your Preferred Response Language, with inline
Ask Follow-Up in Prism(opens the sidebar scoped to the paper),Regenerate, andCopyactions. - Cross-Device Sync & Stale-PDF Detection: Stored as a hidden synced Zotero child note (
_ai_prism_brief, zero attachment quota, works across personal & Group Libraries) mirrored locally to<ZoteroProfile>/prism-cache/briefs/. A device-independentsourceHashsurfaces aPDF updated · Refresh briefpill whenever the PDF or abstract changes. - Zero Surprise Spend & Privacy Controls: Configure
Show Prism Brief in Item Info Pane(default: on) andAuto-generate briefs when viewing unread papers(default: off) under Prism Settings → General Settings. Local-Only protected items never auto-generate on cloud models and offer one-click local Ollama / LM Studio generation instead.