Community生产力与协作github.com

xuezheng627/zotero-literature-visualizer

面向 Codex 的 Zotero 文献整理与可视化 skill:支持文献检索、全文下载流程、Zotero PDF 直读、自动分类总结,并生成中英文交互式文献 dashboard。 English Description A Codex skill for Zotero-based literature organization and visualization, with paper discovery, PDF workflows, bilingual summaries, and interactive dashboards.

zotero-literature-visualizer 是什么?

zotero-literature-visualizer is a Codex agent skill that 面向 Codex 的 Zotero 文献整理与可视化 skill:支持文献检索、全文下载流程、Zotero PDF 直读、自动分类总结,并生成中英文交互式文献 dashboard。 English Description A Codex skill for Zotero-based literature organization and visualization, with paper discovery, PDF workflows, bilingual summaries, and interactive dashboards.

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add xuezheng627/zotero-literature-visualizer

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

zotero-literature-visualizer 是做什么的?

A Codex skill for Zotero-based literature organization and visualization, supporting paper discovery, full-text download, Zotero PDF reading, automatic classification and summarization, and generation of bilingual interactive literature dashboards.

Features

  • Literature Discovery: Search and retrieve papers from Zotero library or external sources.
  • Full-Text Download: Automated download of PDFs for matched papers.
  • Zotero PDF Direct Reading: Extract and read text from PDFs stored in Zotero.
  • Automatic Classification & Summarization: Categorize papers by topic and generate bilingual (Chinese/English) summaries.
  • Interactive Dashboard: Generate a web-based dashboard to visualize and explore your literature collection.

Usage

Invoke the skill through Codex by providing a query or specifying your Zotero collection path. The skill will process your library and produce a dashboard.

Example

codex run xuezheng627/zotero-literature-visualizer --input "my zotero library"

Requirements

  • Codex AI agent environment
  • Local Zotero database (sqlite) and PDF storage
  • Python 3.8+ with packages: pandas, plotly, beautifulsoup4, pdfplumber, openai (for summaries)

How It Works

  1. Connects to your local Zotero SQLite database.
  2. Retrieves paper metadata (title, authors, date, tags, abstract, etc.).
  3. Downloads missing PDFs if full-text is required.
  4. Reads PDF content using pdfplumber.
  5. Classifies papers using tag analysis or LLM-based topic modeling.
  6. Generates bilingual summaries (via OpenAI API or local model).
  7. Builds an interactive Plotly/Dash dashboard and saves it as an HTML file.

Output

  • literature_dashboard.html: Interactive dashboard with filters, charts, and search.
  • summaries.json: Bilingual summaries for each paper.

Configuration

Set environment variables as needed:

export OPENAI_API_KEY="sk-..."  # Required for LLM-based summarization
export ZOTERO_DATA_DIR="/path/to/zotero/data"  # Optional, overrides default

License

MIT

相关技能