pyzotero

pyzotero is a skill for Claude Code from dralkh/iktinah. It costs 85 tokens per session (1,569 once invoked), scanned A, a copy of pyzotero, MIT.

A Python client for the Zotero reference manager, which stores research papers, bibliographic details, collections, tags, and attachments.

In plain words
What is it for?
Use it to retrieve, create, update, and delete references and collections, manage tags and attachments, and export citations.
Why use it?
It lets code manage a Zotero library through its web service instead of requiring manual updates in the Zotero application.

Skill for Claude Code

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

Good fit Use it to retrieve, create, update, and delete references and collections, manage tags and attachments, and export citations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dralkh/iktinah/pyzotero
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 dralkh/iktinah --skill pyzotero
Clone the repo
git clone --depth 1 https://github.com/dralkh/iktinah

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/dralkh/iktinah/pyzotero/github.svg)](https://agentmods.dev/skills/dralkh/iktinah/pyzotero)
Your own site
<a href="https://agentmods.dev/skills/dralkh/iktinah/pyzotero"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/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/dralkh/iktinah/pyzotero"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/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 1,569 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
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin 100% copy Near-identical to another mod 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.01569
Opus 5.5 $0.00034 $0.00628
Sonnet 5.5 $0.00017 $0.00314
Haiku 4.5 $0.00009 $0.00157

Measured 2mo ago against content hash 3a9da2718b2f, 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 2mo 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

This is a copy

100% identical to pyzotero — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/pyzotero/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 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.

Current upstream: pyzotero 1.13.0 (PyPI, May 2026). Docs: pyzotero.readthedocs.io.

Authentication Setup

Required credentials — get 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              # Web API client
uv add "pyzotero[cli]"       # + local CLI (Zotero 7)
uv add "pyzotero[mcp]"       # + MCP server for LLM clients (Zotero 7)

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']['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())

Core Concepts

  • A Zotero instance is bound to a single library (user or group). All methods operate on that library.
  • Item data lives in item['data']. Access fields like item['data']['title'], item['data']['creators'].
  • Pyzotero returns 100 items by default (API default is 25). Use zot.everything(zot.items()) to get all items.
  • Write methods return True on success or raise a ZoteroError.

Read the full file on GitHub · 125 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. 2mo ago First seen · 125 lines · 85 tokens per session scan A 3a9da2718b2f

Subscribe to this mod's changes

pyzotero is a skill published in the GitHub repository dralkh/iktinah (77 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 1,569 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to pyzotero, differing in 0 lines, and is treated as a copy.

Related

pyzotero compared with skills from other repositories

pyzotero next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyzoterodralkh/iktinahSkill774mo agoMITA85Claude Code
firebase-security-rules-auditorseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA34Claude Code, Codex
ref-verifyMoonweave-Research/ref-verifySkill2113d agoMITA134Claude Code, Codex
literature-reviewadolinjonathan-bot/zotero-toolkitSkill11mo agoMITA46Claude Code, Codex
document-analysisadolinjonathan-bot/zotero-toolkitSkill11mo agoMITA44Claude Code, Codex
research-assistantadolinjonathan-bot/zotero-toolkitSkill11mo agoMITA35Claude Code, Codex
sci-extractShZhao27208/Aut_Sci_WriteSkill2953mo agononeA143Claude Code