agentsclimarketplace

Citation style import

Skill ahlerjam/academic-research/skills/citation-style-import

Verwende diesen Skill wenn der User einen Zitierstil aus dem CSL-Repository importieren möchte und eine neue custom-Variante generieren will. Trigger-Phrasen: "Zitierstil importieren", "eigenen Zitierstil laden", "CSL importieren", "CSL laden", "neuer Stil", "custom citation style", "Stil aus GitHub laden". Parst .csl-Dateien ("Stilübernahme / Stiluebernahme" via xml.etree.ElementTree) und generiert Prompt-Regel-Varianten unter ${CLAUDE_PLUGIN_ROOT}/skills/citation-extraction/references/custom-<style>.md.From its SKILL.md

Install
npx -y skills add ahlerjam/academic-research --skill citation-style-import

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.6 KB, as published. Nobody here has run it

CSL-Import Skill

Gemeinsames Preamble laden: Lies skills/_common/preamble.md und befolge alle dort definierten Blöcke (Vorbedingungen, Keine Fabrikation, Aktivierung, Abgrenzung), bevor du mit diesem Skill-spezifischen Inhalt fortfährst.

Zweck

Importiert einen beliebigen Zitierstil aus dem citation-style-language/styles GitHub-Repository oder einem lokalen Pfad. Parst die .csl-Datei (XML nach CSL 1.0.2) und generiert eine neue Prompt-Regel-Variante analog zu ${CLAUDE_PLUGIN_ROOT}/skills/citation-extraction/references/apa.md.

Voraussetzungen

Python 3.10+ mit lxml>=4.9.0 (in scripts/requirements.txt enthalten). Internetverbindung für den Download aus GitHub (optional — lokales .csl geht auch).

Verwendung

1. Stil-Name ermitteln

Schau im GitHub-Repository nach dem Dateinamen: https://github.com/citation-style-language/styles

Beispiele:

  • apa.csl → APA 7th Edition
  • springer-basic-author-date.csl → Springer Basic (author-date)
  • vancouver.csl → Vancouver
  • ieee.csl → IEEE

2. CSL-Datei herunterladen (remote)

# Raw-URL für direkten Download:
# https://raw.githubusercontent.com/citation-style-language/styles/master/<dateiname>.csl

curl -o /tmp/<dateiname>.csl \
  "https://raw.githubusercontent.com/citation-style-language/styles/master/<dateiname>.csl"

3. Parser ausführen

python ${CLAUDE_PLUGIN_ROOT}/skills/citation-style-import/scripts/csl_import.py \
  /tmp/<dateiname>.csl \
  -o ${CLAUDE_PLUGIN_ROOT}/skills/citation-extraction/references/custom-<dateiname>.md

Beispiel für Springer Author-Date:

curl -o /tmp/springer-basic-author-date.csl \
  "https://raw.githubusercontent.com/citation-style-language/styles/master/springer-basic-author-date.csl"

python ${CLAUDE_PLUGIN_ROOT}/skills/citation-style-import/scripts/csl_import.py \
  /tmp/springer-basic-author-date.csl \
  -o ${CLAUDE_PLUGIN_ROOT}/skills/citation-extraction/references/custom-springer-basic-author-date.md

Verhalten

  1. .csl-Datei per xml.etree.ElementTree parsen
  2. Metadaten extrahieren: Titel, Zitierformat (<info>)
  3. Macros inventarisieren: author, issued, title, etc.
  4. Quellentypen aus <bibliography> ableiten: article-journal, book, chapter, paper-conference, other
  5. CSL-Variablen inventarisieren: author, title, DOI, issued, etc.
  6. Markdown-Datei analog apa.md generieren:
    • Inline-Zitat-Regeln (author-date / numeric / note)
    • Literaturverzeichnis-Regeln pro Quellentyp
    • Besonderheiten (DOI-Format, Autoren-Reihenfolge, etc.)

Output-Format

Die generierte Datei custom-<style>.md hat folgende Struktur:

# <Stilname>

**Zitierformat:** author-date

## Inline-Zitat
...

## Literaturverzeichnis
**Zeitschriftenartikel (`article-journal`):**
`...`

**Buch (`book`):**
`...`

...

## Besonderheiten
...

Unterstützte Quellentypen (Eval: 5 Typen)

CSL-TypDE-Bezeichnung
article-journalZeitschriftenartikel
bookBuch
chapterBuchkapitel
paper-conferenceKonferenzbeitrag
otherWebseite / Sonstige

Integration in citation-extraction Skill

Die generierte custom-<style>.md kann direkt als Referenz im citation-extraction Skill verwendet werden. Dazu in der Skill-Anfrage auf die neue Variante hinweisen:

"Zitiere im Stil springer-basic-author-date (custom-Variante)"

Bekannte Einschränkungen

  • Komplexe CSL-Macros mit bedingten Regeln werden vereinfacht dargestellt
  • Abkürzungsregeln (abbreviation Felder) werden nicht übertragen
  • Sprachspezifische Lokalisierungen (<locale>) werden ignoriert
  • Nur bibliographische Stile werden unterstützt (kein class="note")

CSL-Spezifikation

Vollständige Kurzreferenz: ${CLAUDE_PLUGIN_ROOT}/skills/citation-style-import/references/csl-spec.md

Offizielle Doku: https://docs.citationstyles.org/en/stable/specification.html

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.