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-code

Installs 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
1patternsdev avatarreact-2026patternsdev/skillsProvides a comprehensive guide to the modern React 2026 stack. Use when starting a new React project or modernizing an existing one with current frameworks, bui2.1Kskills.sh installs
2rhavekost avatarfiction-workshoprhavekost/author-toolkitUse when writing or editing novels, short stories, or any fiction manuscript. Trigger on: 'write fiction', 'edit my novel', 'developmental edit', 'line edit', '2.1Kskills.sh installs
3calm-north avatarmigrate-sitecalm-north/seojuice-skillsGuide a website migration without losing rankings — domain moves, CMS switches, URL restructures, HTTP to HTTPS, or redesigns. Use when the user asks about site2.1Kskills.sh installs
4imbad0202 avataracademic-research-suiteimbad0202/academic-research-skills-codexARS-Codex workflows for research, academic writing, manuscript review, research-to-paper pipelines, and experiment planning. Use when the user asks for deep res2.1Kskills.sh installs
5k-dense-ai avataroptimize-for-gpuk-dense-ai/scientific-agent-skillsGPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, 2.1Kskills.sh installs
6chrisbanes avatarcompose-focus-navigationchrisbanes/skillsUse when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, 2.1Kskills.sh installs