If you're working with any kind of network or graph data in Python, this is the standard toolkit. It handles everything from social networks to biological pathways to citation graphs. You get the four main graph types (directed, undirected, multi-edge variants), a comprehensive set of algorithms for centrality, shortest paths, community detection, and graph generators for creating synthetic networks when you need test data. The pandas and numpy integration is solid, so you can go from DataFrames to graphs without friction. Visualization works through matplotlib with various layout algorithms, though for production dashboards you'll want to export to something more interactive. The API is intuitive and the 3-clause BSD license means you can use it anywhere.
- skills.sh installs
- 2.1K
- GitHub stars
- 56.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill networkx --agent claude-codeInstalls into .claude/skills of the current project.
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:
Sponsors
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Documentation, AI & Agent Building, Python
- First seen
- Jun 3, 2026
More from k-dense-ai/scientific-agent-skills
All 137- Aeon2.1K
- Transformers2.1K
- Shap2.1K
- Pyzotero2.1K
- Generate Image2.1K
- Dask2.1K
- Infographics2.1K
- Market Research Reports2.1K
- Matlab2.1K
- Get Available Resources2.1K
- Optimize For Gpu2.1K
- Pymc2.1K
- Umap Learn2.1K
- Parallel Web2.1K
- Venue Templates2.1K
- Scikit Survival2.1K
- Open Notebook2.1K
- Torch Geometric2.1K
- Biopython2.1K
- Research Lookup2.1K
- Timesfm Forecasting2.1K
- Geopandas2.1K
- Stable Baselines32.1K
- Consciousness Council2.1K
