Agent skill

Citation Management

by aipoch in aipoch/medical-research-skills

Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean…

MITAuto-check passedResearch & Science

Install Citation Management

skills CLI
$ npx skills add aipoch/medical-research-skills --skill citation-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills citation-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/citation-management' .claude/skills/citation-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
citation-management
GitHub stars
2k
Token cost
~2.3k tokens
SKILL.md length
875 words
Files
14 (incl. scripts, references)
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean…

  • Works in 4 steps: Search (Discovery) → Metadata Extraction (Normalization) → BibTeX Formatting (Quality & Consistency) → …
  • You need to discover papers (Google Scholar/PubMed)
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 8 more sections
  • Runs Python scripts from its folder; calls python

What it does

Citation Management is an agent skill from aipoch/medical-research-skills. Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean BibTeX for manuscripts.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `POLISH_CHANGELOG.md`, `eval_report_citation-management_result.json` and `references/bibtex_formatting.md`).

It sits in Research & Science, covering Citation management and Academic paper search. It works with LaTeX, PubMed and arXiv. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • You need to discover papers (Google Scholar/PubMed)
  • Extract/verify metadata (DOI/PMID/arXiv/URL)
  • Produce validated
  • Clean BibTeX for manuscripts

Example prompts

  • “/citation-management”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Search (Discovery)
  2. Metadata Extraction (Normalization)
  3. BibTeX Formatting (Quality & Consistency)
  4. Validation (Correctness)

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Citation Management loads about 2.3k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 875 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 875 words, ~2,276 tokens.

Download SKILL.mdSave it as .claude/skills/citation-management/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
citation-management
description
Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean BibTeX for manuscripts.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Use

  • You need to find relevant or highly cited papers on a topic using Google Scholar or PubMed.
  • You have identifiers (e.g., DOI, PMID, arXiv ID, URL) and must convert them into correct BibTeX.
  • You want to verify citation accuracy (DOI resolution, required fields, consistency with CrossRef/PubMed).
  • You need to clean, deduplicate, sort, and standardize an existing .bib file before submission.
  • You are preparing a thesis/manuscript and need a reproducible workflow from search → extraction → formatting → validation.

Key Features

  • Paper discovery
    • Google Scholar search with year filtering, pagination, and citation-count sorting.
    • PubMed search with MeSH terms, field tags, publication-type filters, and date ranges.
  • Metadata extraction
    • Resolve DOI/PMID/arXiv/URL to structured metadata via CrossRef, PubMed E-utilities, and arXiv APIs.
    • Batch processing from files containing mixed identifiers.
  • BibTeX generation & cleanup
    • Generate BibTeX entries with appropriate entry types and required fields.
    • Format, sort (key/year/author), and deduplicate BibTeX libraries.
  • Citation validation
    • DOI resolution checks and metadata cross-checking.
    • Required-field checks by entry type, syntax validation, duplicate detection, and optional auto-fix.
  • Workflow integration
    • Produces submission-ready .bib files for LaTeX/Overleaf workflows and complements literature review pipelines.

Dependencies

  • Python: 3.10+ (recommended)
  • Python packages:
    • requests>=2.31.0
    • scholarly>=1.7.11 (optional; required only for Google Scholar automation)

Example Usage

A complete, end-to-end workflow that searches, extracts metadata, formats, deduplicates, and validates a bibliography:

bash
# 1) Search PubMed (biomedical focus)
python scripts/search_pubmed.py \
  --query '"CRISPR-Cas Systems"[MeSH] AND "Gene Editing"[MeSH]' \
  --date-start 2020-01-01 \
  --date-end 2024-12-31 \
  --limit 200 \
  --output crispr_pubmed.json

# 2) Search Google Scholar (broad coverage)
python scripts/search_google_scholar.py "CRISPR gene editing therapeutics" \
  --year-start 2020 \
  --year-end 2024 \
  --limit 100 \
  --output crispr_scholar.json

# 3) Extract metadata from search outputs (or mixed identifiers)
cat crispr_pubmed.json crispr_scholar.json > combined_results.json
python scripts/extract_metadata.py \
  --input combined_results.json \
  --output combined.bib

# 4) Add known papers by DOI (append)
python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2 >> combined.bib
python scripts/doi_to_bibtex.py 10.1126/science.aam9317 >> combined.bib

# 5) Format + deduplicate + sort (newest first)
python scripts/format_bibtex.py combined.bib \
  --deduplicate \
  --sort year \
  --descending \
  --output formatted.bib

# 6) Validate + auto-fix common issues + emit report
python scripts/validate_citations.py formatted.bib \
  --auto-fix \
  --report validation.json \
  --output final_references.bib

# 7) Inspect validation results
cat validation.json

Implementation Details

1) Search (Discovery)
  • Google Scholar (scripts/search_google_scholar.py)

    • Supports query operators such as exact phrases ("deep learning"), author filters (author:LeCun), title-only (intitle:"neural networks"), exclusions (-survey), and year ranges.
    • Typical parameters:
      • --year-start, --year-end: constrain publication years
      • --limit: cap results
      • --sort-by citations: prioritize highly cited papers (when supported by the script)
  • PubMed (scripts/search_pubmed.py)

    • Uses NCBI E-utilities (e.g., ESearch/EFetch/ESummary) to retrieve PMIDs and metadata.
    • Typical parameters:
      • --query: supports MeSH terms, field tags, and Boolean logic
      • --date-start, --date-end: publication date filtering
      • --publication-types: e.g., Clinical Trial,Review
      • --format: JSON or BibTeX output (if supported)

(See: references/google_scholar_search.md, references/pubmed_search.md)

2) Metadata Extraction (Normalization)
  • Identifier inputs: DOI, PMID, arXiv ID, URL, or mixed lists/files.
  • Primary sources:
    • CrossRef API for DOI-centric journal metadata
    • PubMed E-utilities for biomedical records (PMID/PMCID, MeSH, abstracts)
    • arXiv API for preprints and versioned records
    • DataCite API for datasets/software DOIs (if implemented/used)
  • Field mapping goals:
    • Required: author, title, year
    • Articles: journal, volume, number, pages, doi
    • Conferences: booktitle, pages
    • Preprints: repository + identifier (e.g., eprint, archivePrefix)

(See: references/metadata_extraction.md)

3) BibTeX Formatting (Quality & Consistency)
  • Entry types commonly produced: @article, @inproceedings, @book, @misc.
  • Formatting rules enforced/encouraged:
    • Page ranges use -- (e.g., 123--145)
    • Protect capitalization in titles with braces (e.g., {CRISPR})
    • Consistent author formatting (Last, First and Last, First)
    • Stable citation keys (project convention; often FirstAuthorYearKeyword)

(See: references/bibtex_formatting.md)

4) Validation (Correctness)

Validation typically checks:

  • DOI validity: resolves via doi.org and matches CrossRef metadata.
  • Required fields: present per entry type; no empty critical fields.
  • Consistency: year format, numeric volume/issue, page-range syntax, URL accessibility.
  • Duplicates: same DOI, near-identical titles, or same author/year/title combinations.
  • BibTeX syntax: braces/quotes, commas, unique keys, special character handling.

Outputs may include a machine-readable report (e.g., JSON) with errors and warnings. (See: references/citation_validation.md)

When Not to Use

  • Do not proceed when required input files, identifiers, parameters, or context are missing — ask the user to provide them first.
  • Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.
  • Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.
Show full SKILL.md (333 more words)Show less

Required Inputs

FieldRequiredFormat/SourceExampleIf Missing
User task descriptionYesTextResearch question, writing goal, analysis objectiveStop and ask user to provide
Primary input materialDepends on taskText, file path, ID, table, or literaturePMID, PDF, CSV, DOCX, keywords, etc.Specify which material type is missing
Output preferenceNoTextLanguage, format, target journal, templateUse skill default format

Output Contract

  • Primary output: Structured result or target file aligned with this skill's objective.
  • Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.
  • Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.
  • If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.

Failure Handling

  • Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.
  • Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions — do not silently degrade.
  • Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.

User Checkpoints

  • Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.
  • Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.

Input Validation

This skill accepts requests that match the documented purpose of citation-management and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

citation-management only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

  • Check that key scripts, templates, or reference file paths this skill depends on exist.
  • Check that the final output contains the core fields, sections, or files specified for this task.
  • Check that results clearly mark assumptions, limitations, and incomplete items.

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (scripts, references) in scientific-skills/Evidence Insight/citation-management of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_citation-management_result.json
  • references/bibtex_formatting.md
  • references/citation_validation.md
  • references/google_scholar_search.md
  • references/metadata_extraction.md
  • references/pubmed_search.md
  • scripts/doi_to_bibtex.py
  • scripts/extract_metadata.py
  • scripts/format_bibtex.py
  • scripts/search_google_scholar.py
  • scripts/search_pubmed.py
  • scripts/validate_citations.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Citation Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Citation Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Citation Management this skillaipoch/medical-research-skills2k—~2.3kAutomated safety check: PassMIT
Citation Managementneflibata-feng/MyArxiv-Agent12619 repos~8.1kAutomated safety check: NotesMIT
Nature Academic Searchjing1312/nature-figure-skill168—~1.3kAutomated safety check: NotesMIT
Literature ReviewNorman-bury/research-writing-skill3.4k—~2.2kAutomated safety check: NotesMIT
Citation Managementforyourhealth111-pixel/Vibe-Skills3.6k—~7.6kAutomated safety check: NotesMIT
Nature Academic SearchTai609/NebulaMat100—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Citation Management

    neflibata-feng/MyArxiv-Agent

    Comprehensive citation management for academic research. An agent skill from neflibata-feng/MyArxiv-Agent.

    126 GitHub starsUsed in 19 repos~8.1k tokens
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    jing1312/nature-figure-skill

    Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion)…

    168 GitHub stars~1.3k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: notes
  • Literature Review

    Norman-bury/research-writing-skill

    A skill your agent uses when writing literature review sections - guides searching, organizing, and synthesizing academic sources

    3.4k GitHub stars~2.2k tokensUpdated 4 mo ago
    Research & ScienceAuto-check: notes
  • Citation Management

    foryourhealth111-pixel/Vibe-Skills

    Turns DOIs, PMIDs and arXiv IDs into clean BibTeX, searches Google Scholar and PubMed, and checks and deduplicates a reference list.

    3.6k GitHub stars~7.6k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    Tai609/NebulaMat

    Multi-source literature search, citation verification, strict independent other-citation audits, article-level citation metric tables, influential citer profiling with citation-context extraction…

    100 GitHub stars~1.2k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Ai4scholar Research

    Drchronx/ai-agent-research-starter-kit

    Use AI4Scholar for real scholarly literature tasks through MCP or the OpenClaw plugin: paper search, Google Scholar/Semantic Scholar/PubMed/arXiv/bioRxiv/medRxiv queries, PDF download and reading…

    137 GitHub stars~1.4k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 22 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 22 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 22 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 22 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 22 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 22 days ago
    Auto-check passed

Questions about Citation Management

What does Citation Management do?

Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean…. Citation Management is an agent skill from aipoch/medical-research-skills. Comprehensive citation management for academic research; use when you need to discover papers (Google Scholar/PubMed), extract/verify metadata (DOI/PMID/arXiv/URL), and produce validated, clean BibTeX for manuscripts.

When should I use Citation Management?

Citation Management fits situations like: you need to discover papers (Google Scholar/PubMed); extract/verify metadata (DOI/PMID/arXiv/URL); produce validated; clean BibTeX for manuscripts.

How do I install Citation Management in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill citation-management -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/citation-management in aipoch/medical-research-skills) into .claude/skills/citation-management in your project. Claude Code loads it when a task matches its description.

How do I install Citation Management in Codex?

Run `npx skills add aipoch/medical-research-skills --skill citation-management -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/citation-management in aipoch/medical-research-skills) into .agents/skills/citation-management in your project. Codex loads it when a task matches its description.

Can I use Citation Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill citation-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/citation-management, .gemini/skills/citation-management, .github/skills/citation-management and .opencode/skills/citation-management in your project.

What does Citation Management need to run?

Going by SKILL.md and its folder, Citation Management needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Citation Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Citation Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Citation Management use?

Citation Management is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Citation Management use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 22k tokens, read only when the agent opens those files.

What are the alternatives to Citation Management?

Skills that share tags, products or a category with Citation Management: Citation Management (neflibata-feng/MyArxiv-Agent, 126 stars), Nature Academic Search (jing1312/nature-figure-skill, 168 stars), Literature Review (Norman-bury/research-writing-skill, 3.4k stars) and Citation Management (foryourhealth111-pixel/Vibe-Skills, 3.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Citation Management?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,978 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.