zotero-bridge-cli
Manual for ZoteroBridge CLI. Use this skill when an agent needs to access the Zotero library.
от 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 commandzotero-bridgeonly when the shim is absent. - Read
ZOTERO_BRIDGE_PROFILEwhen present. The profile points to the Host Bridge endpoint and usually references the bearer token throughauth.tokenEnv. - Keep
ZOTERO_BRIDGE_ENDPOINT,ZOTERO_BRIDGE_TOKEN, andZOTERO_BRIDGE_CONNECTION_MODEfrom the injected environment. The endpoint and connection mode override the profile template at runtime. - Published CLI bundles install or upgrade through
install.ps1on Windows andinstall.shon POSIX. Agents should use--yes --jsonand 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
okfield. - 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 commandzotero-bridgeonly when the shim is absent. - Keep
ZOTERO_BRIDGE_PROFILEandZOTERO_BRIDGE_TOKENfrom 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-contextacceptsviewvaluesdigest,semantic,audit, andfullthrough--inputJSON.- Omit
viewonly when a legacy flat topic context response is required. - For large
semanticorfulltopic contexts, passoutputPathoroutput_pathand optionaloverwrite; 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 resolveaccepts direct resolver fields in--input; do not wrap them in a top-levelresolverobject.- Allowed selector fields are
tag,collection_key, andpaper_refs; at least one selector is required. combineis optional and defaults tounion; useintersectionwhen every provided selector type must
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…