Install
openclaw skills install @fangmingqi2005-create/ref-managerUse when the user wants to collect, extract, verify, and import bibliographic references into EndNote from web pages, PDF files, or a folder of PDFs, and to produce an Excel reconciliation sheet with APA citations. Trigger when the user mentions 文献、参考文献、导入 EndNote、EndNote 导入、APA 格式、APA 引用、整理文献、批量导入文献、文献对账、网页引用、PDF 文献提取、citation、reference manager、bibliography、RIS.
openclaw skills install @fangmingqi2005-create/ref-managerTurn web pages, PDFs, or a whole folder of PDFs into verified, APA-formatted references that can be imported into EndNote, plus an Excel reconciliation sheet.
For every input source, the skill extracts bibliographic metadata, cross-checks it against Crossref (the authoritative DOI registry), corrects any wrong or missing fields, formats an APA 7th-edition citation, and writes three deliverables:
references.ris — import into EndNote via File → Import → Reference Manager (RIS)references.xml — EndNote XML variant (richer field mapping)文献对账表.xlsx — Excel sheet comparing original inputs with the imported APA dataThe user may provide any combination of:
.pdf inside is scanned recursivelyrefs.json to see each record's verification status.references.ris, references.xml, and the Excel sheet.First ensure dependencies are installed:
pip install -r requirements.txt
Then run:
python scripts/main.py \
--urls "https://example.com/article" "https://example.com/page2" \
--pdfs "/path/to/paper.pdf" \
--folder "/path/to/papers" \
--apa "Some raw APA string..." \
--out "./ref-manager-output"
All flags are optional; provide at least one input type. The --out directory defaults to ./ref-manager-output.
The script prints a per-record summary with a status flag for each reference.
已修正 (corrected) or 原样正确 (already correct).待人工确认 with a note; do NOT invent data.待人工确认; rely on the user to confirm.Never fabricate authors, years, journals, or URLs. When a field is uncertain, mark it and ask.
ref-manager-output/
├── references.ris # consolidated RIS for EndNote
├── references.xml # consolidated EndNote XML
├── 文献对账表.xlsx # reconciliation sheet
└── refs.json # machine-readable intermediate
The Excel sheet has these columns (read references/endnote-import-guide.md for the full explanation):
The .enl library file is a closed proprietary format with no public API. This skill therefore produces RIS/XML files; the user imports them into EndNote with one action:
File → Import → File → select references.ris → Import Option Reference Manager (RIS) → Import.
See references/endnote-import-guide.md for step-by-step instructions.
references/apa-7-rules.md when formatting citations or when the user asks about APA rules or wants custom formatting.references/crossref-api.md when debugging extraction, adding new fields, or handling non-journal sources.references/endnote-import-guide.md when the user asks how to import or troubleshoots an EndNote import.