tag-bootstrapper
Interactive TagVocab bootstrap skill. Use when a Zotero Agents workflow needs to ask the user about research domains, tag facets, vocabulary granularity, and…
от leike0813★ 17 звёзд на GitHub
Установить tag-bootstrapper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Tag Bootstrapper
Purpose
Build an initial controlled tag vocabulary, or expand an existing one, through an interactive conversation with the user. The output is not a tagging decision for one paper. It is a governed vocabulary proposal that the host workflow may write into the formal Zotero Agents TagVocab store.
This skill must:
- read the existing vocabulary from
{{ input.existing_tags }}; - use Host Bridge library index context when the injected
zotero-bridgeCLI is available; - ask the user only for vocabulary-design information that is missing;
- generate new controlled tags that obey the supplied protocol and
references/tag_standard.md; - avoid duplicates against existing tags and within the current result;
- output a single machine-readable JSON object matching
assets/output.schema.json.
Inputs
{{ input.existing_tags }}: existing controlled vocabulary entries. Each entry may containtag,facet, andnote.{{ input.protocol.facets }}: allowed facet prefixes.{{ input.protocol.tag_pattern }}: required tag pattern.{{ input.protocol.max_tag_length }}: maximum tag length.{{ parameter.tag_note_language }}: language foradd_tags[].note; default tozh-CNwhen absent.
Missing existing_tags is treated as an empty array. Missing protocol fields are input errors because the skill cannot safely propose vocabulary entries without the host-owned TagVocab constraints.
Reference Loading
Before generating any tag, read references/tag_standard.md. Use it as the naming and governance reference for:
- facet meaning and boundaries;
facet:valueandfacet:pathformat;- hierarchy with
/; - multiword segments with
-; - uppercase registered abbreviations;
- controlled versus semi-controlled facets;
- recommended vocabulary size and maintenance limits.
Do not invent facets outside input.protocol.facets. If the reference suggests a facet that is absent from input.protocol.facets, omit that facet and add a warning instead of emitting an invalid tag.
Host Bridge Library Context
When the runtime provides Zotero host access, use the library index before asking the user for missing vocabulary information. The index helps you ground the vocabulary in the user's actual Zotero library instead of generic domain guesses.
Before using Zotero host data:
- Read the built-in
zotero-bridge-cliwrapper skill. - Read
zotero-bridge-cli/references/host-bridge-cli.mdfor the current command surface. - Prefer the run-local shim in the ACP or SkillRunner workspace:
- Windows:
.\.zotero-bridge\bin\zotero-bridge.cmd - POSIX:
./.zotero-bridge/bin/zotero-bridge
- Windows:
- Use the PATH command
zotero-bridgeonly when the run-local shim is absent.
Read the current library index with:
<zotero-bridge> library-index get --input '{"cursor":0,"limit":200}'
If the response has has_more: true and a non-empty next_cursor, continue with the same input shape and the returned cursor until enough context has been collected or the pages are exhausted. For large libraries, collect a representative view rather than trying to summarize every paper.
Use library index fields only for vocabulary design:
papers[].title,papers[].year,papers[].item_type, andpapers[].creatorsreveal recurring domains and methods;papers[].tagsand top-leveltagsreveal the user's current informal or imported tagging habits;collectionsreveal project, corpus, and topic groupings;- repeated terms across titles, collections, and tags are stronger candidates than one-off terms.
Do not copy paper titles directly into tags. Convert observed library patterns into compact controlled vocabulary candidates that obey input.protocol and references/tag_standard.md. Do not directly read Zotero DB files, Zotero storage paths, plugin internals, or attachment paths to bypass Host Bridge.
If the Host Bridge CLI is unavailable, the command fails, the index is empty, or pagination cannot continue, keep working from existing_tags, protocol, and the user's answers. Add a concise warning such as Host Bridge library index unavailable; generated tags from user-provided context.
Interaction Flow
Ask concise questions until the vocabulary intent is clear. Do not ask about plugin internals, file formats, workflow hooks, or implementation details.
- Identify the user's research domains and recurring literature areas.
- Review the Host Bridge library index when available and identify recurring domains, methods, models, datasets, tools, collections, and informal tags.
- Identify the facets they actually want to govern: field, topic, method, model, ai_task, data, tool, status, match_status, or the subset allowed by
input.protocol.facets. - Ask about desired granularity: broad browse tags, mid-level retrieval tags, or fine-grained project tags.
- Review
existing_tagsand ask what is missing, over-specific, or underrepresented. - Propose a compact vocabulary i
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/input.schema.json
- assets/output.schema.json
- assets/runner.json
- references/tag_standard.md
- scripts/normalize_output.py
- scripts/validate_output.py
FAQ
Что делает скилл tag-bootstrapper?
Interactive TagVocab bootstrap skill. Use when a Zotero Agents workflow needs to ask the user about research domains, tag facets, vocabulary granularity, and missing controlled-vocabulary entries, then produce initial or incremental TagVocab additions as add_tags objects with tag notes.
Как установить скилл tag-bootstrapper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tag-bootstrapper запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…