Skip to main content

export-citation

Export resolved citations to a reference-manager file format (RIS, BibTeX, CSL JSON, EndNote XML, RefWorks, NBIB, Zotero RDF, CSV, or plain text).

来源信息

仓库
mlava/scholar-sidekick-cursor-plugin
最近来源活动
2026年5月26日 10:48
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
export-citation
description
Export resolved citations to a reference-manager file format (RIS, BibTeX, CSL JSON, EndNote XML, RefWorks, NBIB, Zotero RDF, CSV, or plain text).
# exportCitation Resolves identifiers and serialises the resulting items to a bibliography file. Targets reference managers (Zotero, Mendeley, EndNote, RefWorks) and LaTeX workflows (BibTeX/Overleaf). ## When to use - The user wants to import citations into Zotero, Mendeley, EndNote, or a LaTeX project. - An agent needs a `.ris`, `.bib`, or `.json` artifact to attach to a draft. ## Inputs - `text` (string) OR `items` (CSL-JSON[]) — Input identifiers or pre-resolved items. - `format` (string, required) — `ris`, `bibtex`, `csl-json`, `endnote-xml`, `refworks`, `nbib`, `rdf`, `csv`, or `txt`. - `style` (string, optional) — Only used when `format=txt` (selects the formatter style). ## Outputs Plain-text body in the requested format with appropriate `Content-Type` and `Content-Disposition: attachment; filename=...` headers. ## Underlying surfaces - **REST**: `POST /api/export`. - **MCP tool**: `exportCitation`. ## Example ```bash curl -sS -X POST "https://scholar-sidekick.com/api/export" \ -H "Content-Type: application/json" \ -d '{"text":"10.1038/nphys1170\n9780306406157","format":"ris"}' \ -o citations.ris ``` ## See also - `formatCitation` for inline-rendered references. - [`/docs.md#post-apiexport`](https://scholar-sidekick.com/docs.md) for full format reference.
在 GitHub 查看