KGTAF

Zotero Cli

開発v0.1.0
作者:KGTAF更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-02-09zotero-cli@clawhub_killgfat/zotero-cli
スクリプトツール#Command Line Interface

AlphaMoatによると、2026-09時点でZotero Cliのダウンロード数は2,617、スター数は0で、AIスキル全体5,078件中4,008位、開発では577件中500位です。

インストール数
142
ダウンロード数
2617
スター数
-
総合順位
#4,008
全体の上位 79% · 開発の上位 87%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗662160--
SkillHub ↗1422617-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

アイテム検索、ノートの追加・編集、添付ファイルの読み取り、書誌情報の管理をZotero API経由で行います。非公開の研究データにアクセスしたり、ライブラリ内容を変更したりする可能性があるため、対象ライブラリを確認し、書き込み前に許可を得てください。 Python と Zotero CLI が必要で、設定のバックアップに API 認証情報が含まれる場合があります。

資料公開日 2026-10-29

できること

  • ライブラリアイテムを検索する
  • ノートや添付を整理する
  • 書誌情報を管理する

使う場面

  • 端末からZoteroライブラリにアクセスするとき
  • 添付ファイルの閲覧や記録変更前に、アカウント、対象ライブラリ、許可を確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

Zotero CLIの機能と、ライブラリ変更前に確認すべき事項を説明してください。

月次の推移

ダウンロード数2617
1165194527252026-03 · ダウンロード数 12732026-05 · ダウンロード数 16522026-06 · ダウンロード数 17792026-07 · ダウンロード数 20622026-08 · ダウンロード数 22572026-09 · ダウンロード数 261726-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092617—-
2026-082257+9.5%-
2026-072062+15.9%-
2026-061779+7.7%-
2026-051652—-
2026-031273—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.9 KB・ClawHub v0.1.0
---
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": "📚",
すべて表示(全 207 行)
        "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"],
            },
          ],
      },
  }
---

# Zotero CLI

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

## Quick Start

```bash
# 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](QUICKSTART.md)

## Installation

### pipx (Recommended for PEP 668 systems)
```bash
pipx install zotero-cli
```

### pip (Generic)
```bash
pip install --user zotero-cli
export PATH="$HOME/.local/bin:$PATH"
```

### Virtual Environment
```bash
python3 -m venv ~/.venvs/zotero-cli
source ~/.venvs/zotero-cli/bin/activate
pip install zotero-cli
```

📖 **Complete installation guide:** [INSTALL.md](INSTALL.md)

## Core Commands

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

## Configuration

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

# Run configuration
zotcli configure

# Verify setup
./scripts/setup_and_check.sh
```

## Helper Scripts

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

```bash
# 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](scripts/README.md)

## Query Syntax

```bash
"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
```bash
zotcli query "topic"
zotcli add-note "paper"
python scripts/export_citations.py "topic" --format bib > refs.bib
```

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

📖 **More examples:** [EXAMPLES.md](EXAMPLES.md)

## Documentation

| Document | Description |
|----------|-------------|
| [QUICKSTART.md](QUICKSTART.md) | 5-minute quick start guide |
| [INSTALL.md](INSTALL.md) | Comprehensive installation guide |
| [EXAMPLES.md](EXAMPLES.md) | Practical usage examples |
| [scripts/README.md](scripts/README.md) | Helper scripts guide |

## Troubleshooting

**Command not found:**
```bash
export PATH="$HOME/.local/bin:$PATH"
pipx ensurepath
```

**Permission denied (PEP 668 systems):**
```bash
pipx install zotero-cli
```

**Configuration errors:**
```bash
zotcli configure
```

📖 **Detailed troubleshooting:** [INSTALL.md](INSTALL.md)

## Quick Reference

```bash
# 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:**
- [QUICKSTART.md](QUICKSTART.md) - Get started
- [INSTALL.md](INSTALL.md) - Installation details
- [EXAMPLES.md](EXAMPLES.md) - Usage examples
- [SKILL_SUMMARY.md](SKILL_SUMMARY.md) - Full overview

開発の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。