Rseng Citation Metadata 标志

Rseng Citation Metadata

社区
fdiblen
rseng-citation-metadata

Covers making research software citable and contributors credited: writing CITATION.cff, describing software with CodeMeta (codemeta.json), minting DOIs and ORCIDs, and tracking contributors of every kind. Use when the user asks how to make software citable, add CITATION.cff or codemeta.json, obtain a DOI, ensure contributors get credit, or mentions CFF, CodeMeta, ORCID, CRediT or persistent identifiers. Use PROACTIVELY when generated code draws on a publication, website or existing code (credit it at the code site and in the references), at release preparation, and when citation files are edited. (Verifying references you cite: rseng-citation-hygiene; versioning schemes and the DOI-minting release: rseng-publishing-releasing.)

概览

发布者fdiblen
代码仓库rseng-agent-skills
技能名称rseng-citation-metadata
星标数
26
复刻数
2
附带文件
1
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fdiblen 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rseng Citation Metadata AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-citation-metadata
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fdiblen/rseng-agent-skills.git /tmp/rseng-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rseng-agent-skills/skills/rseng-citation-metadata .claude/skills/rseng-citation-metadata
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Rseng Citation Metadata,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rseng Citation Metadata。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rseng Citation Metadata 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Making research software citable and credited

Use this skill when someone wants their research software to be cited, discovered, and formally recognised: adding a citation file, writing machine-readable metadata, getting a persistent identifier, or building an evidence base of who contributed. Software has no title page, so the information needed to cite it is often hard to find - a citation file and structured metadata are what let both humans and tools cite the exact work correctly. Advise concrete files in the repository root, not abstractions.

Start here: what a citable project needs

For most projects, recommend all four in the repository root:

  1. CITATION.cff - machine-readable citation metadata.
  2. codemeta.json - richer discovery/interoperability metadata.
  3. A DOI from an archive like Zenodo, minted per release.
  4. A CONTRIBUTORS file - human-readable team record alongside the machine-readable ones.

A software citation itself should carry: title, the specific version used, authors/creators, a DOI or other stable link, and the repository URL - the version matters for reproducibility.

Write a CITATION.cff file

The Citation File Format is a structured plaintext (YAML) format; a valid CITATION.cff in the repo root is reused automatically by GitHub, Zenodo, and Zotero. Do not hand-craft the syntax from memory - point the user at the CFFINIT generator, or start from the official example and validate with cffconvert.

Checklist of core fields to populate:

  • cff-version - the CFF schema version (e.g. 1.2.0).
  • message - the "please cite as" instruction.
  • title - the official software name.
  • authors - each with given-names, family-names, and an orcid where available; an author may instead be a name for an organisation.
  • version - the release being cited.
  • date-released - the release date.
  • doi - the release or concept DOI once minted.
  • repository-code - the source repository URL.
  • license - an SPDX identifier.
  • If a paper should be cited instead of, or alongside, the software, add a preferred-citation block pointing to the article and its DOI.

Minimal shape to adapt (validate before committing):

yaml
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: Your Software Name
version: 1.0.0
date-released: 2026-01-15
doi: 10.5281/zenodo.1234567
repository-code: https://github.com/yourusername/your-repo
license: MIT
authors:
  - given-names: First
    family-names: Author
    orcid: https://orcid.org/0000-0002-1825-0097
    affiliation: University of Edinburgh

Tell the user to generate with CFFINIT and validate with cffconvert rather than trusting a hand-edited file.

Describe the software with CodeMeta

codemeta.json is a JSON-LD metadata standard (extending Schema.org) that travels between archives and registries - Zenodo, FigShare, InvenioRDM, and Software Heritage can ingest it, so metadata is not re-entered when getting a DOI. Recommend it whenever discovery, interoperability, or DOI minting is in play. Match the type of metadata to the goal: citation metadata for academic credit, versions and dependencies for reproducing an analysis, keywords and descriptions for discoverability.

Field checklist for a complete record:

  • name, description, version - identity and release.
  • author and contributor - each a Person with givenName, familyName, and an ORCID as identifier.
  • license - an SPDX URL (e.g. https://spdx.org/licenses/MIT).
  • codeRepository and issueTracker - where the code and issues live.
  • programmingLanguage, softwareRequirements - stack and dependencies.
  • identifier - the software's own DOI once archived.
  • referencePublication - the related article, with its DOI as identifier, when there is a paper to cite.
  • funder - as an Organization with an identifier such as a Crossref Funder ID.
  • keywords, dateCreated, dateModified - discovery and freshness.

Generate it with the CodeMeta Generator (form-based) or SOMEF (from README and docs), then always review it by hand to add ORCID iDs and funder detail, and validate the JSON-LD. Keep it current: update on every new version or contributor.

Identify and version the software

Uniquely identifying software and each version underpins reproducibility, citation, and long-term access. Combine methods rather than treating them as alternatives:

  • Semantic Versioning (MAJOR.MINOR.PATCH) for human-readable release identity - apply it consistently across GitHub tags and distribution artifacts like Docker images.
  • A DOI for a globally unique, citable reference that plugs into academic systems - the right choice for research software.
  • Git commit hashes and cryptographic checksums for exact development snapshots and integrity, where relevant.

If the project is registered in a repository or registry, a persistent identifier is often created automatically; the awesome-research-software- registries list helps find a suitable one.

Getting a DOI from Zenodo

Zenodo issues a concept DOI for the project as a whole plus a release DOI per version - cite the release DOI for reproducibility, the concept DOI to refer to the project generally.

For GitHub-hosted code:

  1. Create or link a Zenodo account to the GitHub account.
  2. Enable the repository under Zenodo's GitHub settings so each release is archived automatically.
  3. Draft a new release on GitHub; Zenodo archives it and mints a DOI.
  4. Copy the DOI badge (Markdown form) into the repository README.

For GitLab-hosted code, the path differs: provide a codemeta.json, get a Zenodo token with publishing scopes, and add eOSSR or gitlab2zenodo to the GitLab CI pipeline so a release triggers an automatic Zenodo deposit and DOI. Note gitlab2zenodo needs a .zenodo.json converted from codemeta.json (eossr can do this).

Credit and recognition

Software contributions - maintenance, bug fixes, review, documentation - are routinely invisible in publication-centric assessment. Making them creditable needs structured metadata linking people to specific work via persistent identifiers. Advise:

  • Reward actions over roles: record verifiable, specific activities (a bug fix, a feature, a test-suite improvement) rather than static labels like "Developer". Still map roles with CRediT or the Contributor Roles Ontology where automated systems or institutions need them.
  • Get every contributor an ORCID so identity flows into professional records without manual work.
  • Make the software findable and citable via a DOI first - a contribution no one can point to will not be counted.
  • Prefer tools that capture credit automatically from the workflow: APICURON for validated contribution events on ORCID profiles, BIP! Scholar for reuse and popularity indicators from OpenAIRE Graph metadata.

For a career or assessment case, pair quantitative reach (package-manager downloads on PyPI or CRAN, dependency graphs, citing papers) with narrative on technical complexity and scientific impact; check whether the institution or funder recognises software as an output; and add a "Credit and Recognition" section to the Software Management Plan, tracking contributions from the start rather than retrospectively.

Validate citation files in CI: the cffconvert GitHub Action checks CITATION.cff on every push, so a malformed file fails fast instead of surfacing at publication time (pattern from the NLeSC python-template).

Follow the contributors, proactively

Contributor records rot silently: people join, review, triage and document, and the citation files still name the two founders. Track contributions and suggest updates rather than waiting to be asked:

  • Watch ALL contribution kinds, not just commits: merged PRs and their reviewers, substantive issue triage, documentation and support work - the all-contributors categories exist because commit logs miss the classically uncredited work.
  • Harvest authorship from commit METADATA: author/committer fields, Co-authored-by: trailers and .mailmap are the machine-readable record - names pasted into commit prose or file headers are not (rseng-version-control-review); fix wrong-place practice at the source before fixing citation files.
  • Diff activity against CITATION.cff, codemeta.json and CONTRIBUTORS; report who is active but unrecorded (and recorded but never active - possibly fine, possibly a paste error).
  • Suggest at natural checkpoints: release prep (before the DOI freezes the author list), citation-file edits, a contributor's first merged PR.
  • Respect policy and people: who counts as author vs acknowledged contributor is project policy (rseng-community-governance); adding someone needs their consent and preferred name/ORCID; never remove or reorder without explicit agreement. The agent proposes with evidence; humans decide.
  • Automate the memory: the all-contributors bot records categorized contributions as they happen; a release-checklist item makes the check routine (rseng-publishing-releasing).

Credit what the code came from

Crediting flows both ways: the sources that INFORM generated or hand-written code deserve the same rigor as the project's own citability. Whenever a website, publication, algorithm description, existing codebase, or a Q&A answer shapes code, record it in every place a future reader will look:

  • At the code site: a short comment where the adaptation lives - source URL or DOI, what was taken (algorithm, approach, snippet), and the source's license whenever actual code was copied or ported. If code was copied, license compatibility must be checked first (rseng-license-compliance); incompatible source license means reimplement from the description, not copy.
  • In the references: load-bearing sources - the paper whose method the code implements, software that was adapted - belong in CITATION.cff references entries (type, title, authors, DOI/URL) and in the project documentation's references section, not only in a comment.
  • In the AI declaration: when an agent generated the code, the aidecl.yaml component notes name the sources it drew on (rseng-ai-declaration) - provenance of the inputs, not just the tool.
  • Honestly: omitting a source that materially shaped the code misrepresents the work's originality (rseng-honesty), and a cited source must actually support what it is cited for (rseng-fact-checking).

There is no file pattern that reveals an uncredited source, so no mechanical check exists - this is a discipline to apply AT GENERATION TIME, and a review question afterwards (rseng-code-review: "where did this method come from, and does the code say so?").

Working with this skill

The generated references.md beside this file lists the source material and pointers.

Learn more (verified):

Related skills

Check whether any of these applies before moving on:

  • rseng-archiving - deposit metadata reuses codemeta
  • rseng-citation-hygiene - verifying outbound references
  • rseng-community-governance - authorship policy decisions
  • rseng-fair-software - metadata implements findability
  • rseng-publishing-releasing - DOI minting at release
  • rseng-software-reuse - citing adopted software
  • rseng-version-control-review - authorship harvested from commit metadata

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Rseng Citation Metadata AI 技能有什么作用?

Covers making research software citable and contributors credited: writing CITATION.cff, describing software with CodeMeta (codemeta.json), minting DOIs and ORCIDs, and tracking contributors of every kind. Use when the user asks how to make software citable, add CITATION.cff or codemeta.json, obtain a DOI, ensure contributors get credit, or mentions CFF, CodeMeta, ORCID, CRediT or persistent identifiers. Use PROACTIVELY when generated code draws on a publication, website or existing code (credit it at the code site and in the references), at release preparation, and when citation files are...

为什么在 TypingMind 中使用 Rseng Citation Metadata?

因为您只需安装一次,就能搭配任何模型使用。Rseng Citation Metadata 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Rseng Citation Metadata?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-citation-metadata。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rseng Citation Metadata?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rseng Citation Metadata 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rseng Citation Metadata 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rseng Citation Metadata AI 技能免费吗?

是的。fdiblen 已在 GitHub 上根据 CC-BY-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇