Agent skill

Citation Network

by aipoch in aipoch/medical-research-skills

Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend…

MITAuto-check passedResearch & Science

Install Citation Network

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

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

GitHub CLI
$ gh skill install aipoch/medical-research-skills citation-network --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-network' .claude/skills/citation-network && 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-network
GitHub stars
2k
Token cost
~1.9k tokens
SKILL.md length
874 words
Files
8 (incl. scripts, references)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend…

  • Works in 5 steps: Initialize a run directory → Prepare the citation CSV (minimal) → Confirm configuration → …
  • You have citation pairs and need fast literature review
  • 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 Network is an agent skill from aipoch/medical-research-skills. Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend analysis.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `POLISH_CHANGELOG.md`, `eval_report_citation-network_result.json` and `references/data-cleaning-checklist.md`).

It sits in Research & Science, covering Citation management, CSV and tabular files and Literature review. 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 have citation pairs and need fast literature review
  • Tasks that involve Citation management
  • Tasks that involve CSV and tabular files

Example prompts

  • “/citation-network”

Requirements

  • Python 3

Workflow steps

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

  1. Initialize a run directory
  2. Prepare the citation CSV (minimal)
  3. Confirm configuration
  4. Build the citation network
  5. Inspect outputs

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 3 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 Network loads about 1.9k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 874 words of instructions outside code blocks.

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

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). 874 words, ~1,940 tokens.

Download SKILL.mdSave it as .claude/skills/citation-network/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
citation-network
description
Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend analysis.
license
MIT
author
AIPOCH

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

When to Use

  • You have a citation relationship table (who cites whom) and want to quickly turn it into a directed network for analysis.
  • You are conducting a literature review and need to identify influential papers (high in-degree / centrality) and core clusters.
  • You want to detect community structures (research subfields) and compare them across time or datasets.
  • You need an interactive, shareable visualization (HTML) or a Gephi-importable graph file (GEXF).
  • You are positioning a new project and want evidence of research hotspots and bridging papers between communities.

Key Features

  • Builds a directed citation graph from a minimal CSV containing source and target.
  • De-duplicates nodes by identifier (DOI recommended; otherwise unique titles).
  • Exports:
    • citation_network.gexf for Gephi and other graph tools
    • network_metrics.json for basic network statistics
    • citation_network.html for interactive browser viewing (auto-generated by the build script)
  • Run-directory workflow to keep each execution reproducible and isolated under outputs/runs/<timestamp>/.
  • Optional input encoding control to avoid garbled characters (e.g., UTF-8 / UTF-8-SIG).

Dependencies

  • Python 3.10+
  • pandas >= 2.0
  • networkx >= 3.0
  • (Optional, for HTML visualization) pyvis >= 0.3

Example Usage

1) Initialize a run directory
bash
python scripts/init_run.py

This creates a new run folder:

text
outputs/runs/<timestamp>/
  config.json
  data/
  outputs/
2) Prepare the citation CSV (minimal)

Create citations.csv and place it into:

text
outputs/runs/<timestamp>/data/citations.csv

Minimal CSV format:

csv
source,target
Paper A,Paper B
Paper A,Paper C

Recommended DOI-based identifiers:

csv
source,target
10.1234/abcd.1,10.1234/abcd.2
10.1234/abcd.1,10.1234/abcd.3
3) Confirm configuration

Open:

text
outputs/runs/<timestamp>/config.json

Ensure the configured input filename and column names match your CSV (at minimum source and target). If you see garbled characters, set an explicit encoding (e.g., utf-8 or utf-8-sig) via an input_encoding field if supported by the config.

4) Build the citation network
bash
python scripts/build_citation_network.py

The build script will also generate the HTML automatically (you do not need to run scripts/export_gexf_html.py manually).

5) Inspect outputs

Expected outputs under the same run directory:

  • citation_network.gexf (import into Gephi)
  • network_metrics.json (node/edge counts, density, etc.)
  • citation_network.html (open in a browser)

Implementation Details

Data Model
  • Nodes: papers, identified by the value in source/target (DOI preferred; otherwise a unique, consistent title string).
  • Edges: directed citations source -> target.
Input Requirements and Constraints
  • The network builder reads only the source and target columns.
  • Additional columns (e.g., author/year/venue) are ignored by the current scripts.
  • If you need metadata, maintain a separate table for downstream joining/annotation (not consumed by the builder), for example:
csv
id,title,authors,year,doi
10.1234/abcd.1,Paper A,"Zhang, Wei; Li, Ming",2021,10.1234/abcd.1
10.1234/abcd.2,Paper B,"Wang, Fang",2019,10.1234/abcd.2
Run Directory Standard
  • Always run python scripts/init_run.py before an execution to create a new run directory.
  • All inputs, configs, and outputs must remain inside outputs/runs/<timestamp>/.
  • By default, scripts operate on the latest run directory under outputs/runs/.
Metrics and Analysis (Conceptual)
  • Basic network statistics are exported to network_metrics.json (e.g., node/edge counts, density).
  • Typical downstream analyses include:
    • centrality (degree, betweenness)
    • community detection (e.g., Louvain), if enabled/implemented in the pipeline
Common Failure Modes
  • Garbled characters: ensure CSV is UTF-8/UTF-8-SIG; set input_encoding in config.json if available.
  • Duplicate nodes: identical identifiers are treated as the same node; prefer DOIs or enforce unique titles.
  • Empty or missing output: verify the CSV header names match the configured source/target columns.
  • Data cleaning checklist: references/data-cleaning-checklist.md
  • Network metrics notes: references/network-metrics-notes.md
  • Additional documentation: references/README.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-network 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-network 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 7 other files (scripts, references) in scientific-skills/Evidence Insight/citation-network of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_citation-network_result.json
  • references/data-cleaning-checklist.md
  • references/network-metrics-notes.md
  • scripts/build_citation_network.py
  • scripts/export_gexf_html.py
  • scripts/init_run.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Citation Network 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 Network compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Citation Network this skillaipoch/medical-research-skills2k—~1.9kAutomated safety check: PassMIT
Systematic Review ScreenerImbad0202/academic-research-skills51k—~8.4kAutomated safety check: PassCustom licence
Literature Reviewneflibata-feng/MyArxiv-Agent12621 repos~5.9kAutomated safety check: NotesMIT
Preprint Search on bioRxivLigphiDonk/Oh-my--paper73813 repos~3.7kAutomated safety check: PassMIT
Academic Paper Writing PipelineImbad0202/academic-research-skills51k—~16kAutomated safety check: PassCustom licence
Paper Research on arXivXiaomiMiMo/MiMo-Code14k1 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Systematic Review Screener

    Imbad0202/academic-research-skills

    Screens records for systematic, scoping and rapid reviews against fixed eligibility rules, using two blinded AI reviewers and a third adjudicator, with traceable PRISMA counts.

    51k GitHub stars~8.4k tokensUpdated 5 days ago
    Research & ScienceAuto-check passed
  • Literature Review

    neflibata-feng/MyArxiv-Agent

    Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.).

    126 GitHub starsUsed in 21 repos~5.9k tokens
    Research & ScienceAuto-check: notes
  • Preprint Search on bioRxiv

    LigphiDonk/Oh-my--paper

    Searches bioRxiv life sciences preprints by keyword, author, date range or category with a Python script, returning JSON metadata and optional PDF downloads.

    738 GitHub starsUsed in 13 repos~3.7k tokens
    Research & ScienceAuto-check passed
  • Academic Paper Writing Pipeline

    Imbad0202/academic-research-skills

    Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.

    51k GitHub stars~16k tokensUpdated 5 days ago
    Research & ScienceAuto-check passed
  • Paper Research on arXiv

    XiaomiMiMo/MiMo-Code

    Searches arXiv, fetches metadata, generates BibTeX, downloads PDFs and finds citations and related papers using a bundled Python script.

    14k GitHub starsUsed in 1 repo~1.5k tokens
    Research & ScienceAuto-check passed
  • Deep Research Workflow

    TokenRhythm/opensquilla

    Runs multi-round research in three stages with a persisted state file, evidence tracking and a long-form report with per-claim citations.

    7.1k GitHub stars~1.3k tokensUpdated 3 days ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 567 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 21 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 21 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 21 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 21 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 21 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 21 days ago
    Auto-check passed

Questions about Citation Network

What does Citation Network do?

Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend…. Citation Network is an agent skill from aipoch/medical-research-skills. Build and visualize a citation network from a source/target CSV to identify key papers, communities, and emerging hotspots; use when you have citation pairs and need fast literature review or trend analysis.

When should I use Citation Network?

Citation Network fits situations like: you have citation pairs and need fast literature review; tasks that involve Citation management; tasks that involve CSV and tabular files.

How do I install Citation Network in Claude Code?

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

How do I install Citation Network in Codex?

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

Can I use Citation Network 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-network -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-network, .gemini/skills/citation-network, .github/skills/citation-network and .opencode/skills/citation-network in your project.

What does Citation Network need to run?

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

Does Citation Network 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 Network 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 Network use?

Citation Network 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 Network use?

About 1.9k tokens (SKILL.md is roughly 7.8k 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 83 tokens, read only when the agent opens those files.

What are the alternatives to Citation Network?

Skills that share tags, products or a category with Citation Network: Systematic Review Screener (Imbad0202/academic-research-skills, 51k stars), Literature Review (neflibata-feng/MyArxiv-Agent, 126 stars), Preprint Search on bioRxiv (LigphiDonk/Oh-my--paper, 738 stars) and Academic Paper Writing Pipeline (Imbad0202/academic-research-skills, 51k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Citation Network?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,974 GitHub stars. The repository holds 567 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.