> For AI agents: the complete documentation index is available at /Prism/llms.txt, the full documentation bundle is available at /Prism/llms-full.txt.

# Multi-Paper Synthesis, Extraction Matrix & Writing

Beyond single-paper deep reading, Prism accelerates systematic literature reviews, structured multi-paper extraction, library organization, and manuscript drafting.

## 1. Library Right-Click `Prism Actions ▸`

Right-click **one or multiple papers** in your Zotero Library and open **`Prism Actions ▸`**. Prism ships with **9 built-in workflows**:

| # | Action                                 | Triggered Workflow    | Selection Scope | Best Used For                                                                                       |
| - | -------------------------------------- | --------------------- | --------------- | --------------------------------------------------------------------------------------------------- |
| 1 | **Summarize**                          | `/summarize`          | 1+ items        | Structured, citation-backed overview of question, method, metrics, and limits                       |
| 2 | **How does this fit into my library?** | `/relate`             | 1+ items        | Cross-references related papers already in your Zotero library & persona                            |
| 3 | **Find similar papers**                | `/discover`           | 1+ items        | Searches OpenAlex, arXiv, Semantic Scholar, Crossref & PubMed and deduplicates against your library |
| 4 | **Auto-tag**                           | `/auto-tag`           | 1+ items        | Proposes 2–5 consistent tags reusing your existing Zotero vocabulary                                |
| 5 | **Sort into collections**              | `/sort-collections`   | 1+ items        | Maps papers into your best-fitting existing Zotero collections with rationale                       |
| 6 | **Fix metadata**                       | `/tidy-up`            | 1+ items        | Audits missing DOIs, venues, years, abstracts & messy tags against Crossref                         |
| 7 | **Write a literature review**          | `/lit-review`         | 1+ items        | Synthesizes consensus, contradictions, and open gaps with inline citations                          |
| 8 | **Create a research table**            | **Extraction Matrix** | 1+ items        | Opens the standalone Research Extraction Matrix pre-loaded with the selected item(s)                |
| 9 | **Compare selected papers**            | `/compare`            | **2+ items**    | Side-by-side multi-paper comparison table & synthesis in the sidebar                                |

At the bottom of `Prism Actions ▸`, you also get **`Ask Prism about this item`**, **`Add to Prism Chat`** (adds up to **15 items** at once), and **`Add custom action…`**. Right-clicking any Zotero collection provides **`Ask Prism about this collection`**.

### Customizing Your Own Library Actions

Open **Prism Settings → General Settings → Library Right-Click Actions** to configure up to **24 custom actions**:

- **Action Kind:** Choose **`Run prompt in Prism Chat`** or **`Open Research Extraction Matrix`**.
- **Selection Scope:** Show on **`Any selection (1 or more papers)`**, **`Single paper only`**, or **`Multiple papers (2+)`**.
- **Bind to a `/` Skill:** Link directly to any built-in or custom `SKILL.md` command.
- **Dynamic Placeholders:** Use `{{title}}`, `{{authors}}`, `{{year}}`, and `{{count}}` inside your custom prompt template (up to `1,200` chars).
- **Dispatch Behavior:** Choose **`Send immediately on click`** or **`Draft only`** (populates the composer so you can tweak the prompt first).
- Enable/disable, reorder, edit, delete, or click **`Reset defaults`** anytime.

Zotero Library — Prism Actions Submenu

![Launch all 9 built-in workflows—or your own custom actions—straight from Zotero's Library right-click menu.](/Prism/images/library-prism-actions.png)

Launch all 9 built-in workflows—or your own custom actions—straight from Zotero's Library right-click menu.


Add or Edit Custom Library Action

![Create custom right-click Library actions linked to any / skill or prompt template with dynamic {{title}}, {{authors}}, {{year}}, and {{count}} placeholders.](/Prism/images/add-edit-custom-action.png)

Create custom right-click Library actions linked to any / skill or prompt template with dynamic {{title}}, {{authors}}, {{year}}, and {{count}} placeholders.

## 2. Standalone Research Extraction Matrix Studio

Open the **Research Extraction Matrix** from the sidebar header **Table icon** or via **`Prism Actions ▸ Create a research table`** to build publication-grade comparison tables across up to **35 papers per matrix**:

### Step-by-Step Workflow

1. **Pick Your Papers (Resizable Paper Picker):**
   - Resize the left picker panel (`240px – 460px`) or toggle **`Focus` / `Sidebar`** to collapse it while reviewing results.
   - Browse up to `1,500` library items via **`All`** vs **`Selected (N)`** sub-tabs, filter by **All Library**, **Selected in Zotero**, **Active Paper**, or any hierarchical **Collection** (including nested subcollections), search by title/author/year/venue/tag, and inspect per-paper **`PDF` / `Metadata` / `Active` / `Zotero Selected`** status badges.
   - Use **`+ Zotero selection`**, **`Select visible`**, or **`Refresh`** to stay synced with Zotero.
2. **Choose or Customize Columns (`1 – 12` columns):** Start from one of **3 built-in academic presets** or customize columns in a centered modal (custom name + extraction criteria prompt in any language, reorderable up/down):
   - **ML & AI _(default)_:** `Dataset` · `Model Architecture` · `Baseline` · `Key Metric` · `Limitations`
   - **Empirical / Clinical:** `Research Question` · `Study Design & Sample` · `Intervention / Method` · `Primary Findings` · `Limitations`
   - **Literature Survey:** `Core Contribution` · `Methodology` · `Evidence / Scope` · `Key Takeaways` · `Open Gaps`
3. **Select Model & Run (`Compare (N)`):** Leave on **`Auto`** (uses your **Fast / Cheap** route, falling back to Active Chat) or pick any configured model, then click **`Compare (N)`** _(shows `Extract` when 0 papers are selected)_.
   - **Smart Page Selection:** Reads standard papers cover-to-cover (up to `22` pages / `68k` chars on `>= 96k`-context models); for book-length monographs/theses, automatically prioritizes Pages 1–2, Conclusion/Limitations, and column-matched pages while deprioritizing pure References/Bibliography pages.
   - **Run Controls:** Click **`Stop (completed/total)`** to cancel mid-batch, **`Re-extract`** to re-run the whole table with another model, **`New`** to start a fresh canvas (keeping the current table in History), or click per-row **`Retry`** on **any** row (completed or failed) to re-extract just that paper with the currently chosen model.
4. **Filter, Inspect Evidence & Jump to PDF:**
   - Use **`Filter cells & papers…`** for live multi-token search across extracted cells, paper metadata, and verbatim quotes (`X of Y papers`).
   - Hover any cell for quick **`Copy`** (copies value + `(p. N)`), or click any cell (or **`Details`** on truncated cells) to open the docked right-hand **Evidence Detail** drawer with the full extracted value, verbatim quote, column criteria, **`Copy`**, clickable paper title to open in Zotero, and **`Jump to p. N in Zotero`**.
5. **View Controls & Pop-Out `Large View` (`Matrix Viewer`):**
   - Switch between **`Table`** and **`Side-by-Side`** (transposed) views, toggle inline **`Quotes`** / **`Full text`** / **`Compact` vs `Comfortable`** density, and drag column dividers (**`Reset widths`**).
   - Pop out **`Large View`** (from the toolbar or any History card) for full-screen reading with a saved-matrix switcher dropdown, **`A−` / `100%` / `A+`** zoom buttons (`85%–130%`, also `⌘=` / `⌘-` / `⌘0`), and an **`Open Studio`** return button.
6. **Saved History & Reuse:** Prism saves up to **50 matrices** locally (`<ZoteroProfile>/prism-cache/extraction-history.v1.json`). **Pin** important matrices so they survive auto-pruning, rename or search past matrices, and click **`Reuse Setup`** to reload a matrix's papers and column schema when you want to add new papers and re-extract.

### Five Offline Export Formats (Zero External Services)

| Export Format        | Best For                             | Special Capabilities                                                                                                                                                                                                                                                                |
| -------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Excel (`.xlsx`)**  | Spreadsheets & data analysis         | Native 2-sheet OOXML workbook generated 100% offline: **`Extraction Matrix`** (`Paper, Authors, Year, Venue, DOI` + custom columns with `[p. N]`) and **`Cell Citations`** (`Paper, Column, Extracted Value, Page, Supporting Quote, Zotero Link` with clickable `zotero://` links) |
| **Word (`.docx`)**   | Manuscript drafts & co-author review | Native OOXML `.docx` with clickable `zotero://` links and an automatically appended numbered **`References`** section with supporting quotes                                                                                                                                        |
| **CSV (`.csv`)**     | Python / R / Pandas pipelines        | RFC-4180 compliant with UTF-8 BOM for clean Excel CJK opening                                                                                                                                                                                                                       |
| **Markdown (`.md`)** | Obsidian, Notion, GitHub             | Clean GFM comparison table                                                                                                                                                                                                                                                          |
| **Zotero Note**      | Keeping synthesis inside Zotero      | Standalone Zotero note with clickable `zotero://` links                                                                                                                                                                                                                             |

Research Extraction Matrix Window

![Extract structured, citation-backed comparison tables across up to 35 papers and export offline to Excel, Word, CSV, Markdown, or Zotero Notes.](/Prism/images/extraction-matrix.png)

Extract structured, citation-backed comparison tables across up to 35 papers and export offline to Excel, Word, CSV, Markdown, or Zotero Notes.

## 3. Publication-Ready Copy & Export Formats

Prism offers academic export actions in two places:

- **Per-Message `⋯` Menu:** `Copy` (Markdown), `Copy plain text`, **`Copy for writing ▸`** (`LaTeX / Overleaf`, `Obsidian / Pandoc`, `Cited BibTeX`), **`Save as Note ▸`** (`Child Note` / `Standalone Note` — embeds generated or attached images and automatically saves as a Standalone Note when no paper is active), and **`Export ▸`** (`Word (.docx)…` / `Markdown (.md)…`).
- **Sidebar Header Export Menu:** `Export Active Branch (.md)`, `Export Literature Review (.docx)`, `Export Full Tree (.md)`, `Copy for LaTeX / Overleaf`, `Copy for Obsidian / Pandoc`, `Copy Cited BibTeX (.bib)`, and `Save as Zotero Note`.

### What Each Academic Format Produces

- **LaTeX / Overleaf:** Converts headings (`\section`), bold/italic (`\textbf`/`\emph`), code (`\texttt`), nested lists (`\begin{itemize}`), tables (`\begin{tabular}`), links (`\href`), and display math (`\[...\]`), rewriting inline citation badges into `\cite[p.~4]{citekey}` (or merged `\cite{key1,key2}`).
- **Obsidian / Pandoc:** Rewrites citations into `[@citekey, p. 4]`, normalizes MathJax delimiters (`\(...\)` → `$...$`, `\[...\]` → `$$...$$`), and turns `<details>` blocks into foldable Obsidian callouts (`> [!note]-`).
- **Cited BibTeX (`.bib`):** Generates clean BibTeX entries for **every paper cited** in that response or conversation branch—ready to paste straight into `references.bib`.
- **Copy Plain Text:** Strips Markdown markers cleanly while preserving identifiers like `snake_case` and formatting tables into readable tab-separated rows.

### Citekey Auto-Detection Order (Personal & Group Libraries)

Prism automatically resolves citation keys in this exact priority order:

1. **Better BibTeX** (`KeyManager.get(item.id)`) — works across both personal and group libraries.
2. **Zotero 8+ native `citationKey`** field.
3. **`Extra` field** line `Citation Key: yourkey`.
4. **Deterministic fallback:** `firstAuthorLastName + year + firstTitleWord` (e.g., `diao2021heterofl`, with `b`, `c`, … suffixes on collisions).

Copy for Writing — LaTeX, Obsidian & BibTeX

![Copy any synthesized response directly as Overleaf-ready LaTeX, Obsidian / Pandoc Markdown, or Cited BibTeX.](/Prism/images/academic-copy-menu.png)

Copy any synthesized response directly as Overleaf-ready LaTeX, Obsidian / Pandoc Markdown, or Cited BibTeX.

## 4. Independent Bilingual Translation (`/translate`)

Open **Prism Settings → General Settings → Research Persona & Response Language**:

- **Preferred Response Language** controls your regular reading and discussion replies (e.g., `Auto — match my prompt` or `English`).
- **Target Translation Language (`/translate`)** is **completely independent** (`Auto`, `English`, `简体中文`, `繁體中文`, `日本語`, `한국어`, `Deutsch`, `Français`, `Español`, or any custom language up to `80` chars).
- **Smart Auto-Direction & Bilingual Mode:** When **Target Translation Language** is set to `Auto`, it follows your Preferred Response Language; if both are `Auto`, `/translate` automatically translates English → Simplified Chinese and non-English → English. Ask for a **"bilingual side-by-side"** translation to get a two-column aligned table, and Prism appends a concise **Key Terms** glossary while preserving equations and symbols.

It applies exclusively to **`/translate`** in chat and Zotero Reader's **`Translate with Prism`** selection popup—never changing your regular discussion language.
