From nature-skills
Adds strict citations from Nature Portfolio, AAAS Science family, and Cell Press journals to manuscript text by segmenting passages, filtering by date, and exporting RIS/ENW/Zotero RDF formats.
npx claudepluginhub yuan1z0825/nature-skills --plugin nature-skillsThis skill uses the workspace's default tool permissions.
Use this skill to turn manuscript text into a defensible citation export:
Compares reference managers Zotero, Mendeley, EndNote, Paperpile; covers APA/Vancouver/ACS/Nature styles, DOI management, citation tracking, and integrations with Word/Google Docs/LaTeX. Useful for scientific writing workflows.
Searches Google Scholar/PubMed for papers, extracts metadata from DOIs/PMIDs/arXiv via CrossRef/PubMed/arXiv, generates/validates BibTeX for research writing.
Conducts systematic literature reviews across PubMed, arXiv, bioRxiv, Semantic Scholar; synthesizes findings into markdown/PDFs with verified citations (APA, Vancouver). For meta-analyses, research synthesis.
Share bugs, ideas, or general feedback.
Use this skill to turn manuscript text into a defensible citation export:
.enw, .ris, or Zotero .rdfWhen the user writes in Chinese, asks for "Nature系列", "CNS及其子刊", "支撑文献", "补引用", "自动给出引用", "分段引用", "导出EndNote", "RIS", "Zotero", "RDF", or provides Chinese manuscript text:
强支撑, 部分支撑, 背景支撑, 不建议引用为该句支撑.Interpret journal scope from the user's wording, but keep the filter strict:
Nature系列: search Nature Portfolio first. Include Nature, Nature [field],
Nature Communications, Communications [field], Scientific Reports, and npj journals.CNS: search Cell, Nature, and Science plus their major sister journals.CNS及其子刊 or CNS/sister journals: search only accepted flagship and subjournal titles in
Nature Portfolio, the AAAS Science family, and Cell Press.只要Nature/Science/Cell正刊: restrict to the flagship journals Nature, Science, and Cell.Do not treat merely related journals as in-scope. A title is valid only if it is in the accepted publisher-family whitelist or clearly matches the official naming pattern for that family. If the user needs an exhaustive or submission-critical boundary, verify current official journal pages before finalizing because journal portfolios change.
Use sources in this order:
nature.com, science.org, cell.com, and official journal pages.Prefer structured APIs for metadata and publisher pages for claim verification. If metadata and publisher page disagree, preserve the DOI and journal-page facts and flag the discrepancy.
When the input text is longer than roughly 3000 characters (about 10+ segments), the skill must switch to a batched workflow to avoid timeout, context overflow, or incomplete results:
Introduction, Results, etc.) so each batch is a coherent unit, not arbitrary
sentence groups.--batch-size or --max-segments, OR split the text externally and call the script once per
chunk. Each call writes its own intermediate export file.| Segments | Strategy |
|---|---|
| 1–10 | Run once, full inline analysis is fine. |
| 11–25 | Use --batch-size 10. Write a compact summary table. Point to HTML. |
| 26+ | Split by section. Run script per section with --batch-size 10. Compact summary + HTML only. |
For each input text:
S001, S002, S003.Default segmentation rules:
For each citable segment:
mechanism, association, method, clinical, epidemiology,
background, definition, or review-context.If the claim is too broad, split it into citable subclaims rather than searching the whole sentence.
Start with scripts/nature_citation.py when internet access is available:
python scripts/nature_citation.py \
--text "PASTE MANUSCRIPT TEXT HERE" \
--scope cns \
--outdir /tmp/nature-citation \
--format enw \
--with-artifacts
Useful options:
--text-file manuscript.txt: read long text from a file.--claim "CLAIM TEXT" or --claim-file claims.txt: treat each claim as a segment.--doi 10.xxxx/xxxxx or --doi-file dois.txt: export known DOI records after screening.--scope nature: Nature Portfolio-style journals only.--scope flagship: Nature, Science, and Cell only.--from-year 2018 --to-year 2026: constrain publication dates.--rows 40: raise for broad searches; keep top candidates manageable.--per-segment 3: number of citation candidates to keep per segment.--batch-size 2: process long text in smaller batches.--max-segments 12: cap the number of segments processed in one run.--max-retries 2: retry transient Crossref failures before skipping a query.--format enw|ris|zotero-rdf: export format. If omitted and --output-file is set, infer from suffix.--mailto you@example.com: use Crossref's polite pool.--batch-size 10: process segments in batches of N. Each batch writes an incremental export file.--max-segments 20: only process the first N segments. Useful for testing or section-by-section workflows.--sleep 0.3: seconds between Crossref requests. Default is 0.3; raise to 1.0 if rate-limited.Long-article strategy:
When the topic is biomedical or PubMed-indexed, also search PubMed with journal filters and
compare results against Crossref. Use NCBI E-utilities rate limits and include tool/email
parameters if running repeated searches.
Use a conservative support scale:
strong support: the paper directly tests the same relationship/mechanism/method and the result supports the segment.partial support: the paper supports part of the segment, a related model, or a narrower condition.background support: the paper supports field context, not the specific claim.contradictory/limiting: the paper conflicts with or narrows the claim.metadata-only candidate: title/metadata suggest relevance, but abstract/full text has not been checked.Never cite a metadata-only candidate as support without checking the abstract or publisher page.
If a paper is a review, label it as review/context and avoid using it as primary evidence for an
experimental claim when primary articles are available.
Default behavior:
--from-year and --to-year--with-artifacts so the HTML browser is availableDefault file:
references.enw: EndNote tagged exportOptional:
references.ris: if the user requests RIS instead of ENWreferences.rdf: if the user requests Zotero RDFIf the user asks to choose the download format, treat ENW, RIS, and Zotero RDF as the
supported options and return only one export file unless they explicitly ask for multiple formats.
Do not invent missing fields. If DOI, pages, volume, or issue are missing, leave them absent rather than fabricating them.
Generate review artifacts (HTML/TSV/JSON/report) for long or ambiguous runs. They are the primary way the user browses, filters, and selects candidates:
--with-artifacts when the text is long, the query is broad, or the user needs manual curation.Unless the user asks for a different format, return:
交互式引用浏览器
- [absolute path to citation_visualization.html] ← 在浏览器中打开此文件,可筛选/选择/下载引用
检索范围
- [Nature Portfolio / Science family / Cell Press / flagship only, plus date limits]
分段引用对应关系
S001: [source segment]
- [Author, year, title, journal, DOI]
- 支撑等级: [strong/partial/background/limiting/metadata-only]
- 插入建议: [e.g. after sentence / after clause]
导出文件
- [absolute path to references.enw / references.ris / references.rdf]
风险和缺口
- [missing full-text check, contradictory evidence, no direct CNS literature, etc.]
Put the HTML browser path FIRST in the report, above everything else, so the user can immediately open and browse candidates. If no suitable CNS/Nature-series paper exists, say so plainly and suggest the best nearby options from non-CNS literature only if the user wants broader coverage.
If the text is long, mention the batch strategy used, especially when you limited the run with
--batch-size or --max-segments.
| File | Open when |
|---|---|
| references/search-strategy.md | You need help translating a manuscript claim into search queries and support grades |
| references/journal-scope.md | You need the default Nature/CNS journal-family boundary and official source notes |
| references/ris-endnote.md | You need RIS, EndNote, or Zotero RDF export guidance |
| scripts/nature_citation.py | You need to segment text, search Crossref, export ENW/RIS/RDF, and generate HTML |
This skill is based on public bibliographic APIs and official publisher/import documentation: Crossref REST API and filters, NCBI E-utilities, EndNote RIS import options, Nature Portfolio, AAAS Science journals, and Cell Press portfolio descriptions. Verify pages at use time when exact journal coverage or current import behavior matters.