Skip to content
Back to skills

Networkx Graph Construction Starter

ASecurity

Use this skill to build a deterministic toy biological interaction graph and summarize basic network properties with NetworkX.

  • 38 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agentspythonbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill networkx-graph-construction-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Networkx Graph Construction Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Networkx Graph Construction Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-networkx-graph-construction-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-networkx-graph-construction-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# NetworkX Graph Construction Starter

Use this skill to build a deterministic toy biological interaction graph and summarize basic network properties with NetworkX.

## What it does

- Loads a small TSV edge list representing a pathway-like interaction graph.
- Builds a NetworkX graph with edge attributes.
- Summarizes node and edge counts, connected components, degree centrality, and a shortest path example.
- Writes compact JSON that can feed downstream reporting or agent-planning steps.

## When to use it

- You need a local starter for graph-construction workflows in systems biology.
- You want a deterministic network summary before moving on to propagation, enrichment, or causal-network tasks.

## Example

```bash
python3 skills/systems-biology/networkx-graph-construction-starter/scripts/run_networkx_graph_construction.py \
  --input skills/systems-biology/networkx-graph-construction-starter/examples/toy_pathway_edges.tsv \
  --source-node EGFR \
  --target-node STAT3 \
  --out scratch/networkx/graph_summary.json
```

## Verification

- Skill-local tests: `python3 -m unittest discover -s skills/systems-biology/networkx-graph-construction-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_phase25_agent_clinical_proteomics_graph_skills -v`

Files in this skill

  • SKILL.md1.3 KB
  • assets/README.md109 B
  • examples/README.md131 B
  • examples/toy_pathway_edges.tsv333 B
  • metadata.yaml1.2 KB
  • refs.md91 B
  • scripts/run_networkx_graph_construction.py3.3 KB
  • tests/test_run_networkx_graph_construction.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.