Agent skill

Cml Topology Builder

by automateyournetwork in automateyournetwork/netclaw

Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations.

Apache-2.0Auto-check passed

Install Cml Topology Builder

skills CLI
$ npx skills add automateyournetwork/netclaw --skill cml-topology-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install automateyournetwork/netclaw cml-topology-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/automateyournetwork/netclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/cml-topology-builder .claude/skills/cml-topology-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cml-topology-builder
GitHub stars
676
Token cost
~1.8k tokens
SKILL.md length
759 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations.

  • Works in 9 steps: Create the lab (or get an existing one… → Get node definitions: get_node_defs to… → Plan the layout: Calculate x,y… → …
  • Building a network topology in CML
  • SKILL.md covers MCP Server, Available Tools, Available Node Definitions and Workflow: Build Topology from…, plus 6 more sections
  • Needs CML_PASSWORD

What it does

Cml Topology Builder is an agent skill from automateyournetwork/netclaw. Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations. Use when building a network topology in CML, adding routers or switches to a lab, wiring links between nodes, or simulating WAN conditions.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: An AI agent that claws through your network. The licence is Apache-2.0.

When your agent uses it

  • Building a network topology in CML
  • Switches to a lab
  • Wiring links between nodes
  • Simulating WAN conditions

Example prompts

  • “/cml-topology-builder”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Create the lab (or get an existing one via get_lab)
  2. Get node definitions: get_node_defs to know what's available
  3. Plan the layout: Calculate x,y coordinates for visual placement
  4. Create nodes: create_node for each device with meaningful labels
  5. Create interfaces: create_interface for each connection point
  6. Wire links: create_link to connect interface pairs
  7. Set conditions (if requested): set_link_condition for WAN links
  8. Add annotations: create_annotation for labels, IP addressing plans
  9. Report the topology: List all nodes, interfaces, and links

What it can do on your machine

Read from SKILL.md and the folder at commit aa90e7d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CML_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cml Topology Builder loads about 1.8k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 759 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from automateyournetwork/netclaw at commit aa90e7d, republished under its Apache-2.0 licence (© automateyournetwork). 759 words, ~1,847 tokens.

Download SKILL.mdSave it as .claude/skills/cml-topology-builder/SKILL.md (or your agent's skills folder).
name
cml-topology-builder
description
Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations. Use when building a network topology in CML, adding routers or switches to a lab, wiring links between nodes, or simulating WAN conditions.
version
1.0.0
license
Apache-2.0
tags
cml, topology, nodes, links, interfaces

CML Topology Builder

MCP Server

  • Command: cml-mcp (pip-installed, stdio transport)
  • Requires: CML_URL, CML_USERNAME, CML_PASSWORD environment variables

Available Tools

Node Management
ToolParametersWhat It Does
get_node_defsnoneList all available node definitions (IOSv, NX-OS, IOS-XR, etc.)
create_nodelab_id/lab_title, node_def, label, x, yAdd a node to a lab
get_nodeslab_id/lab_titleList all nodes in a lab
get_nodelab_id/lab_title, node_id/node_labelGet details of a specific node
Interface Management
ToolParametersWhat It Does
create_interfacelab_id/lab_title, node_id/node_label, slot?Create a new interface on a node
get_interfaceslab_id/lab_title, node_id/node_labelList all interfaces on a node
get_interfacelab_id/lab_title, node_id/node_label, interface_id/interface_labelGet interface details
ToolParametersWhat It Does
create_linklab_id/lab_title, src_node/src_label, src_intf, dst_node/dst_label, dst_intfCreate a link between two interfaces
get_linkslab_id/lab_titleList all links in a lab
get_linklab_id/lab_title, link_idGet link details
set_link_conditionlab_id/lab_title, link_id, bandwidth?, latency?, jitter?, loss?Set link conditioning (WAN simulation)
set_link_statelab_id/lab_title, link_id, stateSet link state (up/down) — simulate link failures
Annotations
ToolParametersWhat It Does
create_annotationlab_id/lab_title, annotation_type, content, x, y, width?, height?Add a text/shape annotation
get_annotationslab_id/lab_titleList all annotations
delete_annotationlab_id/lab_title, annotation_idRemove an annotation

Available Node Definitions

Common node types available in CML (use get_node_defs to get the full list):

Node Definition IDDescriptionTypical Use
iosvCisco IOSv (IOS 15.x)Routing, switching labs
iosvl2Cisco IOSv L2Layer 2 switching labs
iosxrv9000Cisco IOS XR 9000vSP, MPLS, Segment Routing
nxosv9000Cisco NX-OS 9000vData center, VXLAN
csr1000vCisco CSR 1000v (IOS-XE)SD-WAN, routing
cat8000vCisco Catalyst 8000vEnterprise routing
asavCisco ASAvFirewall labs
serverUbuntu/Alpine serverTraffic gen, testing
external_connectorExternal bridgeConnect lab to host/internet
unmanaged_switchUnmanaged L2 switchSimple L2 connectivity
wan_emulatorWAN emulatorAdd latency/loss between nodes

Workflow: Build Topology from Description

When the user describes a topology:

  1. Create the lab (or get an existing one via get_lab)
  2. Get node definitions: get_node_defs to know what's available
  3. Plan the layout: Calculate x,y coordinates for visual placement
    • Use a grid layout: 200px spacing horizontally, 200px vertically
    • Group by role: core in center, edge on sides, servers at bottom
  4. Create nodes: create_node for each device with meaningful labels
  5. Create interfaces: create_interface for each connection point
  6. Wire links: create_link to connect interface pairs
  7. Set conditions (if requested): set_link_condition for WAN links
  8. Add annotations: create_annotation for labels, IP addressing plans
  9. Report the topology: List all nodes, interfaces, and links

Layout Guidelines

When placing nodes, use this visual grid approach:

Topology Layout (x, y coordinates):

Layer 0 (Top):     Core routers         y=100
Layer 1:           Distribution          y=300
Layer 2:           Access / Leaf         y=500
Layer 3 (Bottom):  Servers / Endpoints   y=700

x spacing: 200px between nodes in the same layer
Center the topology: start x at 100, distribute evenly

Example for a 2-spine, 4-leaf topology:

Spine1: (300, 100)    Spine2: (500, 100)
Leaf1:  (100, 300)    Leaf2:  (300, 300)    Leaf3:  (500, 300)    Leaf4:  (700, 300)
Srv1:   (100, 500)    Srv2:   (300, 500)    Srv3:   (500, 500)    Srv4:   (700, 500)

Use set_link_condition to simulate real-world WAN characteristics:

ScenarioBandwidthLatencyJitterLoss
LAN(none)(none)(none)(none)
Metro Ethernet100 Mbps5 ms1 ms0%
WAN (good)50 Mbps20 ms5 ms0.1%
WAN (poor)10 Mbps100 ms20 ms1%
Satellite5 Mbps300 ms50 ms2%
Congested link1 Mbps200 ms100 ms5%
Show full SKILL.md (281 more words)Show less

Workflow: Annotate Topology

After building a topology, add visual documentation:

  1. Title annotation: Lab name and purpose at the top
  2. IP addressing: Annotation blocks showing subnet assignments per link
  3. AS numbers: Label BGP AS boundaries
  4. Area labels: Mark OSPF areas, VRF names, VLAN IDs
  5. Notes: Any special instructions or test scenarios

When testing network resilience:

  1. Get the link: get_links to find the link ID between the two nodes
  2. Capture baseline: Use execute_command to check routing tables before failure
  3. Bring link down: set_link_state with state "down"
  4. Observe convergence: Execute show commands on affected nodes (OSPF neighbors, BGP summary, routing table)
  5. Optionally capture traffic: Use cml-packet-capture to capture reconvergence traffic
  6. Restore link: set_link_state with state "up"
  7. Verify recovery: Confirm routing adjacencies re-establish
  8. Report: Document failover/failback time and behavior

Important Rules

  • Always use get_node_defs first to verify available node types before creating nodes
  • Create interfaces before links — you need interface IDs to wire links
  • Use descriptive labels — "R1-Core" not "Node1"
  • Plan before building — figure out the full topology before starting to create nodes
  • Lab must be STOPPED to add nodes — cannot modify topology of a running lab
  • Position nodes logically — hierarchical layout makes the topology readable in CML UI
  • Record in GAIT — log topology creation for audit trail

Failure Behavior

  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • Do not automatically retry a write/mutating operation after a failure — surface the error and get explicit confirmation before retrying, since a blind retry on a partially-applied change can leave state inconsistent.

© automateyournetwork, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workspace/skills/cml-topology-builder of automateyournetwork/netclaw.

Open the folder on GitHubat commit aa90e7d

Compare with similar skills

Cml Topology Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cml Topology Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cml Topology Builder this skillautomateyournetwork/netclaw676—~1.8kAutomated safety check: PassApache-2.0
Node Connectopenclaw/openclaw392k—~1.6kAutomated safety check: PassMIT
Node Inspect Debuggeropenclaw/openclaw392k1 repos~894Automated safety check: PassMIT
Topology Authoringnetdata/netdata81k—~3.9kAutomated safety check: PassGPL-3.0
Network Interface Healthaffaan-m/ECC277k1 repos~1.4kAutomated safety check: PassMIT
Agent Topology Optimizerruvnet/ruflo74k2 repos~6.2kAutomated safety check: PassMIT

Similar skills

  • Node Connect

    openclaw/openclaw

    Diagnose OpenClaw Control UI browser and native Android, iOS, or macOS node connection failures across route, auth, pairing, QR/setup-code, and reconnect states.

    392k GitHub stars~1.6k tokensUpdated today
    MobileAuto-check passed
  • Node Inspect Debugger

    openclaw/openclaw

    Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.

    392k GitHub starsUsed in 1 repo~894 tokens
    Frontend & DesignAuto-check passed
  • Topology Authoring

    netdata/netdata

    Design, change or review Netdata topology producers and netdata.topology.v1 payloads, including actors, links, evidence, correlation, presentation, modals, overlays and validators.

    81k GitHub stars~3.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Diagnose interface errors, drops, CRCs, duplex mismatches, flapping, speed negotiation issues, and counter trends on routers, switches, and Linux hosts.

    277k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Agent skill for topology-optimizer - invoke with $agent-topology-optimizer

    74k GitHub starsUsed in 2 repos~6.2k tokens
    Auto-check passed
  • Team Builder

    affaan-m/ECC

    Interactive picker that discovers available agent personas via the claude agents command and agents/ markdown globs, groups them into domains, has the user select up to five, dispatches them in…

    277k GitHub starsUsed in 1 repo~1.8k tokens
    Agent WorkflowsAuto-check passed

More from automateyournetwork/netclaw

All 120 skills in this repo
  • EVE-NG Lab Topology Design

    automateyournetwork/netclaw

    Entry point for designing EVE-NG network labs: classifies the request, gathers missing requirements, proposes options and validates the resulting topology.

    677 GitHub stars~612 tokensUpdated today
    Auto-check passed
  • ACI Policy Change Deployment

    automateyournetwork/netclaw

    Deploys Cisco ACI policy changes only behind an approved ServiceNow Change Request, capturing pre and post-change fault baselines and rolling back automatically on a fault delta.

    677 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Cisco ACI Fabric Health Audit

    automateyournetwork/netclaw

    Runs a phased health audit of a Cisco ACI fabric through MCP tools: node status, links, tenant and policy review, faults and endpoint learning.

    677 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Anta Validation

    automateyournetwork/netclaw

    Validate Arista EOS network state against ANTA's pre-built 208-test catalogue, with structured pass/fail verdicts.

    677 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Arista Cvp

    automateyournetwork/netclaw

    Arista CloudVision Portal (CVP) automation via REST API — device inventory, events, connectivity monitoring, tag management (4 tools).

    677 GitHub stars~2.2k tokensUpdated today
    Auto-check: notes
  • AWS Cloud Monitoring

    automateyournetwork/netclaw

    AWS CloudWatch monitoring — metrics, alarms, log queries, VPC flow log analysis, network performance.

    677 GitHub stars~1k tokensUpdated today
    Auto-check passed

Questions about Cml Topology Builder

What does Cml Topology Builder do?

Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations. Cml Topology Builder is an agent skill from automateyournetwork/netclaw. Build CML topologies — add nodes, create interfaces, wire links, set link conditioning, add annotations.

When should I use Cml Topology Builder?

Cml Topology Builder fits situations like: building a network topology in CML; switches to a lab; wiring links between nodes; simulating WAN conditions.

How do I install Cml Topology Builder in Claude Code?

Run `npx skills add automateyournetwork/netclaw --skill cml-topology-builder -a claude-code`. Or copy the skill folder (workspace/skills/cml-topology-builder in automateyournetwork/netclaw) into .claude/skills/cml-topology-builder in your project. Claude Code loads it when a task matches its description.

How do I install Cml Topology Builder in Codex?

Run `npx skills add automateyournetwork/netclaw --skill cml-topology-builder -a codex`. Or copy the skill folder (workspace/skills/cml-topology-builder in automateyournetwork/netclaw) into .agents/skills/cml-topology-builder in your project. Codex loads it when a task matches its description.

Can I use Cml Topology Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add automateyournetwork/netclaw --skill cml-topology-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cml-topology-builder, .gemini/skills/cml-topology-builder, .github/skills/cml-topology-builder and .opencode/skills/cml-topology-builder in your project.

What does Cml Topology Builder need to run?

Going by SKILL.md and its folder, Cml Topology Builder needs credentials named CML_PASSWORD.

Does Cml Topology Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cml Topology Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cml Topology Builder use?

Cml Topology Builder is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cml Topology Builder use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cml Topology Builder?

Skills that share tags, products or a category with Cml Topology Builder: Node Connect (openclaw/openclaw, 392k stars), Node Inspect Debugger (openclaw/openclaw, 392k stars), Topology Authoring (netdata/netdata, 81k stars) and Network Interface Health (affaan-m/ECC, 277k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cml Topology Builder?

automateyournetwork (a GitHub user) maintains it in automateyournetwork/netclaw, which has 676 GitHub stars. The repository holds 120 skills in this directory. The repository was last updated on October 9, 2026.

Source: automateyournetwork/netclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.