hkuds avatar

Cli Anything Zotero

This is a CLI wrapper that lets agents talk to your local Zotero desktop installation without reimplementing anything. It hits Zotero's real surfaces: the Local API for citations and bibliographies, direct SQLite reads for fast queries, and GUI context for operations like adding notes. You'll need to enable Zotero's Local API first. The session model is smart, it remembers your working library and collection so you don't pass IDs everywhere. The item context command is the standout here, it bundles metadata, notes, and links into structured output ready for LLM consumption. Some constraints apply: note creation expects the right library selected in the GUI, and SQLite writes are experimental.

skills.sh installs
581
GitHub stars
58.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add hkuds/cli-anything --skill cli-anything-zotero --agent claude-code

Installs into .claude/skills of the current project.

Files

cli-anything-zotero

cli-anything-zotero is an agent-native CLI for Zotero desktop. It does not reimplement Zotero. Instead, it composes Zotero's real local surfaces:

Installation

pip install -e .

Entry Points

cli-anything-zotero
python -m cli_anything.zotero

Important Constraints

  • search items, item export, item citation, and item bibliography require Zotero's Local API to be enabled.
  • note add depends on the live Zotero GUI context and expects the same library to be selected in the app.
  • Import-time PDF attachment support is limited to items created in the same connector session; arbitrary existing-item attachment upload is still out of scope.
  • Experimental SQLite write commands are local-only, user-library-only, and should be treated as non-stable power-user operations.
  • If a bare key is duplicated across libraries, set session use-library <id> before follow-up commands.

Command Groups

App

Application and runtime inspection commands.

Sponsors

Details

Repository
github.com/hkuds/cli-anything
Category
CLI & Terminal
First seen
Jun 3, 2026

More from hkuds/cli-anything

All 51
1hkuds avatarcli-anything-qgishkuds/cli-anythingStateful QGIS CLI for projects, writable layers, features, layouts, exports, and qgis_process operations using the real QGIS runtime.575skills.sh installs
2flutter avatarflutter-home-screen-widgetflutter/skillsflutter home screen widget557skills.sh installs
3doist avatartodoist-clidoist/todoist-cliManage Todoist tasks, projects, labels, filters, sections, comments, reminders, and workspaces via the `td` CLI. Use when the user wants to view, create, update556skills.sh installs
4hkuds avatarcli-anything-kritahkuds/cli-anythingCLI harness for Krita digital painting — manage projects, layers, filters, and export via command line. Use when automating Krita workflows, batch processing im550skills.sh installs
5jackwener avatarbilibili-clijackwener/bilibili-clibilibili cli545skills.sh installs
6hkuds avatarcli-anything-musescorehkuds/cli-anythingCLI for music notation — transpose, export PDF/audio/MIDI, extract parts, manage instruments541skills.sh installs