$npx -y skills add Yuan1z0825/nature-skills --skill nature-citationAdd 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 refer
| 1 | # Nature Citation — Router |
| 2 | |
| 3 | This skill is split into two layers: |
| 4 | |
| 5 | - A **static layer** under `static/` that holds versioned, reusable content fragments (core principles and scope, the Chinese-user operating mode, and the citation workflow). |
| 6 | - 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. |
| 7 | |
| 8 | Do not try to apply the citation logic from memory or from this router. Always load fragments from disk as described below. |
| 9 | |
| 10 | ## Routing protocol |
| 11 | |
| 12 | Follow these four steps every time the skill is invoked. |
| 13 | |
| 14 | ### 1. Load the manifest and the core layer |
| 15 | |
| 16 | Read [manifest.yaml](manifest.yaml). Then read every file listed under `always_load`: |
| 17 | |
| 18 | - `static/core/principles.md` — what the skill produces, the strict journal scope, the source hierarchy, and the search-quality rules. |
| 19 | - `static/core/chinese-mode.md` — how to operate when the user writes in Chinese or asks for `Nature系列`/`CNS及子刊` style support. |
| 20 | - `static/core/workflow.md` — the seven-step workflow and the final report format. |
| 21 | |
| 22 | ### 2. No content axis — confirm scope and language inline |
| 23 | |
| 24 | Unlike the other nature-* skills, nature-citation has no fragment axis. Its variation is runtime parameters, not different content bodies: |
| 25 | |
| 26 | - **journal scope** — `Nature系列` / `CNS` / `CNS及子刊` / flagship-only. Read it from the user's wording (see `core/principles.md`) and pass it to the script as `--scope`. |
| 27 | - **user language** — if the user writes Chinese, follow `core/chinese-mode.md` (Chinese notes, English search queries). |
| 28 | - **input length** — if there are more than ~10 segments, switch to the batched long-article strategy in `references/script-usage.md`. |
| 29 | |
| 30 | State the detected scope and date limits in one short line before searching. |
| 31 | |
| 32 | ### 3. Run the workflow |
| 33 | |
| 34 | Follow the seven steps in `core/workflow.md`: segment, parse, search, evaluate support conservatively, 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. |
| 35 | |
| 36 | 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. |
| 37 | |
| 38 | ### 4. Reach for references only when needed |
| 39 | |
| 40 | The files under `references/` are deep references, not defaults. Open them on demand per the `references.on_demand` table in the manifest: |
| 41 | |
| 42 | - running the script, full flags, long-article batching → `references/script-usage.md`. |
| 43 | - turning a claim into search queries and support grades → `references/search-strategy.md`. |
| 44 | - the exact Nature/CNS journal-family boundary → `references/journal-scope.md`. |
| 45 | - RIS / EndNote / Zotero RDF export details → `references/ris-endnote.md`. |
| 46 | |
| 47 | ## Why this split |
| 48 | |
| 49 | - The static layer is versioned and reviewable; the core stays small for a normal short run. |
| 50 | - The dynamic layer keeps each invocation cheap: the script flag dump and long-article strategy load only when actually running a search. |
| 51 | - The router itself is short on purpose. Update fragments and references, not this file, when adding scope. |
| 52 | - This structure mirrors `nature-writing`, `nature-polishing`, `nature-reader`, `nature-paper2ppt`, and `nature-figure`. |