zotero-cli

Command-line interface for Zotero - search your Zotero library, add/edit notes, read attachments, and manage bibliographic references from the terminal.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zotero-cli" with this command: npx skills add killgfat/zotero-cli

Zotero CLI

Command-line interface for the Zotero reference manager, providing terminal-based access to your Zotero library through the Zotero API.

Quick Start

# 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

Installation

pipx (Recommended for PEP 668 systems)

pipx install zotero-cli

pip (Generic)

pip install --user zotero-cli
export PATH="$HOME/.local/bin:$PATH"

Virtual Environment

python3 -m venv ~/.venvs/zotero-cli
source ~/.venvs/zotero-cli/bin/activate
pip install zotero-cli

📖 Complete installation guide: INSTALL.md

Core Commands

CommandDescription
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 configureConfigure API credentials

Configuration

# Set default editor
export VISUAL=nano  # or vim, emacs, code

# Run configuration
zotcli configure

# Verify setup
./scripts/setup_and_check.sh

Helper Scripts

ScriptPurpose
setup_and_check.shAutomated setup and verification
backup_restore.shBackup and restore configuration
update_check.shCheck for updates
quick_search.pyFormatted search output
export_citations.pyExport citations (BibTeX, RIS)
batch_process.shProcess 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

Query Syntax

"neural AND networks"        # Boolean AND
"(deep OR machine) AND learning"  # OR + grouping
"learning NOT neural"        # NOT
"\"deep learning\""          # Phrase search
"transform*"                 # Prefix search

Workflows

Literature Review

zotcli query "topic"
zotcli add-note "paper"
python scripts/export_citations.py "topic" --format bib > refs.bib

Daily Research

python scripts/quick_search.py "\"recent\"" --format table
zotcli add-note "\"interesting paper\""
./scripts/backup_restore.sh backup

📖 More examples: EXAMPLES.md

Documentation

DocumentDescription
QUICKSTART.md5-minute quick start guide
INSTALL.mdComprehensive installation guide
EXAMPLES.mdPractical usage examples
scripts/README.mdHelper scripts guide

Troubleshooting

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

Quick Reference

# 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:

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ai Competitor Analyzer

提供AI驱动的竞争对手分析,支持批量自动处理,提升企业和专业团队分析效率与专业度。

Registry SourceRecently Updated
General

Ai Data Visualization

提供自动化AI分析与多格式批量处理,显著提升数据可视化效率,节省成本,适用企业和个人用户。

Registry SourceRecently Updated
General

Ai Cost Optimizer

提供基于预算和任务需求的AI模型成本优化方案,计算节省并指导OpenClaw配置与模型切换策略。

Registry SourceRecently Updated