nature-citation

Generate Nature/CNS citations from text using Crossref and Zotero RDF.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/SunS1eep1ng/codex-dotfiles --skill nature-citation-suns1eep1ng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nature-citation
Source: https://github.com/SunS1eep1ng/codex-dotfiles/tree/main/skills/nature-citation
Command: npx skills add https://github.com/SunS1eep1ng/codex-dotfiles --skill nature-citation-suns1eep1ng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, json, argparse, xml.sax.saxutils, hashlib, re, time, urllib.request, urllib.parse, csv, html, sys, dataclasses, pathlib, and includes scripts (resource) and references (resource) and static (resource) components.

What problem does it solve?

This Skill automates the process of generating citations for scientific papers, providing a streamlined solution for researchers to manage their references efficiently.

Core Features & Use Cases

  • Citation Generation: Automatically generate citations based on provided text, ensuring accurate referencing.
  • Reference Management: Export citations in various formats compatible with reference managers like Zotero.
  • Use Case: A researcher can input a paragraph from a manuscript, and the skill will generate a list of relevant Nature/CNS citations, which can then be exported in a format suitable for their reference manager.

Quick Start

Use the nature-citation skill to generate citations for the following paragraph: "Single-cell RNA sequencing reveals cellular heterogeneity in pancreatic cancer."

Frequently Asked Questions about nature-citation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate Nature citations from manuscript text?

To automatically generate Nature citations from manuscript text, input your paragraph into the skill. It handles text segmentation, queries the Crossref API for metadata retrieval, and formats the matching scientific references for your research writing.

Can I export generated citations to Zotero for reference management?

Yes, you can export generated citations to Zotero for reference management. The skill formats the retrieved metadata into a Zotero RDF file, allowing you to directly import the generated CNS references into your preferred reference manager.

How does batch processing work for long texts during citation generation?

Batch processing for long texts works by automatically segmenting the input manuscript into manageable sections. The skill then searches and processes each segment sequentially to retrieve metadata and generate citations without manual text splitting.

Do I need the Crossref API to retrieve metadata for scientific writing citations?

Yes, you need the Crossref API to retrieve metadata for scientific writing citations. The skill relies on the Crossref API to fetch accurate publication metadata, such as authors and titles, which is required to format the final CNS references.

What is the best way to manage CNS references from multiple manuscript paragraphs?

The best way to manage CNS references from multiple manuscript paragraphs is to use an automated citation generation tool. This skill processes batch text inputs, queries Crossref for metadata, and exports a consolidated list of Nature/CNS citations.

Why does citation formatting fail when processing long scientific texts?

Citation formatting fails when processing long scientific texts if the text segmentation step cannot isolate valid search queries, or if the Crossref API cannot retrieve matching metadata for the extracted text segments to format the references.