cli-anything-zotero

Automate Zotero workflows from the command line via the Local API.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-zotero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-zotero
Source: https://github.com/edwifiguy/era-agents-ops/tree/main/skills/era-agents-op/cli-anything/zotero/agent-harness/cli_anything/zotero/skills
Command: npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-zotero

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Zotero users often rely on GUI-based workflows; this CLI harness enables automation and scripting by wrapping Zotero's Local API for terminal-based control.

Core Features & Use Cases

  • Command groups for App, Collection, Item, Search, Note, and Session to inspect, query, export, and manage Zotero data from the command line.
  • Supports using Zotero's Local API with appropriate constraints: notes rely on the GUI context, and attachments may require session scope considerations.
  • Examples and entry points allow easy integration into automation pipelines and scripts for reproducible reference management.

Quick Start

Install the package and run the Zotero CLI to manage your references from the terminal.

Frequently Asked Questions about cli-anything-zotero

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Zotero workflows from the command line?

You can automate Zotero workflows from the command line by using a CLI harness that wraps Zotero's Local API to retrieve item data, export citations, and organize notes. It provides grouped commands for App, Collection, Item, Search, Note, and Session management.

Can I manage Zotero collections and retrieve item data without using the GUI?

Yes, you can manage Zotero collections and retrieve item data without the GUI by executing CLI commands that interact directly with the Zotero Local API. This allows you to inspect, query, and export reference data directly from your terminal.

What are the limitations of using a Zotero CLI for notes and attachments?

When using a Zotero CLI, notes rely on the GUI context for proper rendering, and attachments may require specific session scope considerations. These constraints exist because the Local API wrapper handles data retrieval but depends on the GUI for certain visual note contexts.

Does Zotero Local API support terminal-based reference management for automation scripts?

Yes, the Zotero Local API supports terminal-based reference management by allowing CLI wrappers to integrate into automation pipelines and scripts. This enables reproducible reference management by executing grouped commands for search, export, and session control.

What is the best way to export citations and organize notes across Zotero libraries programmatically?

The best way to export citations and organize notes across Zotero libraries programmatically is using a command-line interface that wraps the Zotero Local API. It offers structured Collection and Search commands to query and export data for automated reference management.