⚠️ DEPRECATED — Primární cesta je Zotero MCP (zotero_semantic_search, zotero_search_items, zotero_get_item_fulltext). Tento skill slouží pouze jako fallback.
⚠️ DEPRECATED: Pokud jsou dostupné Zotero MCP nástroje, použij je přímo. Tento skill je fallback pro situace, kdy MCP není dostupný.
This skill retrieves information from the local Zotero library as a fallback when Zotero MCP is not available.
Search Zotero metadata (title, abstract, keywords):
curl -s "http://localhost:23119/better-bibtex/json-rpc
"
-X POST -H "Content-Type: application/json"
-d '{"jsonrpc":"2.0","method":"item.search","params":["<query>"],"id":1}'
Always run after metadata search:
python3 tools/search_zotero_attachments.py "<query>" --context 3
Searches local attachments in ~/Zotero/storage/ (PDF, DOCX, HTML, TXT).
If a Zotero MCP server is configured in Copilot CLI, use its search and full-text tools instead of the local script. Prefer the MCP path because it can query Zotero directly, while the script is only a local fallback.
If relevant sources are found:
If no relevant result is found in both metadata and attachment search, clearly state that the answer was not found in the local Zotero library.