Cli Anything Zotero logo

Cli Anything Zotero

CommunityPopular
yb2460
cli-anything-zotero

CLI harness for Zotero.

Overview

Publisheryb2460
Repositoryharness-anything
Skill namecli-anything-zotero
Stars
2.2K
Forks
156
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by yb2460 on GitHub. Read the source before you install it.

Installation

Install the Cli Anything Zotero AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yb2460/harness-anything/tree/master/cli_anything/zotero/skills
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yb2460/harness-anything.git /tmp/harness-anything
mkdir -p .claude/skills
cp -r /tmp/harness-anything/cli_anything/zotero/skills .claude/skills/cli-anything-zotero
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cli Anything Zotero in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cli Anything Zotero on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cli Anything Zotero is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

bash
pip install -e .

Entry Points

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

CommandDescription
statusExecute status.
versionExecute version.
launchExecute launch.
enable-local-apiExecute enable-local-api.
pingExecute ping.

Collection

Collection inspection and selection commands.

CommandDescription
listExecute list.
findExecute find.
treeExecute tree.
getExecute get.
itemsExecute items.
use-selectedExecute use-selected.
createExecute create.

Item

Item inspection and rendering commands.

CommandDescription
listExecute list.
findExecute find.
getExecute get.
childrenExecute children.
notesExecute notes.
attachmentsExecute attachments.
fileExecute file.
exportExecute export.
citationExecute citation.
bibliographyExecute bibliography.
contextExecute context.
analyzeExecute analyze.
add-to-collectionExecute add-to-collection.
move-to-collectionExecute move-to-collection.

Search

Saved-search inspection commands.

CommandDescription
listExecute list.
getExecute get.
itemsExecute items.

Tag

Tag inspection commands.

CommandDescription
listExecute list.
itemsExecute items.

Style

Installed CSL style inspection commands.

CommandDescription
listExecute list.

Import

Official Zotero import and write commands.

CommandDescription
fileExecute file.
jsonExecute json.

Note

Read and add child notes.

CommandDescription
getExecute get.
addExecute add.

Session

Session and REPL context commands.

CommandDescription
statusExecute status.
use-libraryExecute use-library.
use-collectionExecute use-collection.
use-itemExecute use-item.
use-selectedExecute use-selected.
clear-libraryExecute clear-library.
clear-collectionExecute clear-collection.
clear-itemExecute clear-item.
historyExecute history.

Examples

Runtime Status

Inspect Zotero paths and backend availability.

bash
cli-anything-zotero app status --json

Read Selected Collection

Persist the collection selected in the Zotero GUI.

bash
cli-anything-zotero collection use-selected --json

Render Citation

Render a citation using Zotero's Local API.

bash
cli-anything-zotero item citation <item-key> --style apa --locale en-US --json

Add Child Note

Create a child note under an existing Zotero item.

bash
cli-anything-zotero note add <item-key> --text "Key takeaway" --json

Build LLM Context

Assemble structured context for downstream model analysis.

bash
cli-anything-zotero item context <item-key> --include-notes --include-links --json

Version

0.1.0


Academic Research Skills Integration

Zotero harness integrates 27 academic research skills. Use skills command group:

bash
cli-anything-zotero skills list              # List all skills
cli-anything-zotero skills list -c writing   # Writing skills only
cli-anything-zotero skills pipeline original_article  # Recommended workflow
cli-anything-zotero skills journal "Nature"  # Journal figure guide

Skill Categories

CategorySkillsDescription
searchlit-review, systematic-review, deep-searchLiterature discovery
researchideation, brainstorming, hypothesis, deep-researchResearch design
writingwrite-paper, manuscript, citation, outline, revisionPaper writing
reviewfull-review, peer-review, seven-pass, verify-citations, audit-dataPeer review
visualizationslides, schematics, poster, nature-figFigures & presentations
analysiseda, statistics, critical-thinkingData analysis
pipelinefull-pipeline, research-to-paperEnd-to-end workflows

Task Pipelines

TaskSteps
literature_reviewsystematic-review → critical-thinking → write-paper → seven-pass
original_articlehypothesis → statistics → manuscript → schematics → slides → full-review
meta_analysisdeep-search → deep-research → statistics → write-paper → peer-review
thesisfull-pipeline → seven-pass → slides → poster

Frequently asked questions

What does the Cli Anything Zotero AI skill do?

CLI harness for Zotero.

Why use Cli Anything Zotero on TypingMind?

Because you install it once and use it with any model. Cli Anything Zotero is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cli Anything Zotero in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yb2460/harness-anything/tree/master/cli_anything/zotero/skills. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cli Anything Zotero?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cli Anything Zotero?

As many as you like. As long as a model supports skills, you can use Cli Anything Zotero with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cli Anything Zotero AI skill free?

Yes. It is published on GitHub by yb2460 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇