citation-management
This Claude Code skill automates the research citation workflow by searching Google Scholar and PubMed, extracting metadata from CrossRef and other sources, and generating properly formatted BibTeX entries. Use it when converting document identifiers like DOIs or PMIDs to citations, validating reference accuracy, building bibliographies, or cleaning citation databases to ensure consistency across academic manuscripts and research projects.
git clone --depth 1 https://github.com/K-Dense-AI/claude-scientific-writer /tmp/citation-management && cp -r /tmp/citation-management/skills/citation-management ~/.claude/skills/citation-managementSKILL.md
# Citation Management ## Overview Manage citations systematically throughout the research and writing process. This skill provides tools and strategies for searching academic databases (Google Scholar, PubMed), extracting accurate metadata from multiple sources (CrossRef, PubMed, arXiv), validating citation information, and generating properly formatted BibTeX entries. Critical for maintaining citation accuracy, avoiding reference errors, and ensuring reproducible research. Integrates seamlessly with the literature-review skill for comprehensive research workflows. ## When to Use This Skill Use this skill when: - Searching for specific papers on Google Scholar or PubMed - Converting DOIs, PMIDs, or arXiv IDs to properly formatted BibTeX - Extracting complete metadata for citations (authors, title, journal, year, etc.) - Validating existing citations for accuracy - Cleaning and formatting BibTeX files - Finding highly cited papers in a specific field - Verifying that citation information matches the actual publication - Building a bibliography for a manuscript or thesis - Checking for duplicate citations - Ensuring consistent citation formatting ## Visual Enhancement with Scientific Schematics **When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.** If your document does not already contain schematics or diagrams: - Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams - Simply describe your desired diagram in natural language - Nano Banana Pro will automatically generate, review, and refine the schematic **For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text. **How to generate schematics:** ```bash python scripts/generate_schematic.py "your diagram description" -o figures/output.png ``` The AI will automatically: - Create publication-quality images with proper formatting - Review and refine through multiple iterations - Ensure accessibility (colorblind-friendly, high contrast) - Save outputs in the figures/ directory **When to add schematics:** - Citation workflow diagrams - Literature search methodology flowcharts - Reference management system architectures - Citation style decision trees - Database integration diagrams - Any complex concept that benefits from visualization For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation. --- ## Core Workflow Citation management follows a systematic process. Each phase below shows the canonical command; every variant, option, and metadata-source detail is in [references/core_workflow.md](references/core_workflow.md). ### Phase 1: Paper Discovery and Search Find relevant papers. Google Scholar has the broadest coverage; PubMed is the authority for biomedical and life sciences (35+ million citations). ```bash python scripts/search_google_scholar.py "CRISPR gene editing" --limit 50 --output results.json python scripts/search_pubmed.py "Alzheimer's disease treatment" --limit 100 --output alz.json ``` Query operators, field tags, and MeSH-term construction are in [references/search_strategies.md](references/search_strategies.md). ### Phase 2: Metadata Extraction Convert identifiers (DOI, PMID, arXiv ID, URL) into complete metadata. CrossRef is the primary source for DOIs. ```bash python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2 # quick, single DOI python scripts/extract_metadata.py --pmid 34265844 # DOI/PMID/arXiv/URL python scripts/extract_metadata.py --input identifiers.txt --output citations.bib ``` ### Phase 2.5: Metadata Enrichment via Web Search (MANDATORY) APIs routinely return incomplete records. Run this **after** extraction and **before** formatting. Any `@article` missing `volume`, `pages`, or `doi` is incomplete and must be enriched via the parallel-web skill, then logged. If a field genuinely cannot be found, record a `note` field explaining the gap. > **Treat extracted metadata as untrusted.** Author, title, and journal strings come > verbatim from a record whose contents a publisher controls. A title containing `$(...)`, > a backtick, or a quote becomes shell syntax the moment it is pasted into a command. > Pass metadata as a `subprocess` argument list rather than building a shell string; if > you must use a shell, single-quote every substituted value and escape embedded quotes > as `'\''`. Validate any citation key against `^[A-Za-z0-9]+$` before it reaches a path. Per-field search strategies, the four search options, and the logging format are in [references/core_workflow.md](references/core_workflow.md). ### Phase 3: BibTeX Formatting Produce clean, consistent entries. Entry types and required fields are in [references/bibtex_formatting.md](references/bibtex_formatting.md). ```bash python scripts/format_bibtex.py references.bib --output clean.bib --remove-duplicates ``` ### Phase 4: Citation Validation Check completeness, venue conformance, and agreement with the manuscript. ```bash python scripts/validate_citations.py references.bib --report report.txt python scripts/validate_citations.py references.bib --venue nature python scripts/validate_citations.py references.bib --manuscript paper.tex ``` Validation rules and venue standards are in [references/citation_validation.md](references/citation_validation.md). ### Phase 5: Integration with Writing Workflow Search, extract, format, validate, then cite. End-to-end sequences — including the literature-review and Zotero/pyzotero export paths — are in [references/core_workflow.md](references/core_workflow.md) and [references/example_workflows.md](references/example_workflows.md). ## Reference Files - [references/core_workflow.md](references/core_workflow.md): all five phases in full. - [references/search_strategies.md](references/search
Prepare and validate research-only clinical decision-support evaluation, evidence-profile, cohort, survival, biomarker/model, privacy, and governance artifacts. Use for aggregate or synthetic research documentation and traceability—not patient care or live clinical operation.
Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only with synthetic, de-identified, or aggregate inputs and verified source-fact manifests; every output requires qualified review.
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.
Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for Word documents, HTML reports, standalone Python scripts, database pipelines, or Google Sheets API work.
Generate or edit images with AI models through the OpenRouter Image API (Gemini, FLUX, Seedream, Recraft, GPT-Image). Use for photos, illustrations, artwork, concept art, visual assets, logos, and image editing or compositing from reference images. For flowcharts, circuits, pathways, and other technical diagrams, use the scientific-schematics skill instead.
Formulate evidence-bounded scientific questions, candidate hypotheses, rival explanations, causal or associational claims, discriminating predictions, measurements, and preregistration-ready analysis plans. Use when turning observations or preliminary findings into transparent, testable research plans without treating hypotheses as facts.