networkx
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
Skill by rafeeqinea
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rafeeqinea-networkx
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
networkx- Description
- Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.
- License
- MIT
- Metadata
- skill-author: K-Dense Inc.
- Instructions
- 429 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/graph-basics.md, references/algorithms.md, references/generators.md, references/io.md, references/visualization.md
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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.
## When to Use This Skill
Invoke this skill when tasks involve:
- **Creating graphs**: Building network structures from data, adding nodes and edges with attributes
- **Graph analysis**: Computing centrality measures, finding shortest paths, detecting communities, measuring clustering
- **Graph algorithms**: Running standard algorithms like Dijkstra's, PageRank, minimum spanning trees, maximum flow
- **Network generation**: Creating synthetic networks (random, scale-free, small-world models) for testing or simulation
- **Graph I/O**: Reading from or writing to various formats (edge lists, GraphML, JSON, CSV, adjacency matrices)
- **Visualization**: Drawing and customizing network visualizations with matplotlib or interactive libraries
- **Network comparison**: Checking isomorphism, computing graph metrics, analyzing structural properties
## Core Capabilities
### 1. Graph Creation and Manipulation
NetworkX supports four main graph types:
- **Graph**: Undirected graphs with single edges
- **DiGraph**: Directed graphs with one-way connections
- **MultiGraph**: Undirected graphs allowing multiple edges between nodes
- **MultiDiGraph**: Directed graphs with multiple edges
Create graphs by:
```python
import networkx as nx
# Create empty graph
G = nx.Graph()
# Add nodes (can be any hashable type)
G.add_node(1)
G.add_nodes_from([2, 3, 4])
G.add_node("protein_A", type='enzyme', weight=1.5)
# Add edges
G.add_edge(1, 2)
G.add_edges_from([(1, 3), (2, 4)])
G.add_edge(1, 4, weight=0.8, relation='interacts')
```
**Reference**: See `references/graph-basics.md` for comprehensive guidance on creating, modifying, examining, and managing graph structures, including working with attributes and subgraphs.
### 2. Graph Algorithms
NetworkX provides extensive algorithms for network analysis:
**Shortest Paths**:
```python
# Find shortest path
path = nx.shortest_path(G, source=1, target=5)
length = nx.shortest_path_length(G, source=1, target=5, weight='weight')
```
**Centrality Measures**:
```python
# Degree centrality
degree_cent = nx.degree_centrality(G)
# Betweenness centrality
betweenness = nx.betweenness_centrality(G)
# PageRank
pagerank = nx.pagerank(G)
```
**Community Detection**:
```python
from networkx.algorithms import community
# Detect communities
communities = community.greedy_modularity_communities(G)
```
**Connectivity**:
```python
# Check connectivity
is_connected = nx.is_connected(G)
# Find connected components
components = list(nx.connected_components(G))
```
**Reference**: See `references/algorithms.md` for detailed documentation on all available algorithms including shortest paths, centrality measures, clustering, community detection, flows, matching, tree algorithms, and graph traversal.
### 3. Graph Generators
Create synthetic networks for testing, simulation, or modeling:
**Classic Graphs**:
```python
# Complete graph
G = nx.complete_graph(n=10)
# Cycle graph
G = nx.cycle_graph(n=20)
# Known graphs
G = nx.karate_club_graph()
G = nx.petersen_graph()
```
**Random Networks**:
```python
# Erdős-Rényi random graph
G = nx.erdos_renyi_graph(n=100, p=0.1, seed=42)
# Barabási-Albert scale-free network
G = nx.barabasi_albert_graph(n=100, m=3, seed=42)
# Watts-Strogatz small-world network
G = nx.watts_strogatz_graph(n=100, k=6, p=0.1, seed=42)
```From rafeeqinea/claude-academic-toolkit, MIT.
More from rafeeqinea/claude-academic-toolkit
- 0.409score
self-improve
rafeeqinea
Deep self-analysis and improvement.
SkillDFreshness: DClaude Code - 0.409score
reflect
rafeeqinea
End-of-session reflection.
SkillDFreshness: DClaude Code +9 - 0.409score
explain-file
rafeeqinea
Read a source file and explain every line in depth.
SkillDFreshness: DClaude Code - 0.406score
benchmark
rafeeqinea
Systematic benchmarking and comparison of algorithms, models, or approaches under identical conditions.
SkillDFreshness: DClaude Code +9 - 0.406score
drive-research
rafeeqinea
Search Google Drive for papers, datasets, documents, and pull files into the conversation.
SkillDFreshness: DClaude Code +9 - 0.406score
notebook-query
rafeeqinea
Query NotebookLM notebooks directly from Claude Code for grounded, citation-backed answers.
SkillDFreshness: DClaude Code +9 - 0.406score
notion-notes
rafeeqinea
Push research notes, experiment results, and session summaries to Notion.
SkillDFreshness: DClaude Code +9 - 0.406score
docs-lookup
rafeeqinea
Fetch the latest documentation for any programming library using Context7.
SkillDFreshness: DClaude Code +9 - 0.406score
experiment
rafeeqinea
Run, track, and compare ML experiments with structured logging.
SkillDFreshness: DClaude Code +9 - 0.406score
debug
rafeeqinea
Structured debugging workflow that teaches the debugging process, not just fixes the bug.
SkillDFreshness: DClaude Code +9 - 0.403score
derive
rafeeqinea
Perform step-by-step mathematical derivations with full explanations and LaTeX output.
SkillDFreshness: DClaude Code +9 - 0.403score
teach
rafeeqinea
Explain any concept from absolute scratch using first principles, analogies, examples, and progressive complexity.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 9, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.652score
networkx
foryourhealth111-pixel
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.286score
networkx
hongmaple0820
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
SkillDFreshness: D★ 11Claude Code +9 - 0.269score
networkx
lamm-mit
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
SkillCFreshness: C★ 250Claude Code +9 - 0.249score
networkx
chenDeepin
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
SkillDFreshness: DClaude Code +9 - 0.247score
networkx
beita6969
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.
SkillDFreshness: D★ 1KClaude Code +9
More from rafeeqinea
- 0.409score
self-improve
rafeeqinea
Deep self-analysis and improvement.
SkillDFreshness: DClaude Code - 0.409score
reflect
rafeeqinea
End-of-session reflection.
SkillDFreshness: DClaude Code +9 - 0.409score
explain-file
rafeeqinea
Read a source file and explain every line in depth.
SkillDFreshness: DClaude Code - 0.406score
benchmark
rafeeqinea
Systematic benchmarking and comparison of algorithms, models, or approaches under identical conditions.
SkillDFreshness: DClaude Code +9 - 0.406score
drive-research
rafeeqinea
Search Google Drive for papers, datasets, documents, and pull files into the conversation.
SkillDFreshness: DClaude Code +9 - 0.406score
notebook-query
rafeeqinea
Query NotebookLM notebooks directly from Claude Code for grounded, citation-backed answers.
SkillDFreshness: DClaude Code +9
Cite this page
networkx skill. Agent Mart. https://agentmart.dev/skills/rafeeqinea-networkx (last updated 2026-10-24)