leonchaox/qinyan-academic-skills/pyzotero
Claude Code and agent skill by leonchaox/qinyan-academic-skills
- community
Checking that the SKILL.md file is still in the repository.
Interact with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachments via the Zotero Web API v3. Use this skill when working with Zotero libraries programmatically, managing bibliographic references, exporting citations, searching library contents, uploading PDF attachments, or building research automation workflows that integrate with Zotero.
Install
npx vskill@latest install leonchaox/qinyan-academic-skills/pyzoteroSKILL.md
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.
Authentication Setup
Required credentials — get from https://www.zotero.org/settings/keys:
- User ID: shown as "Your userID for use in API calls"
- API Key: create at https://www.zotero.org/settings/keys/new
- Library ID: for group libraries, the integer after
/groups/in the group URL
Store credentials in environment variables or a .env file:
See references/authentication.md for full setup details.
Installation
Quick Start
Core Concepts
- A
Zoteroinstance is bound to a single library (user or group). All methods operate on that library. - Item data lives in
item['data']. Access fields likeitem['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
Trueon success or raise aZoteroError.
Reference Files
| File | Contents | |
|---|---|---|
| references/authentication.md | Credentials, library types, local mode | |
| references/read-api.md | Retrieving items, collections, tags, groups | |
| references/search-params.md | Filtering, sorting, search parameters | |
| references/write-api.md | Creating, updating, deleting items | |
| references/collections.md | Collection CRUD operations | |
| references/tags.md | Tag retrieval and management | |
| references/files-attachments.md | File retrieval and attachment uploads | |
| references/exports.md | BibTeX, CSL-JSON, bibliography export | |
| references/pagination.md | follow(), everything(), generators | |
| references/full-text.md | Full-text content indexing and retrieval | |
| references/saved-searches.md | Saved search management | |
| references/cli.md | Command-line interface usage | |
| references/error-handling.md | Errors and exception handling |
Common Patterns
Fetch and modify an item
Create an item from a template
Export as BibTeX
Local mode (read-only, no API key needed)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/01-论文检索与文献管理/pyzotero/SKILL.md
Popularity
- Repository stars
- 87
- Repository forks
- 12
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leonchaox/qinyan-academic-skills/pyzotero)