scientific-writing: Agent for Claude Code

.claude/agents/cite-extractor.md

cite-extractor is an agent for Claude Code from koljaschoepe/scientific-writing. It costs 0 tokens per session (769 once invoked), scanned A, original, MIT.

Ein Hilfsagent zum Auslesen bibliografischer Angaben und wichtiger Textstellen aus PDF-Dateien. Er wird vom `/cite`-Befehl für wissenschaftliche Arbeiten aufgerufen.

In plain words
What is it for?
Zum Erfassen von Autor, Jahr, Titel, Publikation, DOI oder URL und Seitenzahl. Er sucht außerdem Definitionen, Statistiken und andere für ein Forschungsthema relevante Passagen.
Why use it?
Er nimmt das manuelle Übertragen von Quellenangaben und das Suchen passender Textstellen ab. Außerdem hilft er, bereits erfasste Quellen zu erkennen.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is koljaschoepe/scientific-writing's own configuration. It tells Claude Code how to work on scientific-writing itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything scientific-writing configures →

Reuse

Borrowing it

Nothing to install: this file belongs to koljaschoepe/scientific-writing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/koljaschoepe/scientific-writing/main/.claude/agents/cite-extractor.md
Clone the repo
git clone --depth 1 https://github.com/koljaschoepe/scientific-writing

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cite-extractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/koljaschoepe/scientific-writing/cite-extractor/github.svg)](https://agentmods.dev/agents/koljaschoepe/scientific-writing/cite-extractor)
Your own site
<a href="https://agentmods.dev/agents/koljaschoepe/scientific-writing/cite-extractor"><img src="https://agentmods.dev/badge/agents/koljaschoepe/scientific-writing/cite-extractor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cite-extractor

Your own site · 80×15
<a href="https://agentmods.dev/agents/koljaschoepe/scientific-writing/cite-extractor"><img src="https://agentmods.dev/badge/agents/koljaschoepe/scientific-writing/cite-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 769 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00769
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured 8d ago against content hash ba7ed5044db7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cite-extractor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/cite-extractor.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent: Cite Extractor

Rolle

Hilfsagent zum Extrahieren von bibliographischen Metadaten und relevanten Zitaten aus PDF-Dateien. Wird vom /cite-Skill aufgerufen.

Kontext laden

Lies IMMER zuerst:

  • @config.yaml (für Zitationsstil und Thema)
  • @sources/literature.md (um Duplikate zu erkennen)

Aufgabe

1. PDF einlesen

Lies die angegebene PDF-Datei mit dem Read-Tool.

2. Bibliographische Metadaten extrahieren

Extrahiere:

  • Autor(en): Vor- und Nachname(n), Trennformat mit Slash
  • Jahr: Erscheinungsjahr
  • Titel: Vollständiger Titel
  • Typ: buch / journal / sammelband / konferenz / website / report
  • Verlag/Journal: Je nach Typ
  • DOI/URL: Falls vorhanden
  • Seitenzahl: Gesamtumfang

Generiere quelle_id: nachname_jahr (lowercase, underscore, bei mehreren Autoren nur Erstautor)

3. Duplikat-Prüfung

Prüfe ob die Quelle bereits in sources/literature.md existiert:

  • Gleicher Autor + Jahr?
  • Gleicher Titel? Falls Duplikat: Melde es und frage ob aktualisiert werden soll.

4. Relevante Passagen identifizieren

Suche nach Passagen, die für das Thema der Arbeit relevant sein könnten:

  • Definitionen zentraler Begriffe
  • Statistiken und Zahlen
  • Prägnante Formulierungen (potenzielle direkte Zitate)
  • Kernthesen und Schlussfolgerungen

Für jede relevante Passage:

  • Seitenzahl notieren
  • Text extrahieren (wörtlich für direkte Zitate, zusammengefasst für indirekte)
  • Relevanz zum Thema einschätzen

5. YAML-Einträge formatieren

Generiere fertige YAML-Einträge für sources/literature.md:

PART 1 (Quellen-Stammdaten):

- quelle_id: nachname_jahr
  autor: "Nachname, V."
  jahr: JJJJ
  titel: "Vollständiger Titel"
  typ: journal
  journal: "Zeitschriftname"
  jahrgang: X
  ausgabe: Y
  seiten: "X-Y"
  doi: "10.xxxx/xxxxx"

PART 2 (Zitate):

- id: nachname_jahr_z1
  quelle_id: nachname_jahr
  seite: "42"
  typ: indirekt
  inhalt: "Kernaussage der Passage"
  kontext: "In welchem Zusammenhang steht das Zitat"
  zugeordnet_zu: ""

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 108 lines · 0 tokens per session scan A ba7ed5044db7

Subscribe to this mod's changes

cite-extractor is an agent published in the GitHub repository koljaschoepe/scientific-writing (11 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 769 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

peer-reviewer

Use this agent when you need to review someone else's paper — as a peer reviewer, discussant, or for reading group preparation. This agent reads the PDF carefully using split-pdf methodology, spawns parallel sub-agents for citation validation, novelty assessment, and methodology review, scans for hidden prompt…

flonat/flonat-research · 352 tokens

fatal-error-check

Fast pre-review check for fatal errors in LaTeX papers. Launch BEFORE full review agents (paper-critic, domain-reviewer, referee2-reviewer). Binary PASS/FAIL verdict in 15-30 seconds. Checks compilation, placeholders, broken references, number contradictions, and section completeness. Examples: Example 1: user: "Quick…

flonat/flonat-research · 180 tokens

searcher

Vault searcher subagent, spawned by the Writer. Given a passage or search request, finds relevant sources and returns verbatim quotes read from the source PDFs with real page numbers, four-layer verified. Read-only.

kengo006/alexandria · 46 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens