Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

networkx — Claude Code skill: graphs and installation

Build, analyse and visualise Python graphs with NetworkX. Use it for routes, centrality, communities and graph file formats.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill networkx -a claude-code
Open on GitHub

What networkx does

This skill guides an agent through building directed and undirected graphs, including graph types with parallel edges. It covers shortest paths, centrality, connectivity, clustering, PageRank, maximum flow and community detection. Structural metrics and isomorphism checks are included too.

It can generate random, scale-free and small-world networks, along with classic and grid graphs. The skill covers edge lists, GraphML, GML and JSON, plus graph data exchanged through pandas. Drawing examples use Matplotlib.

It requires Python >=3.12 and NetworkX 3.7; Python 3.14.1 is excluded. Check the interpreter version before installing. Numerical, tabular and drawing examples use NumPy, SciPy, pandas and Matplotlib, while separate integrations require their own packages.

What it helps with

  • build a graph from nodes and attributed edges
  • find a weighted shortest path
  • calculate PageRank and centrality scores
  • detect communities and connected components
  • read GraphML or an edge list

Example prompts for the agent

  • “Build a graph from this edge table and find the shortest path between these nodes.”
  • “Calculate PageRank and centrality for this graph.”
  • “Generate a small-world network and draw it with Matplotlib.”

How to install networkx

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill networkx -a claude-code

2Manually: put the files in place

~/.claude/skills/networkx/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/networkx/

From the same set120

The whole set →
scientific-visualization K-Dense-AI Generates and audits publication-ready scientific figures in Matplotlib, Seaborn, and Plotly, focusing on truthful data encoding and accessibility. Claude Code CX Codex Cursor +1 2,400installs scientific-writing K-Dense-AI This skill drafts and audits scientific manuscripts and reports while tying claims to verified evidence. Use it for sections, references, declarations, and submission checks. Claude Code CX Codex Cursor +1 2,400installs statistical-analysis K-Dense-AI Runs hypothesis tests with assumption checking, effect sizes, and APA-formatted reports. Covers t-tests, ANOVA, correlation, regression, non-parametric and Bayesian methods. Claude Code CX Codex Cursor +1 2,300installs scientific-brainstorming K-Dense-AI Structures early-stage research ideation through independent idea generation, transparent scoring, and adversarial review. Useful for ranking hypotheses without premature consensus. Claude Code CX Codex Cursor +1 2,300installs literature-review K-Dense-AI This skill searches and synthesizes research literature, checks citations, and prepares Markdown or PDF reviews. Use it for reproducible searches and screening. Claude Code CX Codex Cursor +1 2,300installs scientific-critical-thinking K-Dense-AI Evaluates scientific claims, research methodology, and evidence quality. Applies GRADE and Cochrane Risk of Bias frameworks. Claude Code CX Codex Cursor +1 2,300installs scientific-schematics K-Dense-AI Creates PNG drafts of scientific diagrams and runs a separate quality review. Use it for neural network architectures, flowcharts, system diagrams, and biological pathways. Claude Code CX Codex Cursor +1 2,200installs scikit-learn K-Dense-AI A skill for Python machine learning tasks: classification, regression, clustering, preprocessing, and building ML pipelines with scikit-learn 1.9.1. Claude Code CX Codex Cursor +1 2,200installs

Similar

recsys-pipeline-architect Seth Hobson Designs six-stage recommendation, ranking, and feed pipelines. Use it when a system must choose the top K items for a user and context. Claude Code CX Codex Cursor 4,200installs mvcc tursodatabase Architectural reference for experimental MVCC in Turso: row versioning, snapshot isolation, and known memory limits. Useful when working on database internals. Claude Code CX Codex Cursor +1 1,200installs differential-fuzzer tursodatabase This skill guides Turso differential fuzzer runs and investigates differences against SQLite. Use it when generated SQL may expose correctness bugs. Claude Code CX Codex Cursor +1 1,200installs transaction-correctness tursodatabase Explains how transactions work in Turso: WAL mechanics, checkpointing, crash recovery, and concurrency rules. Claude Code CX Codex Cursor +1 1,200installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs google-agents-cli-observability official Google This skill guides you through tracing and monitoring AI agents, including ADK agents. Use it when you need to inspect agent execution or monitor a deployed agent. Claude Code CX Codex Cursor +1 509,900installs caveman-evidence-review JuliusBrussee A read-only skill reviews Caveman Cloud evidence on LLM spend, traces, and routing. Use it to see where a project’s model budget goes. Claude Code CX Codex Cursor +1 103,500installs migration JuliusBrussee Enforces reversible, compatibility-safe transitions for schema, data, and API updates. Useful whenever data loss or rollout downtime is unacceptable. Claude Code CX Codex Cursor +1 102,900installs

Questions about networkx

How do I install networkx in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill networkx -a claude-code, then run npx skills add K-Dense-AI/scientific-agent-skills --skill networkx -a claude-code again. The skill file is at ~/.claude/skills/networkx/SKILL.md.

What does networkx do?

The skill guides an agent through creating, analysing and visualising graphs with NetworkX. It covers routes, centrality, communities, network generation and graph data formats.

Which Python and NetworkX versions does networkx require?

It requires Python >=3.12 and NetworkX 3.7. Python 3.14.1 is excluded.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor