skills/43-wentorai-research-plugins/skills/writing/citation/onecite-reference-guide/SKILL.md
AI toolkit to parse, complete, and format academic references
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research onecite-reference-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
OneCite is an AI-powered toolkit for parsing, completing, and formatting academic references. Given incomplete or messy citation strings, it extracts structured metadata, fills in missing fields via API lookups (CrossRef, OpenAlex), and outputs clean formatted references in any style (APA, MLA, BibTeX, Chicago). Available as a Python library and MCP server for agent integration.
# Python package
pip install onecite
# MCP server
npx @onecite/mcp-server
from onecite import parse_reference
# Parse messy reference string
ref = parse_reference(
"Vaswani et al. Attention Is All You Need. "
"NeurIPS 2017. arXiv:1706.03762"
)
print(ref.title) # "Attention Is All You Need"
print(ref.authors) # ["Vaswani, A.", "Shazeer, N.", ...]
print(ref.year) # 2017
print(ref.venue) # "NeurIPS"
print(ref.arxiv_id) # "1706.03762"
print(ref.doi) # "10.48550/arXiv.1706.03762"
from onecite import complete_reference
# Fill in missing metadata from APIs
ref = complete_reference(
title="Attention Is All You Need",
# Automatically looks up: DOI, authors, venue,
# abstract, citation count, pages, volume
)
print(f"DOI: {ref.doi}")
print(f"Authors: {', '.join(ref.authors)}")
print(f"Pages: {ref.pages}")
print(f"Volume: {ref.volume}")
print(f"Citations: {ref.citation_count}")
from onecite import format_reference, parse_reference
ref = parse_reference(
"B. Kerbl et al., '3D Gaussian Splatting for Real-Time "
"Radiance Field Rendering,' SIGGRAPH 2023"
)
# Output in different styles
print(format_reference(ref, style="apa"))
# Kerbl, B., Kopanas, G., Leimkühler, T., & Drettakis, G.
# (2023). 3D Gaussian Splatting for Real-Time Radiance Field
# Rendering. ACM SIGGRAPH 2023.
print(format_reference(ref, style="bibtex"))
# @inproceedings{kerbl2023,
# title = {3D Gaussian Splatting...},
# author = {Kerbl, Bernhard and ...},
# booktitle = {ACM SIGGRAPH 2023},
# year = {2023}
# }
print(format_reference(ref, style="mla"))
print(format_reference(ref, style="chicago"))
print(format_reference(ref, style="ieee"))
from onecite import process_references
# Process a list of raw reference strings
raw_refs = [
"Vaswani et al. Attention Is All You Need. NeurIPS 2017",
"Devlin et al. BERT. NAACL 2019",
"Brown et al. Language Models are Few-Shot Learners. 2020",
]
results = process_references(
raw_refs,
complete=True, # Fill missing metadata
format="bibtex", # Output format
deduplicate=True, # Remove duplicates
)
# Save as .bib file
with open("references.bib", "w") as f:
for ref in results:
f.write(ref.formatted + "\n\n")
{
"mcpServers": {
"onecite": {
"command": "npx",
"args": ["@onecite/mcp-server"],
"tools": [
"parse_reference",
"complete_reference",
"format_reference",
"search_paper",
"get_bibtex"
]
}
}
}
from onecite import validate_references
# Check a .bib file for issues
issues = validate_references("references.bib")
for issue in issues:
print(f"[{issue.severity}] {issue.entry}: {issue.message}")
# [WARNING] smith2023: Missing DOI
# [ERROR] jones2024: Author field empty
# [INFO] chen2022: Title case inconsistency
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.