Skip to content
Back to skills

Format Citation

ASecurity

Format paper citations from semantic-scholar Notes/Collections to BibTeX format

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
researchpython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill format-citation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Format Citation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Format Citation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-format-citation/badge)](https://www.skillsdirectory.com/skills/bdambrosio-format-citation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: format-citation
type: python
description: "Format paper citations from semantic-scholar Notes/Collections to BibTeX format"
---

# format-citation

Format academic paper citations from semantic-scholar Notes or Collections to BibTeX citation format.

## Input

- `target`: Collection ID, Note ID, or variable containing paper metadata
- `format`: Citation format (default: "bibtex"). Currently supports: "bibtex"

## Output

Success (`status: "success"`):
- `resource_id`: Collection ID (if input was Collection) or Note ID (if input was Note) containing formatted BibTeX citations
- Each output Note contains:
  - `text`: Formatted BibTeX citation string
  - `format`: "citation"
  - `metadata`: Original metadata preserved (if available)

## Behavior

- Processes all Notes in Collection, continuing even if individual Notes fail
- Extracts paper metadata (title, authors, year, venue, DOI) from Note content
- Formats as BibTeX entry with appropriate entry type (@article, @inproceedings, etc.)
- Creates new Notes with formatted citations, preserving original Notes
- Handles missing fields gracefully (omits unavailable fields)

## Examples

```json
{"type":"semantic-scholar","value":"transformer architecture","out":"$papers"}
{"type":"format-citation","target":"$papers","format":"bibtex","out":"$bibtex"}
```

Files in this skill

  • Skill.md1.3 KB
  • tool.py14.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…