Agent SkillsYuan1z0825/nature-skills › nature-citation

nature-citation

GitHub

为学术手稿添加严格的Nature/CNS系列及子刊引用。通过分段、搜索限定期刊库、过滤时间范围并验证元数据,自动生成符合格式要求的参考文献列表,支持多种引文管理器导出。

skills/nature-citation/SKILL.md Yuan1z0825/nature-skills

Trigger Scenarios

自动给出引用 Nature系列引用 CNS及子刊 支撑文献 补引用 找引用 学术写作引用 写论文加引用 写paper找文献 加参考文献 配文献 引用文献 文献支撑

Install

npx skills add Yuan1z0825/nature-skills --skill nature-citation -g -y
More Options

Use without installing

npx skills use Yuan1z0825/nature-skills@nature-citation

指定 Agent (Claude Code)

npx skills add Yuan1z0825/nature-skills --skill nature-citation -a claude-code -g -y

安装 repo 全部 skill

npx skills add Yuan1z0825/nature-skills --all -g -y

预览 repo 内 skill

npx skills add Yuan1z0825/nature-skills --list

SKILL.md

Frontmatter
{
    "name": "nature-citation",
    "metadata": {
        "author": "Yuan1z skill, refactored into static\/dynamic layers"
    },
    "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. Also trigger on general academic-writing citation needs even without the word \"Nature\", such as adding references while writing a paper, finding sources\/literature for a claim, building a reference list, citation\/referencing for academic writing, and Chinese phrasings like 学术写作引用、写论文加引用、写paper找文献、加参考文献、配文献、引用文献、文献支撑."
}

Nature Citation — Router

This skill is split into two layers:

  • A static layer under static/ that holds versioned, reusable content fragments (core principles and scope, the Chinese-user operating mode, and the citation workflow).
  • A dynamic layer (this file plus manifest.yaml) that loads the core every time and reaches for heavier material only when a step needs it.

Do not try to apply the citation logic from memory or from this router. Always load fragments from disk as described below.

Routing protocol

Follow these four steps every time the skill is invoked.

1. Load the manifest and the core layer

Read manifest.yaml. Then read every file listed under always_load:

  • static/core/principles.md — what the skill produces, the strict journal scope, the source hierarchy, and the search-quality rules.
  • static/core/chinese-mode.md — how to operate when the user writes in Chinese or asks for Nature系列/CNS及子刊 style support.
  • static/core/workflow.md — the seven-step workflow and the final report format.

2. No content axis — confirm scope and language inline

Unlike the other nature-* skills, nature-citation has no fragment axis. Its variation is runtime parameters, not different content bodies:

  • journal scopeNature系列 / CNS / CNS及子刊 / flagship-only. Read it from the user's wording (see core/principles.md) and pass it to the script as --scope.
  • user language — if the user writes Chinese, follow core/chinese-mode.md (Chinese notes, English search queries).
  • input length — if there are more than ~10 segments, switch to the batched long-article strategy in references/script-usage.md.

State the detected scope and date limits in one short line before searching.

3. Run the workflow

Follow the seven steps in core/workflow.md: segment, parse, search, evaluate support conservatively, validate complete structured author metadata, export one reference-manager file, generate review artifacts when useful, and report with the HTML browser path first. Prefer scripts/nature_citation.py for the search/export when internet access is available; open references/script-usage.md for its full flag list and the long-article batch strategy. When DOI metadata lacks given names, refetch the record by PMID or verify it against the publisher rather than exporting surname-only AU fields.

Never present a paper as support merely because its title is related, and never cite a metadata-only candidate without checking the abstract or publisher page. Do not invent missing bibliographic fields.

4. Reach for references only when needed

The files under references/ are deep references, not defaults. Open them on demand per the references.on_demand table in the manifest:

  • running the script, full flags, long-article batching → references/script-usage.md.
  • turning a claim into search queries and support grades → references/search-strategy.md.
  • the exact Nature/CNS journal-family boundary → references/journal-scope.md.
  • RIS / EndNote / Zotero RDF export details → references/ris-endnote.md.

Why this split

  • The static layer is versioned and reviewable; the core stays small for a normal short run.
  • The dynamic layer keeps each invocation cheap: the script flag dump and long-article strategy load only when actually running a search.
  • The router itself is short on purpose. Update fragments and references, not this file, when adding scope.
  • This structure mirrors nature-writing, nature-polishing, nature-reader, nature-paper2ppt, and nature-figure.

Version History

  • 4ceb19c Current 2026-08-16 06:47

    修复skill frontmatter无效问题;将RIS设为安全默认导出格式。

  • 9186222 2026-07-24 15:54

Same Skill Collection

skills/nature-downloader/SKILL.md
skills/nature-experiment-log/SKILL.md
skills/nature-literature-pipeline/SKILL.md
skills/nature-proposal-writer/SKILL.md
skills/nature-ref-verifier/SKILL.md
skills/nature-shared/SKILL.md
skills/nature-academic-search/SKILL.md
skills/nature-data/SKILL.md
skills/nature-figure/SKILL.md
skills/nature-paper-card/SKILL.md
skills/nature-paper-to-patent/SKILL.md
skills/nature-paper2ppt/SKILL.md
skills/nature-polishing/SKILL.md
skills/nature-reader/SKILL.md
skills/nature-response/SKILL.md
skills/nature-reviewer/SKILL.md
skills/nature-statistics/SKILL.md
skills/nature-writing/SKILL.md

Metadata

Files
0
Version
4ceb19c
Hash
ada57208
Indexed
2026-07-24 15:54

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 17:35
浙ICP备14020137号-1 $Гость$