networkx SKILL.md skillA

networkx from senolisci/mykg is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add senolisci/mykg/networkx@git:20260527.2714f54

Pins git:20260527.2714f54 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
senolisci/mykg
Path
.claude/skills/networkx/SKILL.md
Versions recorded
1
Latest version
git:20260527.2714f54, committed May 27, 2026
Size
22,277 bytes
Repository stars
82
License
MIT

Build, analyze, and visualize networks and graphs using NetworkX (Python). Use this skill whenever the user wants to: create graphs or networks, analyze graph properties, compute centrality measures, find shortest paths, detect communities, run graph algorithms, convert graphs to/from matrices or dataframes, visualize networks with matplotlib, import/export graph files (GML, GraphML, GEXF, edgelist, etc.), work with directed or undirected graphs, weighted or multigraphs, perform social network…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# NetworkX Skill — Create and Manipulate Networks

NetworkX (v3.6+) is the standard Python library for graph analysis. This skill covers everything from basic graph creation to advanced algorithms. When in doubt, prefer simple explicit code over clever one-liners — graphs are complex enough on their own.

**References:**
- [algorithms.md](references/algorithms.md) — Algorithm reference by category (centrality, community, flow, etc.)
- [io.md](references/io.md) — File I/O and format conversion reference

---

## 1. Choosing a Graph Class

Pick the right class first — it cannot easily be changed after construction.

```python
import networkx as nx

G  = nx.Graph()          # undirected, no parallel edges
DG = nx.DiGraph()        # directed, no parallel edges
MG = nx.MultiGraph()     # undirected + parallel edges allowed
MD = nx.MultiDiGraph()   # directed + parallel edges allowed
```

| Need | Class |
|---|---|
| Social networks, protein interactions | `Graph` |
| Web graphs, citation networks, DAGs | `DiGraph` |
| Transport networks (multiple routes) | `MultiGraph` |
| Dependency graphs with typed edges | `MultiDiGraph` |

Convert between types:
```python
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add senolisci/mykg/networkx@sha256:3c814bfcde44a781

The line at the top of this page pins the label git:20260527.2714f54, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cm7dlnm5xiwmgxqr.svg)](https://markdownregistry.com/a/art_cm7dlnm5xiwmgxqr)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on May 27, 2026.

versioncommittedcommitsizeaudit
git:20260527.2714f54 latest2026-05-27 2714f54 22,277 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (22277 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

senolisci/mykg · 82 stars · license MIT · pushed 2026-10-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cm7dlnm5xiwmgxqr
GET https://markdownregistry.com/api/v1/resolve?ref=senolisci/mykg/networkx
GET https://markdownregistry.com/api/v1/blob/3c814bfcde44a781a616f77943a6a8f8930a595d1e09e53da84f181404fb64c8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from senolisci/mykg

design-architecture SKILL.md skill
senolisci/mykg · .claude/skills/design-architecture/SKILL.md · Reviews the current codebase architecture and proposes improvements using four parallel specialist subagents: System…
git:20260527.2714f54 · audit A · 82 stars
mykg-github-pages SKILL.md skill
senolisci/mykg · .claude/skills/mykg-github-pages/SKILL.md · Set up and maintain the GitHub Pages site for the mykg repo (SenolIsci/mykg) — a purpose-built pages/ folder (landing…
git:20260708.c4ebcdb · audit A · 82 stars
mykg SKILL.md skill
senolisci/mykg · src/mykg/data/skills/mykg/SKILL.md · Run mykg knowledge-graph commands inside Claude Code from one slash command `/mykg`. The user describes intent in…
git:20261023.f96a1c5 · audit A · 82 stars

Every file in senolisci/mykg

Other files named networkx

networkx SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/networkx/SKILL.md · Creates, analyzes, and visualizes complex networks and graphs in Python with NetworkX. Use when working with…
v1.4 · audit A · 55,514 stars
networkx SKILL.md skill
foryourhealth111-pixel/vibe-skills · bundled/skills/networkx/SKILL.md · Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working…
git:20260226.1632f40 · audit A · 3,788 stars
networkx SKILL.md skill
sandbaseai/sandbase-skills · marketing/networkx/SKILL.md · Apply networkx in reproducible local data workflows with version-aware APIs, explicit assumptions, and validation. Use…
git:20260908.a887321 · audit A · 206 stars
networkx SKILL.md skill
marielynneblock/arcanum-artifex · skills/data-science/networkx/SKILL.md · Comprehensive toolkit for creating, analysing, and visualising complex networks and graphs in Python. Use when working…
git:20260710.0115f49 · audit A · 4 stars

Browse by kind, by grade A, or by owner.