# Zotero Auto Cite for WPS and Word

> Turn DOI, PMID, or arXiv markers into verified Zotero entries and ready-to-open WPS or Word manuscripts with formatted citations and bibliographies.

Zotero Auto Cite for WPS and Word is a free AI agent skill on Agensi by Hoppkins Johns, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Hoppkins Johns](https://www.agensi.io/creators/hoppkins-johns)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/zotero-auto-cite-for-wps-and-word
- Tags: research, writing, automation, zotero, python, academic-writing, pubmed

## About this skill

Manually syncing literature from search engines to Zotero and then formatting citations in documents is a tedious, error-prone process. This skill automates the entire pipeline from PubMed discovery to final `.docx` generation, including Zotero library injection and WPS-compatible static referencing.

### What it does
- **Automated Research** translates topics into PubMed queries to retrieve titles, abstracts, and metadata.
- **Library Injection** imports selected DOI, PMID, and arXiv identifiers directly into your local Zotero library.
- **Smart Referencing** handles inline citations for both WPS (visible text) and Microsoft Word (active Zotero fields).
- **Batch Processing** supports importing RIS files from platforms like CNKI to manage large bibliographies.
- **Cross-Referencing** manages figure and table captions with automatic numbering and internal linking.

### How it works
1. Use `pubmed_search.py` to find and select relevant literature based on your paper's topic.
2. Insert citation markers like `[@doi:...]` or `[@pmid:...]` within your Markdown or Word draft.
3. Run the `pipeline.py` script to resolve identifiers, update Zotero, and generate the formatted document.
4. Open the resulting `.docx` in WPS for static citations or Word for active, refreshable references.

### Frameworks & tools
This skill requires Python 3.10 with `python-docx` and `lxml`. It communicates with Zotero 10+ via the Local API (127.0.0.1:23119).

### Why this beats prompting it yourself
Standard LLMs hallucinate citations and cannot interact with your local Zotero database or filesystem. This skill ensures every reference is a real, verified entry in your library and correctly formatted according to GB/T 7714 or Vancouver standards.

### Use cases
- Generating academic drafts that require real-world evidence from PubMed without manual copy-pasting.
- Converting Markdown manuscripts into professional `.docx` files with localized Chinese citation styles.
- Migrating literature batches from CNKI/RIS exports into a structured Zotero collection.
- Automating figure and table numbering for long-form technical reports.

### Known limitations
Requires Zotero to be running with the local API enabled. CNKI support requires manual RIS export as there is no public API. Markdown support is limited to standard headings, lists, and emphasis.

## Requires

- Python 3.10+
- python-docx and lxml
- Zotero 10+
- Git
- Optional: Microsoft Word + Zotero plugin for live citation fields

WPS users do not need Microsoft Word. WPS always receives a static, fully visible citation version; Microsoft Word is only needed for live Zotero fields. Zotero desktop 10+ with Local API enabled.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Zotero Auto Cite for WPS and Word skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Zotero Auto Cite prevent citation errors compared to using a standard LLM?

This skill eliminates the need to manually copy-paste citations from PubMed to Zotero and then to Word. It solves the issue of citation hallucinations in AI drafts by ensuring every reference is verified against your local library and formatted to professional standards.

### What are the technical requirements for integrating this skill into my current workflow?

The skill requires a local installation of Zotero (v10+) with the Local API enabled, and a Python 3.10+ environment. It is compatible with any AI agent or workflow capable of executing Python scripts and accessing local network ports.

### Does this skill support specific citation styles like Vancouver or GB/T 7714?

Yes, it is designed for global academic use, supporting standard formats like Vancouver as well as localized Chinese styles like GB/T 7714. It handles both active Zotero fields for Microsoft Word and static text citations for WPS Office.

### What exactly is included in the Zotero Auto Cite package?

You will receive the core Python pipeline scripts (`pubmed_search.py`, `pipeline.py`), documentation for setting up the Zotero API connection, and a guide on using citation markers in your drafts.

### Can this skill automate imports from Chinese databases like CNKI as easily as PubMed?

While PubMed and arXiv are fully automated via API, CNKI requires you to export an RIS file first; the skill then handles the batch import and document formatting from that file. All processes require Zotero to be running in the background.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
