Cml Node Operations logo

Cml Node Operations

Community
automateyournetwork
cml-node-operations

CML node operations — start, stop, console access, CLI execution, config management, node details. Use when starting or stopping a CML node, running show commands on a lab router, setting startup configs, or reading console logs.

Overview

Publisherautomateyournetwork
Repositorynetclaw
Skill namecml-node-operations
Stars
680
Forks
189
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by automateyournetwork on GitHub. Read the source before you install it.

Installation

Install the Cml Node Operations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/cml-node-operations .claude/skills/cml-node-operations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cml Node Operations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cml Node Operations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cml Node Operations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CML Node Operations

MCP Server

  • Command: cml-mcp (pip-installed, stdio transport)
  • Requires: CML_URL, CML_USERNAME, CML_PASSWORD environment variables
  • Optional: cml-mcp[pyats] for CLI execution via pyATS

Available Tools

Node Lifecycle

ToolParametersWhat It Does
start_nodelab_id/lab_title, node_id/node_labelStart (boot) a single node
stop_nodelab_id/lab_title, node_id/node_labelStop (shutdown) a single node
get_nodelab_id/lab_title, node_id/node_labelGet node details: state, CPU, RAM, interfaces, config
get_nodeslab_id/lab_titleList all nodes with their current states
wipe_nodelab_id/lab_title, node_id/node_labelWipe a node's configuration (reset to default)

Configuration Management

ToolParametersWhat It Does
set_node_configlab_id/lab_title, node_id/node_label, configSet a node's startup configuration
get_node_configlab_id/lab_title, node_id/node_labelGet a node's current configuration
download_lab_configslab_id/lab_titleDownload all node configs from a running lab

Console & CLI Access

ToolParametersWhat It Does
get_node_consolelab_id/lab_title, node_id/node_labelGet console connection details (URL, protocol)
get_node_console_loglab_id/lab_title, node_id/node_label, lines?Retrieve console log output from a running node
execute_commandlab_id/lab_title, node_id/node_label, commandExecute a CLI command on a running node (requires pyATS)

Node States

StateMeaning
DEFINED_ON_CORENode exists but is not running
BOOTINGNode is in the process of booting
BOOTEDNode has finished booting and is reachable
STOPPEDNode has been shut down

Workflow: Configure and Boot a Node

When a user wants to configure a specific node:

  1. Check node state: get_node to see current state
  2. Set startup config: set_node_config with the full configuration
  3. Start the node: start_node to boot it
  4. Wait for boot: Nodes take 30-120 seconds depending on type
  5. Verify: execute_command to run show version or show ip int brief
  6. Report: Tell the user the node is ready

Workflow: Collect Running Configs

When a user wants to back up or review configs:

  1. Ensure lab is running: get_lab to check state
  2. Download all configs: download_lab_configs gets everything at once
  3. Or target specific nodes: get_node_config for individual nodes
  4. Optionally commit to GitHub: Use github-ops skill to commit configs to a repo

Workflow: Console Log Troubleshooting

When a user needs to see what happened during boot or troubleshoot a node:

  1. Check node state: get_node — node must be BOOTED or BOOTING
  2. Get console log: get_node_console_log to retrieve recent console output
  3. Analyze output: Look for error messages, boot failures, config errors
  4. Common issues to spot:
    • %PARSER-4-BADCFG — invalid configuration commands
    • %LINK-3-UPDOWN — interface state changes
    • %OSPF-5-ADJCHG — OSPF adjacency changes
    • %BGP-5-ADJCHANGE — BGP neighbor state changes
    • %SYS-5-RESTART — system restart messages
    • Boot failures, license errors, memory allocation errors
  5. Report: Summarize the console log findings

Workflow: Execute CLI Commands

When a user wants to run show commands or make live changes:

  1. Verify node is BOOTED: get_node to check state
  2. Execute command: execute_command with the CLI command
  3. Parse output: Present the results in a readable format
  4. Multiple commands: Run them sequentially, one execute_command per command

Common commands to execute:

show ip interface brief
show ip ospf neighbor
show ip bgp summary
show running-config
show cdp neighbor
show version
show ip route
show interfaces status

Workflow: Reset and Reconfigure

When a user wants to start fresh with a node:

  1. Stop the node: stop_node
  2. Wipe the config: wipe_node resets to factory default
  3. Set new config: set_node_config with the new startup configuration
  4. Start the node: start_node
  5. Verify: Execute show commands to confirm the new config took effect

Startup Configuration Templates

IOSv Router (Basic OSPF)

hostname {HOSTNAME}
!
interface Loopback0
 ip address {LOOPBACK_IP} 255.255.255.255
!
interface GigabitEthernet0/0
 ip address {MGMT_IP} {MASK}
 no shutdown
!
interface GigabitEthernet0/1
 ip address {P2P_IP} {MASK}
 no shutdown
!
router ospf 1
 router-id {LOOPBACK_IP}
 network {LOOPBACK_IP} 0.0.0.0 area 0
 network {P2P_NETWORK} {WILDCARD} area 0
!
line con 0
 logging synchronous
line vty 0 4
 login local
 transport input ssh
!
end

IOSv Router (Basic BGP)

hostname {HOSTNAME}
!
interface Loopback0
 ip address {LOOPBACK_IP} 255.255.255.255
!
interface GigabitEthernet0/1
 ip address {PEER_IP} {MASK}
 no shutdown
!
router bgp {LOCAL_AS}
 bgp router-id {LOOPBACK_IP}
 bgp log-neighbor-changes
 neighbor {NEIGHBOR_IP} remote-as {REMOTE_AS}
 !
 address-family ipv4
  network {LOOPBACK_IP} mask 255.255.255.255
  neighbor {NEIGHBOR_IP} activate
 exit-address-family
!
end

NX-OS Switch (Basic VXLAN Leaf)

hostname {HOSTNAME}
!
feature ospf
feature bgp
feature nv overlay
feature vn-segment-vlan-based
!
interface loopback0
  ip address {LOOPBACK_IP}/32
!
interface Ethernet1/1
  description To-Spine1
  no switchport
  ip address {P2P_IP}/30
  no shutdown
!
router ospf 1
  router-id {LOOPBACK_IP}
!
router bgp {AS}
  router-id {LOOPBACK_IP}
  neighbor {SPINE_IP} remote-as {AS}
    update-source loopback0
    address-family l2vpn evpn
      send-community extended
!
end

IOS-XR Router (Basic IS-IS)

hostname {HOSTNAME}
!
interface Loopback0
 ipv4 address {LOOPBACK_IP} 255.255.255.255
!
interface GigabitEthernet0/0/0/0
 ipv4 address {P2P_IP} {MASK}
 no shutdown
!
router isis CORE
 is-type level-2-only
 net 49.0001.{SYSTEM_ID}.00
 address-family ipv4 unicast
  metric-style wide
 !
 interface Loopback0
  passive
  address-family ipv4 unicast
  !
 !
 interface GigabitEthernet0/0/0/0
  address-family ipv4 unicast
  !
 !
!
end

Important Rules

  • Check node state before operations — don't start an already-booted node or stop an already-stopped one
  • Wait for boot — IOSv takes ~60s, NX-OS ~90s, IOS-XR ~120s to boot
  • execute_command requires pyATS — the cml-mcp[pyats] extra must be installed
  • Set configs BEFORE starting — set_node_config sets the startup config; apply it before boot
  • Use labels not IDs — labels like "R1" are more human-readable than UUIDs
  • Record in GAIT — log all configuration changes and CLI commands for audit trail

Environment Variables

  • CML_URL — CML server URL
  • CML_USERNAME — CML username
  • CML_PASSWORD — CML password
  • CML_VERIFY_SSL — Verify SSL certificate (true/false)

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.

Frequently asked questions

What does the Cml Node Operations AI skill do?

CML node operations — start, stop, console access, CLI execution, config management, node details. Use when starting or stopping a CML node, running show commands on a lab router, setting startup configs, or reading console logs.

Why use Cml Node Operations on TypingMind?

Because you install it once and use it with any model. Cml Node Operations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cml Node Operations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cml Node Operations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cml Node Operations?

As many as you like. As long as a model supports skills, you can use Cml Node Operations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cml Node Operations AI skill free?

Yes. It is published on GitHub by automateyournetwork under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇