Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

zotero-rag

Skill by nealcaren

Searches your project's local library of markdown papers by meaning, using sentence-transformers embeddings and ChromaDB. Built for researchers who want to find passages, similar text and surrounding context across indexed papers.

  • Score 59
  • 97 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install zotero-rag

Built from the published package, never by AI.

git clone --depth 1 https://github.com/nealcaren/social-data-analysis /tmp/social-data-analysis && mkdir -p ~/.claude/skills && cp -r /tmp/social-data-analysis/plugins/zotero-rag/skills/zotero-rag ~/.claude/skills/zotero-rag

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install zotero-rag in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

zotero-rag is a skill for semantic search across a project's local library of markdown-converted papers in library/markdown/. It uses sentence-transformers embeddings with the all-MiniLM-L6-v2 model and stores vectors in ChromaDB at library/.rag-index/. The skill replaces the deprecated Zotero RAG integration and uses the same 384-dimension model.

Papers are split into section-level chunks at ## headers, with fixed chunks of about 512 tokens for headerless documents. Commands cover indexing, searching by meaning, finding similar passages, reading the context around a chunk, checking index status, listing documents, and removing them. Only files registered in references.bib are indexed. It suits researchers who keep papers in a project library and want exploratory search alongside grep for exact terms.

Written from the project's SKILL.md and checked against it.

What it can do

  • indexBuilds or updates the vector index from library/markdown/, skipping unchanged files.
  • searchRuns semantic search across indexed documents and returns results ranked by similarity.
  • similarFinds passages similar to a given chunk, including content from other papers.
  • contextShows a target chunk with neighboring chunks from the same document.
  • statusShows index statistics such as document count, chunk count and last modified time.
  • listLists all indexed documents with their chunk counts.
  • removeRemoves a document from the index by citation key.

What you need

  • uv installed
  • Papers ingested with ingest.py
  • references.bib with md_path fields

Try asking

  • Search my library for cultural capital and educational attainment.
  • Find passages similar to this chunk abc123def456 in other papers.
  • Show the context around this search hit so I can read the full passage.

Good to know

  • Only files registered in references.bib are indexed.
  • Loose markdown files without a bib entry are flagged as unlinked during indexing.
  • The first run downloads the all-MiniLM-L6-v2 model, about 80MB.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/zotero-rag/skills/zotero-rag/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to zotero-rag

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

zotero-rag: common questions

Does zotero-rag replace the Zotero RAG integration?

Yes. The source says it replaces the deprecated Zotero RAG integration and uses the same 384-dimension embedding model.

When should I use rag.py search instead of grep?

The source says to use semantic search for conceptual discovery and grep for exact keywords, phrases, author names or method names.

Which files does the index include?

Only markdown files registered in references.bib through an md_path field are indexed. Unregistered files are flagged as unlinked.

How do I install zotero-rag?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is zotero-rag free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is zotero-rag safe to use?

It scores 59 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to zotero-rag?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

zotero-rag Install

Add to stack

Loading.