yyccchaooo/mindcite/zotero-index-updater

Claude Code and agent skill by yyccchaooo/mindcite

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

收到“更新索引”时使用。查询 Zotero,生成支持 AI 精读流水线的本地索引,重点强化分组、PDF 路径、附件 key 和全文缓存路径。

Install

npx vskill@latest install yyccchaooo/mindcite/zotero-index-updater

SKILL.md

Zotero Index Updater

给 0 代码用户的 Codex 指令

text
请只读更新我的 Zotero 索引。完成后用自然语言告诉我:索引了多少篇文献、多少个 Zotero 分类、多少条缺 PDF、多少条进入 fallback 待分类,以及索引报告在哪里。

Codex 应该自动运行索引脚本并解释输出,不要求用户理解 jsonl 或 SQLite。

目标

刷新出一套能直接喂给 Python 精读流水线的索引文件,而不只是给人工搜索用。

强制流程

  1. 读取 Zotero 数据库
  • 优先实时库
  • 若实时库不可读,再退回快照
  1. 强化附件与文本字段
  • 对每条文献尽量写入:
  • attachment_keys
  • pdf_paths
  • primary_pdf_path
  • fulltext_cache_paths
  • primary_fulltext_cache_path
  • has_fulltext_cache
  • zotero_select_uri
  • zotero_open_pdf_uri
  1. 刷新索引文件
  • ${MINDCITE_ROOT}\indexes\zotero_library_index.jsonl
  • ${MINDCITE_ROOT}\indexes\zotero_collection_tree.json
  • ${MINDCITE_ROOT}\indexes\zotero_index_summary.md
  • ${MINDCITE_ROOT}\indexes\zotero_index_meta.json
  1. 对齐新版 notes 元数据
  • 仅检查 ${MINDCITE_ROOT}\notes\zotero_reading
  • 按 item_key 定位现有 note,并写入 active_note_path
  • Zotero 分类变化只反映到索引字段,不在索引刷新时移动或删除 note 文件
  1. 写日志
  • 新增一份 logs\update_index_*.md

索引字段最低要求

  • item_key
  • title
  • item_type
  • year
  • doi
  • collection_paths
  • primary_collection_path
  • attachment_keys
  • pdf_paths
  • primary_pdf_path
  • has_pdf
  • fulltext_cache_paths
  • primary_fulltext_cache_path
  • has_fulltext_cache
  • reading_status
  • active_note_path
  • updated_at

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yyccchaooo/mindcite/zotero-index-updater/badge)](https://verified-skill.com/skills/yyccchaooo/mindcite/zotero-index-updater)

Something wrong with this skill or its page? Tell us.