netgraph-dsl

Define and simulate network topologies using a YAML-based NetGraph DSL.

1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/networmix/skills --skill netgraph-dsl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netgraph-dsl
Source: https://github.com/networmix/skills/tree/main/netgraph-dsl
Command: npx skills add https://github.com/networmix/skills --skill netgraph-dsl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

NetGraph DSL provides a concise YAML-based language to model, simulate, and analyze complex network topologies, traffic demands, failures, and analysis workflows, enabling repeatable experiments and reproducible results.

Core Features & Use Cases

  • YAML-based definitions for nodes, links, demands, failures, risk groups, blueprints, and workflows.
  • Flexible selection and expansion patterns (regex path matching, capture groups, variable expansion, and multiple demand modes) to model realistic network scenarios.
  • Reusable templates via blueprints and risk-group generation to scale configurations and experiment with different topologies.

Quick Start

Create a minimal NetGraph YAML with two connected nodes (A and B) and a single link to validate the basic topology.

Frequently Asked Questions about netgraph-dsl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define network topologies for simulation using YAML?

You can define network topologies for simulation using a YAML-based DSL to specify nodes, links, and demands. This approach enables repeatable experiments and reproducible results for analyzing complex network scenarios.

What is the best way to model network failures and risk groups in a simulation?

Modeling network failures and risk groups is handled through reusable YAML blueprints and flexible selection patterns. You can generate risk groups from templates to scale configurations and experiment with different topology failures.

How do I create reusable templates for network simulation scenarios?

You create reusable templates for network simulation scenarios via YAML blueprints. These blueprints allow you to scale configurations, define rule-based modifications, and apply variable expansion to model realistic network demands.

Can I use regex path matching to select nodes and links in network simulations?

Yes, regex path matching and capture groups are supported for selecting nodes and links. This flexible selection pattern allows you to target specific network topology elements and apply rule-based modifications within your YAML definitions.

Do I need any external dependencies to run YAML-based network simulations?

No external dependencies are required to define and run these YAML-based network simulations. The DSL operates standalone, allowing you to specify topologies, workflows, and references directly within your YAML frontmatter and directories.

What is the minimal setup to validate a network topology in YAML?

The minimal setup to validate a network topology is creating a YAML file with two connected nodes and a single link. This basic configuration confirms your frontmatter definition is correct before expanding into complex demands.