SkillAgentSearch skills...

Openleaf

AI-powered citation search & paper review for Overleaf — Chrome extension. Think Google Scholar but inside Overleaf. Also works with OpenAI Prism.

Install / Use

/learn @Demfier/Openleaf

README

<p align="center"> <img src="public/icons/icon.svg" alt="OpenLeaf" width="80"> </p> <h1 align="center">OpenLeaf</h1> <p align="center"><strong>AI-powered citation search & paper review for Overleaf</strong></p> <p align="center">Find relevant papers to cite and get feedback on your writing, without leaving the editor.</p> <p align="center"> <img src="promo/demo.gif" alt="OpenLeaf Demo" width="100%"> </p>

How it works

  1. Open any project on overleaf.com
  2. Click the green OpenLeaf button in the bottom-right corner
  3. Citations tab — click "Find Citations" to discover papers paragraph by paragraph, scored 0-100 with LLM reasoning
  4. Review tab — get AI feedback on your paper in Friendly (constructive) or Fire (Reviewer #2) mode
  5. Click + Add to append BibTeX entries to your .bib file automatically

Click to open OpenLeaf

Editor with OpenLeaf button

Citation search — find papers paragraph by paragraph

Citation search panel

LLM-scored results with reasoning

Search results with scores

Friendly review — constructive mentor

Friendly review mode

Fire review — the Reviewer #2 experience

Fire review mode

Configure your LLM and API keys

Options page

Install

Option 1: Chrome Web Store

openleaf extension link

Option 2: Download ZIP (no npm needed)

  1. Download openleaf-extension-v0.1.0.zip from Releases
  2. Unzip it
  3. Go to chrome://extensions
  4. Enable Developer mode (top right)
  5. Click Load unpacked
  6. Select the unzipped folder

Option 3: From source

git clone https://github.com/demfier/openleaf.git
cd openleaf
npm install
npm run build

Then load in Chrome:

  1. Go to chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select the openleaf folder

Configuration

Click the extension icon → Options (or right-click → Options) to configure:

LLM Backend (for citation ranking & paper review)

Works with any OpenAI-compatible API:

| Backend | Base URL | API Key? | |---------|----------|----------| | Ollama (default) | http://localhost:11434/v1 | No | | vLLM | http://your-server:8000/v1 | Optional | | OpenAI | https://api.openai.com/v1 | Yes | | OpenRouter | https://openrouter.ai/api/v1 | Yes | | Together | https://api.together.xyz/v1 | Yes | | Groq | https://api.groq.com/openai/v1 | Yes |

Ollama on Mac/Linux: By default, Ollama blocks requests from browser extensions. You need to allow Chrome extension origins before starting Ollama:

OLLAMA_ORIGINS=chrome-extension://* ollama serve

To set this permanently:

launchctl setenv OLLAMA_ORIGINS "chrome-extension://*"

Then restart Ollama. Without this, the reviewer will return a 403 error.

Paper Search APIs

  • Semantic Scholar — works without key (rate-limited)
  • Serper (Google Scholar) — optional, skipped if no key
  • OpenAlex — no key needed, email improves rate limits

Development

npm run dev    # build with watch mode

After changing code, go to chrome://extensions and click the reload button on the extension.

Privacy

See PRIVACY.md. TL;DR: No data collection, no analytics, no accounts. Everything stays in your browser.

License

MIT

View on GitHub
GitHub Stars118
CategoryContent
Updated1d ago
Forks5

Languages

TypeScript

Security Score

85/100

Audited on Mar 24, 2026

No findings