Logo di 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.

Panoramica

Autoreautomateyournetwork
Repositorynetclaw
Nome della skillcml-node-operations
Stelle
680
Fork
189
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da automateyournetwork su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Cml Node Operations in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Cml Node Operations in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Cml Node Operations non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Cml Node Operations non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Cml Node Operations su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Cml Node Operations è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Cml Node Operations in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Cml Node Operations?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Cml Node Operations?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Cml Node Operations: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Cml Node Operations è gratuita?

Sì. È pubblicata su GitHub da automateyournetwork con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇