Command Palette

Search for a command to run...

Назад к скиллам
скилл № 53931

zotero-bridge-cli

Manual for ZoteroBridge CLI. Use this skill when an agent needs to access the Zotero library.

БесплатноБез исполняемых скриптов
leike0813от leike0813★ 17 звёзд на GitHub

Установить zotero-bridge-cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Zotero Bridge CLI

Use this skill when an agent needs Zotero host access through the zotero-bridge CLI. The CLI is the primary command-line broker for Zotero Skills Host Bridge capabilities.

Read references/host-bridge-cli.md for the generated command, capability, MCP mirror, debug, and safety reference. That reference is rendered from the Host Bridge capability registry and Rust CLI source.

Rules

  • Prefer the run-local shim when it exists: Windows .\.zotero-bridge\bin\zotero-bridge.cmd; POSIX ./.zotero-bridge/bin/zotero-bridge.
  • When another skill shows <zotero-bridge>, replace that placeholder with the run-local shim for the current OS. Use PATH command zotero-bridge only when the shim is absent.
  • Read ZOTERO_BRIDGE_PROFILE when present. The profile points to the Host Bridge endpoint and usually references the bearer token through auth.tokenEnv.
  • Keep ZOTERO_BRIDGE_ENDPOINT, ZOTERO_BRIDGE_TOKEN, and ZOTERO_BRIDGE_CONNECTION_MODE from the injected environment. The endpoint and connection mode override the profile template at runtime.
  • Published CLI bundles install or upgrade through install.ps1 on Windows and install.sh on POSIX. Agents should use --yes --json and must not pass a platform override.
  • Never print, summarize, persist, or expose bearer token values.
  • Parse stdout as exactly one JSON object. Check both the process exit code and the top-level ok field.
  • Treat stderr as human-readable diagnostics only.
  • Do not read Zotero databases, Zotero storage paths, plugin internals, or local attachment paths to bypass Host Bridge.
  • Do not use MCP as a fallback for CLI failures unless the user explicitly asks for MCP diagnostics.

Discovery

Run these commands first when the available surface is unclear:

zotero-bridge status
zotero-bridge manifest
zotero-bridge --help
zotero-bridge item --help
zotero-bridge note --help
zotero-bridge topics --help
zotero-bridge citation-graph --help
zotero-bridge paper-artifacts --help
zotero-bridge insights --help
zotero-bridge workflow --help
zotero-bridge task --help
zotero-bridge file --help

status checks unauthenticated bridge health. manifest is authenticated and lists the Host Bridge capabilities, workflow endpoints, file download support, and CLI schema.

Generated Summary

This section is generated from the Host Bridge surface catalog.

Runtime command entry

  • Prefer the run-local shim when it exists: Windows .\.zotero-bridge\bin\zotero-bridge.cmd; POSIX ./.zotero-bridge/bin/zotero-bridge.
  • When skill instructions show <zotero-bridge>, replace it with the run-local shim for the current OS; use PATH command zotero-bridge only when the shim is absent.
  • Keep ZOTERO_BRIDGE_PROFILE and ZOTERO_BRIDGE_TOKEN from the injected environment; never print token values.

Command families

  • Prefer semantic CLI command families: item (attachments, get, notes, search); note (get, payload, payloads); topics (find-by-paper-ref, get-context, get-report, get-review-input, list); schemas (get); concepts (query); citation-graph (get-layout, get-metrics, get-slice, overview, query-cluster, rank-external-references, rank-library-papers, refresh-metrics); library-index (get); resolvers (resolve); reference-index (get); paper-artifacts (export-filtered, manifest, read, resolve-topic-digest); insights (attention-queue); literature (ingest); workflow (agent-run, describe, list, run, submit); task (list); file (download).
  • Current graph/insight commands: citation-graph get-layout, citation-graph get-metrics, citation-graph get-slice, citation-graph overview, citation-graph query-cluster, citation-graph rank-external-references, citation-graph rank-library-papers, citation-graph refresh-metrics, insights attention-queue.
  • Use raw call <capability> only for raw-only capabilities or explicit diagnostics.
  • MCP is not the default fallback; MCP tools mirror Host Bridge capability names when explicitly used.
  • Full generated reference: references/host-bridge-cli.md.

Topic context payloads

  • topics get-context accepts view values digest, semantic, audit, and full through --input JSON.
  • Omit view only when a legacy flat topic context response is required.
  • For large semantic or full topic contexts, pass outputPath or output_path and optional overwrite; stdout then contains only a compact file envelope.
  • Example: zotero-bridge topics get-context --input '{"topicId":"topic-id","view":"semantic","outputPath":"runtime/topic-context.semantic.json"}'.

Resolver payloads

  • resolvers resolve accepts direct resolver fields in --input; do not wrap them in a top-level resolver object.
  • Allowed selector fields are tag, collection_key, and paper_refs; at least one selector is required.
  • combine is optional and defaults to union; use intersection when every provided selector type must
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • assets/output.schema.json
  • assets/profile.template.json
  • assets/runner.json
  • references/host-bridge-cli.md

FAQ

Что делает скилл zotero-bridge-cli?

Manual for ZoteroBridge CLI. Use this skill when an agent needs to access the Zotero library.

Как установить скилл zotero-bridge-cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл zotero-bridge-cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить zotero-bridge-cli с