AGENT SKILL

reference-manager-interop

Move and sync reference libraries between Zotero, Mendeley, EndNote, JabRef, Paperpile and writing tools (LaTeX/BibTeX, Word, Google Docs, Pandoc, Quarto, Overleaf). Use when converting RIS, BibTeX, BibLaTeX or CSL-JSON files, migrating a library, setting up auto-exported .bib files, choosing a citation style (CSL), or fixing citations lost between tools. Includes a zero-dependency BibTeX/RIS/CSL-JSON converter.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 132
Forks
16

01 前言 Front Matter

name
reference-manager-interop
license
MIT
metadata
{ "tags": "Zotero, Mendeley, EndNote, JabRef, BibTeX, RIS, CSL-JSON, Pandoc, Quarto, Overleaf, reference manager", "author": "Kalaris Labs (Sayan Chowdhury)", "version": "1.0", "category": "literature-review", "maintainer": "Kalaris Labs" }
description
Move and sync reference libraries between Zotero, Mendeley, EndNote, JabRef, Paperpile and writing tools (LaTeX/BibTeX, Word, Google Docs, Pandoc, Quarto, Overleaf). Use when converting RIS, BibTeX, BibLaTeX or CSL-JSON files, migrating a library, setting up auto-exported .bib files, choosing a citation style (CSL), or fixing citations lost between tools. Includes a zero-dependency BibTeX/RIS/CSL-JSON converter.
compatibility
Python 3.9+ standard library for scripts/convert_refs.py; Pandoc optional for rendering with CSL styles.

02 资源文件 1

03 SKILL.md 正文

Reference Manager Interoperability

Every reference manager speaks at least one of three interchange formats:

Format Best for Notes
BibTeX / BibLaTeX (.bib) LaTeX, Overleaf, JabRef BibLaTeX adds @online, @dataset, @software, UTF-8 via biber
RIS (.ris) EndNote, Mendeley, Scopus/WoS/PubMed exports Tag-per-line, loses some structure (e.g. corporate authors)
CSL-JSON (.json) Pandoc, Quarto, Zotero, citeproc-js, Word/Docs plugins The richest interchange format, native to citation styles

Convert between formats

python scripts/convert_refs.py library.ris references.bib        # EndNote/Mendeley -> LaTeX
python scripts/convert_refs.py references.bib references.json    # LaTeX -> Pandoc/Quarto
python scripts/convert_refs.py export.json out.ris --from csljson --to ris

Conversion is lossy for exotic fields. Always diff counts (grep -c "^@" refs.bib, grep -c "^TY -" lib.ris) and spot-check authors with particles (van, de, von) and corporate authors. Then run the bibtex-hygiene linter on any produced .bib.

Tool-specific recipes

Zotero (recommended hub)

  • Install the Better BibTeX plugin, then right-click a collection → Export → Keep updated to write an auto-refreshing .bib next to the manuscript with stable citation keys.
  • Programmatic access: the pyzotero skill (Zotero Web API; needs a user API key).
  • Word/Google Docs: the Zotero connector plugins insert live citations and bibliography.

Mendeley Reference Manager

  • Export: select references → Export → BibTeX (.bib), RIS or EndNote XML.
  • To migrate to Zotero: import the .ris/.bib export, or use Zotero's built-in Mendeley importer.
  • Don't build new automation against Mendeley's web API. Work from exported files instead.

EndNote

  • Export: File → Export with output style "RefMan (RIS) Export" (.ris) or XML.
  • Import .ris back with the "Reference Manager (RIS)" filter. Check the encoding is UTF-8.

JabRef: native BibTeX/BibLaTeX. Use Quality → Cleanup entries and Check integrity before submission.

Overleaf: link a Zotero/Mendeley account or upload the .bib. With an auto-exported Better BibTeX file, re-upload it or sync via Git.

Rendering citations with CSL styles (Pandoc / Quarto)

pandoc paper.md --citeproc --bibliography references.json --csl nature.csl -o paper.docx

Quarto front matter:

bibliography: references.json
csl: apa.csl          # fetch from https://github.com/citation-style-language/styles

Pick the exact style file for the target journal from the CSL repository (over 10,000 styles). Never approximate a journal's style by editing a similar one unless none exists.

Migration checklist

  1. Export from the source tool in its richest format (CSL-JSON or native XML > RIS > BibTeX).
  2. Record the reference count before and after.
  3. Convert with scripts/convert_refs.py if the target cannot import the source format.
  4. Import, then check 10 random entries for authors, title case, container, year, DOI.
  5. Re-attach PDFs separately. Attachments never travel inside RIS/BibTeX/CSL-JSON.
  6. Rebuild citation keys only if the manuscript does not already cite the old keys.

Related skills

bibtex-hygiene, citation-verification, citation-management, pyzotero.

04 同仓库更多 Skills

KalarisLabs
KalarisLabs/research-agent-skills

plos

Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.

★ 132
KalarisLabs
KalarisLabs/research-agent-skills

pkpd-modeling

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include "pharmacokinetics", "pharmacodynamics", "PK/PD", "NCA", "non-compartmental", "AUC", "Cmax", "lambda z", "half-life", "clearance", "volume of distribution", "compartmental model", "population PK", "popPK", "NONMEM", "nlmixr2", "Pharmpy", "Monolix", "exposure-response", "Emax", "EC50", "indirect response", "effect compartment", "TMDD", "PBPK", "bioequivalence", "RSABE", "ABEL", "allometric scaling", "first-in-human", "MABEL", "drug-drug interaction", "DDI", "ICH M12", "concentration-QTc", "therapeutic drug monitoring", "MIPD", and "dosing regimen".

★ 132
KalarisLabs
KalarisLabs/research-agent-skills

pinecone

Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).

★ 132
KalarisLabs
KalarisLabs/research-agent-skills

pi-agent

Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers/models/settings/environment variables, creating Pi skills/extensions/packages/themes/prompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).

★ 132
KalarisLabs
KalarisLabs/research-agent-skills

phoenix-observability

Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.

★ 132
KalarisLabs
KalarisLabs/research-agent-skills

peft-fine-tuning

Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.

★ 132