setup-zotero-references

setup-zotero-references is a skill for Claude Code from benjibromberg/zotero-context. It costs 63 tokens per session (2,458 once invoked), scanned C, original, MIT.

A project setup task that connects a Zotero library to the project. Zotero is a tool for collecting and organizing research references.

In plain words
What is it for?
Use it to choose Zotero libraries, create search terms, and add the required reference-search scripts and project settings.
Why use it?
It removes repeated setup work and gives future coding-agent sessions a way to search the project's chosen references.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the zotero-context plugin — 2 skills shipped together

Good fit Use it to choose Zotero libraries, create search terms, and add the required reference-search scripts and project settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benjibromberg/zotero-context/setup-zotero-references
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add benjibromberg/zotero-context --skill setup-zotero-references
Clone the repo
git clone --depth 1 https://github.com/benjibromberg/zotero-context

Made for: Claude Code.

Or install zotero-context, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-zotero-references

README.md
[![agentmods](https://agentmods.dev/badge/skills/benjibromberg/zotero-context/setup-zotero-references/github.svg)](https://agentmods.dev/skills/benjibromberg/zotero-context/setup-zotero-references)
Your own site
<a href="https://agentmods.dev/skills/benjibromberg/zotero-context/setup-zotero-references"><img src="https://agentmods.dev/badge/skills/benjibromberg/zotero-context/setup-zotero-references/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-zotero-references

Your own site · 80×15
<a href="https://agentmods.dev/skills/benjibromberg/zotero-context/setup-zotero-references"><img src="https://agentmods.dev/badge/skills/benjibromberg/zotero-context/setup-zotero-references.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,458 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.02458
Opus 5 $0.00032 $0.01229
Sonnet 5 $0.00013 $0.00492
Haiku 4.5 $0.00006 $0.00246

Measured 11d ago against content hash 3dd42fe9d127, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

setup-zotero-references scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

Bash(curl -LsSf https://astral.sh/uv/install.sh | sh)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Bash(curl -LsSf https://astral.sh/uv/install.sh)
skills/setup-zotero-references/SKILL.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup Zotero References

Overview

One-time bootstrap: ensures uv is available, lists the user's Zotero libraries, prompts which to scope to this project, samples each chosen library, derives trigger keywords + a one-line description per library, vendors the search scripts into the repo, and renders the deployed using-zotero-references skill with the project-specific keywords.

After this skill runs, future Claude sessions in this repo will auto-trigger using-zotero-references for project-relevant topics and call .zotero-context/bin/search_items.py for reference lookups. Each vendored script is a PEP 723 self-contained inline-metadata script — uv reads its dependency declaration and provisions an isolated environment on first invocation. The user does NOT need to install pyzotero globally.

When to Use

  • User says "set up zotero", "configure zotero references", "/zotero-context:setup-zotero-references"
  • User asks how to make a Zotero library available to Claude in this project
  • User wants to scope new libraries to an existing .zotero-context/ config

Workflow

Run these steps sequentially. Stop after each user prompt and wait for input.

Step 0: Check for uv

The vendored scripts use uv to manage their Python dependencies (no global pip install required). Detect it:

command -v uv

If uv is found, proceed to Step 1.

If uv is not found, ask the user:

The vendored Zotero scripts use uv (from Astral) to manage Python dependencies, so we don't have to install pyzotero globally. The official one-line installer is:

curl -LsSf https://astral.sh/uv/install.sh | sh

This is the install method recommended by the uv docs and matches the pattern used by rustup, nvm, bun, and homebrew. Install it now? [y/N]

If the user confirms, run:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then verify:

Read the full file on GitHub · 235 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 235 lines · 63 tokens per session scan C 3dd42fe9d127

Subscribe to this mod's changes

setup-zotero-references is a skill published in the GitHub repository benjibromberg/zotero-context (1 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 2,458 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

google-ads-audit

Google Ads account audit and business context setup. Use for account-health audits and business-context setup. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should I fix in my ads", or when the user is new to NotFair and hasn't run…

nowork-studio/notfair-plugin · 86 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens

critical-code-reviewer

Rigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases. Use when users request a critical code review, want a guided walkthrough of findings, need implementer-facing feedback, or want to prepare, create, or submit a GitHub pull request review.

posit-dev/skills · 67 tokens

shiny-bslib

Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming…

posit-dev/skills · 107 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens