Tooluck logoTooluck
SKILL.md

networkx

Agent skill fromzLanqing/codex-claude-academic-skills

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.

How to install networkx

install networkx
# install the codex-claude-academic-skills pack with the skills CLI
npx skills add zLanqing/codex-claude-academic-skills

# or add only this skill to Claude Code: copy the folder

scientific-toolkit-skill/references/scientific-skills/networkx/

# into

~/.claude/skills/networkx/ (all projects)

.claude/skills/networkx/ (one project)

scientific-toolkit-skill/references/scientific-skills/networkx/SKILL.md

MITFull file
1# NetworkX
2
3## Overview
4
5NetworkX 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.
6
7## When to Use This Skill
8
9Invoke this skill when tasks involve:
10
11- **Creating graphs**: Building network structures from data, adding nodes and edges with attributes
12- **Graph analysis**: Computing centrality measures, finding shortest paths, detecting communities, measuring clustering
13- **Graph algorithms**: Running standard algorithms like Dijkstra's, PageRank, minimum spanning trees, maximum flow
14- **Network generation**: Creating synthetic networks (random, scale-free, small-world models) for testing or simulation
15- **Graph I/O**: Reading from or writing to various formats (edge lists, GraphML, JSON, CSV, adjacency matrices)
16- **Visualization**: Drawing and customizing network visualizations with matplotlib or interactive libraries
17- **Network comparison**: Checking isomorphism, computing graph metrics, analyzing structural properties
18
19## Core Capabilities
20
21### 1. Graph Creation and Manipulation
22
23NetworkX supports four main graph types:
24- **Graph**: Undirected graphs with single edges
25- **DiGraph**: Directed graphs with one-way connections
26- **MultiGraph**: Undirected graphs allowing multiple edges between nodes
27…

Excerpt shown under the repository's MIT license.

More skills in codex-claude-academic-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates