CommunityProductivity & Collaborationgithub.com

xuezheng627/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.

What is zotero-literature-visualizer?

The `xuezheng627/zotero-literature-visualizer` skill is designed for the Codex AI agent platform, enabling developers and researchers to efficiently manage and visualize their Zotero literature collections. It automates key research workflows: paper discovery via search, full-text PDF downloading, direct reading of Zotero PDFs, and automatic classification with bilingual (Chinese/English) summarization. The skill culminates in generating an interactive literature dashboard for exploring papers by category, citation counts, and other metadata. This is useful for anyone handling large Zotero libraries who wants to quickly extract insights and create visual reports without manual effort. It works exclusively within the Codex platform, integrating directly with the local Zotero database and file system.

Works with~Claude Code✓Codex CLI~Cursor
npx skills add xuezheng627/zotero-literature-visualizer

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does zotero-literature-visualizer do?

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

Related Skills