Agent skill

Nature Citation

by jing1312 in jing1312/nature-figure-skill

Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science…

MITAuto-check passedResearch & Science

Install Nature Citation

skills CLI
$ npx skills add jing1312/nature-figure-skill --skill nature-citation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jing1312/nature-figure-skill nature-citation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jing1312/nature-figure-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nature-citation .claude/skills/nature-citation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nature-citation
GitHub stars
171
Used in
1 other repo
Token cost
~3.3k tokens
SKILL.md length
1,625 words
Files
7 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science…

  • Works in 7 steps: Segment the text → Parse each segment → Search candidate papers → …
  • The user asks to input text and automatically get references
  • SKILL.md covers Chinese-user operating mode, Default scope, Source hierarchy and Long-article strategy, plus 4 more sections
  • Runs Python scripts from its folder; calls python

What it does

Nature Citation is an agent skill from jing1312/nature-figure-skill. Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default. Use this skill whenever the user asks to input text and automatically get references, add citations to a paragraph/manuscript, find Nature-series or CNS support for statements, create…

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `README.md`, `evals/evals.json` and `references/journal-scope.md`).

It sits in Research & Science, covering Citation management. It works with Zotero. The repository describes itself as: 追求每一张图的完美,支持直接修改图片,让每一张图都经得起审稿人的追问. The licence is MIT.

When your agent uses it

  • The user asks to input text and automatically get references
  • Add citations to a paragraph/manuscript
  • Find Nature-series
  • CNS support for statements

Example prompts

  • “自动给出引用”
  • “Nature系列引用”
  • “CNS及子刊”
  • “/nature-citation”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Segment the text
  2. Parse each segment
  3. Search candidate papers
  4. Evaluate whether each paper supports the segment
  5. Export reference-manager file
  6. Optional review artifacts
  7. Report results

What it can do on your machine

Read from SKILL.md and the folder at commit af77802. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nature Citation loads about 3.3k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 163 tokens; SKILL.md has 1,625 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~163
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jing1312/nature-figure-skill at commit af77802, republished under its MIT licence (© jing1312). 1,625 words, ~3,330 tokens.

Download SKILL.mdSave it as .claude/skills/nature-citation/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
nature-citation
description
Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default. Use this skill whenever the user asks to input text and automatically get references, add citations to a paragraph/manuscript, find Nature-series or CNS support for statements, create text-to-reference correspondence, "分段引用", "自动给出引用", "Nature系列引用", "CNS及子刊", "支撑文献", "补引用", "找引用", or export EndNote/RIS/ENW/Zotero RDF.

Nature Citation

Use this skill to turn manuscript text into a defensible citation export:

  • segmented text with citation candidates for each segment
  • a reference-manager import file in .enw, .ris, or Zotero .rdf
  • conservative evidence notes explaining whether each candidate truly supports the segment

Chinese-user operating mode

When the user writes in Chinese, asks for "Nature系列", "CNS及其子刊", "支撑文献", "补引用", "自动给出引用", "分段引用", "导出EndNote", "RIS", "Zotero", "RDF", or provides Chinese manuscript text:

  • Accept the text in Chinese, but search using English concept queries unless the topic is explicitly China-specific or Chinese-language scholarship.
  • Return segment notes and evidence notes in Chinese by default.
  • Preserve the exact source segment and translate it into one or more English search claims.
  • Flag overclaiming clearly in Chinese: 强支撑, 部分支撑, 背景支撑, 不建议引用为该句支撑.
  • Do not present a paper as supporting the claim merely because its title is related.

Default scope

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.

Source hierarchy

Use sources in this order:

  1. Structured bibliographic metadata: Crossref, PubMed/NCBI E-utilities, DOI metadata.
  2. Publisher pages: nature.com, science.org, cell.com, and official journal pages.
  3. Full text or abstract pages, if accessible.
  4. Secondary databases such as Google Scholar, Semantic Scholar, Web of Science, or Scopus only as discovery aids, not as the sole support basis.

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.

Long-article strategy

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:

  1. Auto-detect length. Count segments after segmentation. If there are more than 10 segments, switch to batch mode automatically.
  2. Split by section. Prefer splitting at paragraph double-line breaks or explicit section headings (Introduction, Results, etc.) so each batch is a coherent unit, not arbitrary sentence groups.
  3. Process each batch independently. Run the Python script once per batch using --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.
  4. Merge results at the end. After all batches finish, combine the intermediate files into one final export. Deduplicate by DOI.
  5. Minimize inline analysis. For long articles, do NOT write detailed support-grade notes for every single segment inline. Instead:
    • Write a compact summary table (segment ID → best candidate → support grade).
    • Point the user to the HTML visualization for full browsing.
    • Only elaborate on segments where no candidate was found or evidence is contradictory.
Quick guide for Claude
SegmentsStrategy
1–10Run once, full inline analysis is fine.
11–25Use --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.

Workflow

1. Segment the text

For each input text:

  • Split long text into citable segments. Prefer paragraph boundaries first, then sentence boundaries.
  • Keep each segment focused on one citable idea when possible.
  • Preserve original order and stable segment IDs such as S001, S002, S003.
  • Skip obvious non-citable connective sentences unless the user asks to cite every sentence.
  • For very long text, process in batches but keep a single final mapping table.
  • If the input has more than about 10 segments, prefer batch mode.

Default segmentation rules:

  • Use blank lines as paragraph boundaries.
  • If a paragraph is longer than about 700 characters or contains multiple claims, split into sentences.
  • Merge very short fragments into neighboring text unless they contain a distinct claim.
  • Keep section headings as labels, not as citable segments.
2. Parse each segment

For each citable segment:

  • Extract the core claim in one sentence.
  • Identify claim type: mechanism, association, method, clinical, epidemiology, background, definition, or review-context.
  • Identify entities, intervention/exposure, outcome, population/model, directionality, and boundary.
  • Convert the claim into 2-4 English search queries:
    • one precise query with all key terms
    • one synonym query
    • one broader background query
    • one methods or model query if relevant

If the claim is too broad, split it into citable subclaims rather than searching the whole sentence.

3. Search candidate papers

Start with scripts/nature_citation.py when internet access is available:

bash
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:

  • 1-10 segments: run normally.
  • 11-25 segments: use batch mode and keep the HTML browser open for screening.
  • 26+ segments: split by section or subsection first, then run each part separately if needed.
  • For long texts, prefer the HTML browser for review and selection instead of relying only on inline notes.

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.

Show full SKILL.md (578 more words)Show less
4. Evaluate whether each paper supports the segment

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.

5. Export reference-manager file

Default behavior:

  • write one reference-manager file
  • support publication time filters with --from-year and --to-year
  • for long or ambiguous texts, use --with-artifacts so the HTML browser is available

Default file:

  • references.enw: EndNote tagged export

Optional:

  • references.ris: if the user requests RIS instead of ENW
  • references.rdf: if the user requests Zotero RDF
  • review artifacts only when explicitly requested

If 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.

6. Optional review artifacts

Generate review artifacts (HTML/TSV/JSON/report) for long or ambiguous runs. They are the primary way the user browses, filters, and selects candidates:

  • Use --with-artifacts when the text is long, the query is broad, or the user needs manual curation.
  • Report the HTML visualization path prominently in your final answer when artifacts are enabled.
  • Generate TSV/JSON/report alongside the HTML so the user has multiple views.
7. Report results

Unless the user asks for a different format, return:

text
交互式引用浏览器
- [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.

Search quality rules

  • Prefer precision over volume. A useful answer is usually 3-8 candidates, not 50 loosely related papers.
  • Use exact phrase searches only for distinctive terms; otherwise use concept terms and synonyms.
  • Check journal identity. Many journals contain the word "nature" but are not Nature Portfolio journals.
  • Treat citation count as a tie-breaker, not evidence of support.
  • Capture retractions, corrections, and expressions of concern when visible in Crossref or publisher metadata.
  • Date-sensitive topics require current searching and explicit search date.
  • For medical, clinical, or safety claims, search current literature and state that citations do not replace clinical guidance or systematic review.
FileOpen when
references/search-strategy.mdYou need help translating a manuscript claim into search queries and support grades
references/journal-scope.mdYou need the default Nature/CNS journal-family boundary and official source notes
references/ris-endnote.mdYou need RIS, EndNote, or Zotero RDF export guidance
scripts/nature_citation.pyYou need to segment text, search Crossref, export ENW/RIS/RDF, and generate HTML

Source notes

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.

© jing1312, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/nature-citation of jing1312/nature-figure-skill.

  • SKILL.md
  • README.md
  • evals/evals.json
  • references/journal-scope.md
  • references/ris-endnote.md
  • references/search-strategy.md
  • scripts/nature_citation.py

Open the folder on GitHubat commit af77802

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in jing1312/nature-figure-skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Nature Citation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nature Citation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nature Citation this skilljing1312/nature-figure-skill1711 repos~3.3kAutomated safety check: PassMIT
Systematic Review ScreenerImbad0202/academic-research-skills51k—~8.4kAutomated safety check: PassCustom licence
Citation Verification GuideGalaxy-Dawn/claude-scholar5.7k2 repos~1.9kAutomated safety check: PassMIT
Cnki Exportcookjohn/cnki-skills9832 repos~1.7kAutomated safety check: PassNone
Annotate Paper54yyyu/zotero-mcp5.3k—~1.5kAutomated safety check: PassMIT
Zotero CLI54yyyu/zotero-mcp5.3k—~2.3kAutomated safety check: PassMIT

Similar skills

  • Systematic Review Screener

    Imbad0202/academic-research-skills

    Screens records for systematic, scoping and rapid reviews against fixed eligibility rules, using two blinded AI reviewers and a third adjudicator, with traceable PRISMA counts.

    51k GitHub stars~8.4k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Citation Verification Guide

    Galaxy-Dawn/claude-scholar

    Reference guidance for checking every citation in academic writing against canonical sources such as DOI, arXiv, CrossRef and Semantic Scholar, to catch fake or wrong references.

    5.7k GitHub starsUsed in 2 repos~1.9k tokens
    Research & ScienceAuto-check passed
  • Cnki Export

    cookjohn/cnki-skills

    Export paper from CNKI and push to Zotero, or save as RIS file.

    983 GitHub starsUsed in 2 repos~1.7k tokens
    Research & ScienceAuto-check passed
  • Annotate Paper

    54yyyu/zotero-mcp

    Read the open paper and write study annotations into its PDF with zotero-cli - a context box on the title, a four-part summary on the abstract, role-coded abstract highlights, one box per figure…

    5.3k GitHub stars~1.5k tokensUpdated 3 days ago
    Research & ScienceAuto-check passed
  • Zotero CLI

    54yyyu/zotero-mcp

    Reads and edits a Zotero library from the shell with zotero-cli: search by keyword or meaning, read PDF text, manage tags, notes and collections, and export bibliographies.

    5.3k GitHub stars~2.3k tokensUpdated 3 days ago
    Research & ScienceAuto-check passed
  • Deeppapernote

    917Dhj/DeepPaperNote

    Generate a high-quality deep-reading note for a single paper and write it into an Obsidian-style vault.

    1.2k GitHub starsUsed in 1 repo~5.9k tokens
    Research & ScienceAuto-check passed

More from jing1312/nature-figure-skill

  • Nature Academic Search

    jing1312/nature-figure-skill

    Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion)…

    171 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check: notes
  • Nature Reader

    jing1312/nature-figure-skill

    Build full-paper Chinese-English side-by-side, figure/table-aware, source-grounded Markdown readers for journal or conference papers from PDF, DOI, arXiv, publisher HTML, or pasted text.

    171 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Nature Paper2ppt

    jing1312/nature-figure-skill

    Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes.

    171 GitHub stars~9.5k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Nature Citation

What does Nature Citation do?

Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science…. Nature Citation is an agent skill from jing1312/nature-figure-skill. Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default.

When should I use Nature Citation?

Nature Citation fits situations like: the user asks to input text and automatically get references; add citations to a paragraph/manuscript; find Nature-series; CNS support for statements.

How do I install Nature Citation in Claude Code?

Run `npx skills add jing1312/nature-figure-skill --skill nature-citation -a claude-code`. Or copy the skill folder (skills/nature-citation in jing1312/nature-figure-skill) into .claude/skills/nature-citation in your project. Claude Code loads it when a task matches its description.

How do I install Nature Citation in Codex?

Run `npx skills add jing1312/nature-figure-skill --skill nature-citation -a codex`. Or copy the skill folder (skills/nature-citation in jing1312/nature-figure-skill) into .agents/skills/nature-citation in your project. Codex loads it when a task matches its description.

Can I use Nature Citation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jing1312/nature-figure-skill --skill nature-citation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nature-citation, .gemini/skills/nature-citation, .github/skills/nature-citation and .opencode/skills/nature-citation in your project.

What does Nature Citation need to run?

Going by SKILL.md and its folder, Nature Citation needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Nature Citation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nature Citation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Nature Citation use?

Nature Citation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nature Citation use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Nature Citation?

Skills that share tags, products or a category with Nature Citation: Systematic Review Screener (Imbad0202/academic-research-skills, 51k stars), Citation Verification Guide (Galaxy-Dawn/claude-scholar, 5.7k stars), Cnki Export (cookjohn/cnki-skills, 983 stars) and Annotate Paper (54yyyu/zotero-mcp, 5.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nature Citation?

jing1312 (a GitHub user) maintains it in jing1312/nature-figure-skill, which has 171 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 8, 2026.

Source: jing1312/nature-figure-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.