Command-line interface for Zotero - search your Zotero library, add/edit notes, read attachments, and manage bibliographic references from the terminal.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install zotero-cli或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install zotero-cli⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/zotero-cli/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: zotero-cli version: 1.0.0 description: Command-line interface for Zotero - search your Zotero library, add/edit notes, read attachments, and manage bibliographic references from the terminal. homepage: https://github.com/jbaiter/zotero-cli metadata: { "openclaw": { "emoji": "📚", "requires": { "bins": ["python3"], "anyBins": ["zotcli", "zotero-cli"] }, "install": [ { "id": "pip", "kind": "pip", "package": "zotero-cli", "label": "Install zotero-cli Python package (pip)", }, { "id": "pipx", "kind": "pipx", "package": "zotero-cli", "label": "Install zotero-cli Python package (pipx - recommended for systems with PEP 668 compliance)", "platforms": ["linux-debian", "linux-ubuntu", "linux-arch", "linux-fedora", "linux-rhel"], }, ], }, } ---
Command-line interface for the Zotero reference manager, providing terminal-based access to your Zotero library through the Zotero API.
# Install (PEP 668 systems)
sudo apt install pipx && pipx ensurepath && pipx install zotero-cli
# Configure
zotcli configure
# Start using
zotcli query "machine learning"
zotcli add-note "\"deep learning\""
zotcli read "\"attention mechanism\""
📖 Detailed guide: QUICKSTART.md
pipx install zotero-cli
pip install --user zotero-cli
export PATH="$HOME/.local/bin:$PATH"
python3 -m venv ~/.venvs/zotero-cli
source ~/.venvs/zotero-cli/bin/activate
pip install zotero-cli
📖 Complete installation guide: INSTALL.md
| Command | Description | |---------|-------------| | zotcli query "topic" | Search library | | zotcli add-note "paper" | Add a note | | zotcli edit-note "paper" | Edit a note | | zotcli read "paper" | Read first PDF attachment | | zotcli configure | Configure API credentials |
# Set default editor
export VISUAL=nano # or vim, emacs, code
# Run configuration
zotcli configure
# Verify setup
./scripts/setup_and_check.sh
| Script | Purpose | |--------|---------| | setup_and_check.sh | Automated setup and verification | | backup_restore.sh | Backup and restore configuration | | update_check.sh | Check for updates | | quick_search.py | Formatted search output | | export_citations.py | Export citations (BibTeX, RIS) | | batch_process.sh | Process multiple queries |
Usage examples:
# Quick search
python scripts/quick_search.py "topic" --format table
# Export citations
python scripts/export_citations.py "topic" --format bib > refs.bib
# Backup
./scripts/backup_restore.sh backup
# Update check
./scripts/update_check.sh check
📖 Scripts documentation: scripts/README.md
"neural AND networks" # Boolean AND
"(deep OR machine) AND learning" # OR + grouping
"learning NOT neural" # NOT
"\"deep learning\"" # Phrase search
"transform*" # Prefix search
zotcli query "topic"
zotcli add-note "paper"
python scripts/export_citations.py "topic" --format bib > refs.bib
python scripts/quick_search.py "\"recent\"" --format table
zotcli add-note "\"interesting paper\""
./scripts/backup_restore.sh backup
📖 More examples: EXAMPLES.md
| Document | Description | |----------|-------------| | QUICKSTART.md | 5-minute quick start guide | | INSTALL.md | Comprehensive installation guide | | EXAMPLES.md | Practical usage examples | | scripts/README.md | Helper scripts guide |
Command not found:
export PATH="$HOME/.local/bin:$PATH"
pipx ensurepath
Permission denied (PEP 668 systems):
pipx install zotero-cli
Configuration errors:
zotcli configure
📖 Detailed troubleshooting: INSTALL.md
# Essential commands
zotcli query "topic" # Search
zotcli add-note "paper" # Add note
zotcli edit-note "paper" # Edit note
zotcli read "paper" # Read PDF
# Helper scripts
./scripts/setup_and_check.sh # Setup
./scripts/backup_restore.sh backup # Backup
./scripts/update_check.sh check # Update
./scripts/batch_process.sh queries.txt --output results.txt # Batch
---
For complete documentation:
安装 Zotero Cli 后,可以对 AI 说这些话来触发它
Help me get started with Zotero Cli
Explains what Zotero Cli does, walks through the setup, and runs a quick demo based on your current project
Use Zotero Cli to command-line interface for Zotero - search your Zotero library, add...
Invokes Zotero Cli with the right parameters and returns the result directly in the conversation
What can I do with Zotero Cli in my documents & notes workflow?
Lists the top use cases for Zotero Cli, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/zotero-cli/ 目录(个人级,所有项目可用),或 .claude/skills/zotero-cli/(项目级)。重启 AI 客户端后,用 /zotero-cli 主动调用,或让 AI 根据上下文自动发现并使用。
Zotero Cli 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Zotero Cli 可免费安装使用。请查阅仓库了解许可证信息。
Command-line interface for Zotero - search your Zotero library, add/edit notes, read attachments, and manage bibliographic references from the terminal.
Zotero Cli 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Zotero Cli
Identifies repetitive steps in your workflow and sets up Zotero Cli to handle them automatically