Logo von Cml Node Operations

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.

Übersicht

Herausgeberautomateyournetwork
Repositorynetclaw
Skill-Namecml-node-operations
Sterne
680
Forks
189
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von automateyournetwork auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Cml Node Operations in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Cml Node Operations in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Cml Node Operations automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Cml Node Operations nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Cml Node Operations in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Cml Node Operations besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Cml Node Operations in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Cml Node Operations nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Cml Node Operations verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Cml Node Operations damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Cml Node Operations kostenlos?

Ja. Der Skill wird von automateyournetwork auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇