Skip to content

Graph analysis toolkit for building, analyzing, generating, and visualizing networks in Python with NetworkX 3.7.

CCM score
69 of 100
skills.sh installs
2.3K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers graph creation, shortest paths, centrality, community detection, synthetic network generators, file I/O, and network drawing
  • Includes reference guides for graph basics, algorithms, generators, I/O formats, and visualization, plus a review of executed examples
  • Enforces weight semantics: weights are treated as distances, and similarity values need an explicit conversion before use in shortest-path or betweenness calculations
  • Designed for analysts working with social, biological, transportation, or citation networks who need Python graph tooling

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill networkx -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

NetworkX

Overview

NetworkX is a Python package for creating, manipulating, and analyzing complex networks and graphs. Use this skill when working with network or graph data structures, including social networks, biological networks, transportation systems, citation networks, knowledge graphs, or any system involving relationships between entities.

This skill targets tested NetworkX 3.7 (Python >=3.12, excluding 3.14.1). Several pre-3.0 APIs (nx.info, nx.write_gpickle, nx.read_shp) and the 3.4-era nx.random_tree no longer exist — current replacements are used throughout this skill.

Review sources, executed examples, optional-dependency limits, and reproducibility notes are in references/review.md. Reference snippets are API patterns: supply the stated graph type and input files; they are not one sequential script.

When to Use This Skill

Invoke this skill when tasks involve:

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the networkx skill do?

The networkx skill helps an agent create, analyze and visualize complex networks and graphs in Python with NetworkX. It covers graph algorithms such as shortest paths, centrality and clustering, community detection, synthetic network generation, and reading or writing graph file formats.

How do I install the networkx skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill networkx -y in your project. Once installed, the agent can build graphs and run network analysis with NetworkX.

Which skills lead the networkx skill in Data Science & Analytics?

The networkx skill sits in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It is aimed at graph and network analysis specifically, which those neighbours do not cover.

What does the networkx skill need to run?

It requires Python 3.12 or later, excluding 3.14.1, and NetworkX 3.7. NumPy, SciPy, pandas and Matplotlib support its numerical, tabular and drawing examples, and no credentials are needed.

What kinds of networks can the networkx skill analyze?

The skill applies to social, biological, transportation and citation networks. It handles directed and undirected graphs, multigraphs, weighted edges, and random, scale-free and small-world synthetic networks.

More from k-dense-ai/scientific-agent-skills

All 132