---
title: "Format citations and bibliographies from DOIs, URLs, BibTeX, and CFF before publishing"
description: "Use Citation.js when an agent has raw references and needs clean citation output instead of hand-formatting sources. It can resolve supported identifiers, normalize metadata into CSL-JSON, and emit bibliography or inline citation formats that fit articles, research notes, docs, or release materials."
verification: "security_reviewed"
source: "https://www.npmjs.com/package/citation-js"
author: "Lars Willighagen"
publisher_type: "Open Source Project"
category:
  - "Content Writing & SEO"
framework:
  - "Multi-Framework"
tool_ecosystem:
  npm_package: "citation-js"
  npm_weekly_downloads: 10654
---

# Format citations and bibliographies from DOIs, URLs, BibTeX, and CFF before publishing

Use Citation.js when an agent has raw references and needs clean citation output instead of hand-formatting sources. It can resolve supported identifiers, normalize metadata into CSL-JSON, and emit bibliography or inline citation formats that fit articles, research notes, docs, or release materials.

## Prerequisites

Node.js and npm

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
npm install citation-js
```

## Documentation

- https://citation.js.org/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/format-citations-and-bibliographies-from-dois-urls-bibtex-and-cff-before-publishing/)
