pyzotero

pyzotero is a skill for Claude Code from K-Dense-AI/scientific-agent-skills. It costs 85 tokens per session (2,013 once invoked), scanned A, original, MIT.

A Python client for Zotero, a reference manager used to collect and organise research sources. It lets programs work with Zotero libraries, folders, tags, attachments, and citations through Zotero's web service.

In plain words
What is it for?
Use it to read, create, update, or remove references and collections, upload attachments, manage tags, and export citations from Zotero.
Why use it?
Managing a large reference library by hand is slow and repetitive. This lets scripts keep references organised, update records, handle files, and export citation data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to read, create, update, or remove references and collections, upload attachments, manage tags, and export citations from Zotero.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/pyzotero
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 58,946 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill pyzotero
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

Made for: Claude Code.

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 pyzotero

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/pyzotero/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/pyzotero)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/pyzotero"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/pyzotero/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 pyzotero

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/pyzotero"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/pyzotero.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,013 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Oct 2026
  • Snyk pass 24 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00085 $0.02013
Opus 5.5 $0.00034 $0.00805
Sonnet 5.5 $0.00017 $0.00403
Haiku 4.5 $0.00009 $0.00201

Measured 1mo ago against content hash 82dec36c7294, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pyzotero scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • pyzotero — 100% identical, 52 lines differ
skills/pyzotero/SKILL.md · 159 lines

How it starts

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

Pyzotero

Pyzotero is a Python wrapper for the Zotero API v3. Use it to programmatically manage Zotero libraries: read items and collections, create and update references, upload attachments, manage tags, and export citations.

Reviewed target: pyzotero 1.15.2 on 2026-09-30. Checked official SDK documentation, release source, and Web API contracts. Examples requiring a private library or running Zotero are illustrative; read-only public probes and isolated SDK contract checks do not establish authenticated write success.

Authentication Setup

For remote private reads and writes, get credentials from https://www.zotero.org/settings/keys:

Store credentials in environment variables or a .env file:

ZOTERO_LIBRARY_ID=your_user_id
ZOTERO_API_KEY=your_api_key
ZOTERO_LIBRARY_TYPE=user  # or "group"

See references/authentication.md for full setup details.

Installation

uv add "pyzotero==1.15.2"    # Reviewed Web API client
uv add "pyzotero[cli]==1.15.2"  # + local CLI
uv add "pyzotero[mcp]==1.15.2"  # + MCP server

Quick Start

import os
from pyzotero import Zotero

zot = Zotero(
    library_id=os.environ['ZOTERO_LIBRARY_ID'],
    library_type=os.environ.get('ZOTERO_LIBRARY_TYPE', 'user'),
    api_key=os.environ['ZOTERO_API_KEY'],
)

# Retrieve top-level items (returns 100 by default)
items = zot.top(limit=10)
for item in items:
    print(item['data'].get('title', ''), item['data']['itemType'])

# Search by keyword
results = zot.items(q='machine learning', limit=20)

# Retrieve all items (use everything() for complete results)
all_items = zot.everything(zot.items())

Read the full file on GitHub · 159 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. 1mo ago Changed · +4 lines 82dec36c7294
  2. 2mo ago Changed c6d25f1fbc8d
  3. 2mo ago First seen · 155 lines · 85 tokens per session scan A 64b8f3a60286

Subscribe to this mod's changes

pyzotero is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (58,946 stars, last pushed 7d ago), licensed MIT. It adds 85 tokens to every session and 2,013 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

pyzotero compared with skills from other repositories

pyzotero next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyzoteroK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA85Claude Code
discovery-toolboxdekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA122Claude Code
discovery-directordekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA114Claude Code
create-video-seedance-2-falgooseworks-ai/goose-skillsSkill1.3k2d agoMITA121Claude Code, Codex
meta-ad-managergooseworks-ai/goose-skillsSkill1.3k2d agoMITA108Codex
run-memorygooseworks-ai/goose-skillsSkill1.3k2d agoMITA72Claude Code, Codex
render-imessage-chatgooseworks-ai/goose-skillsSkill1.3k2d agoMITA63Claude Code, Codex