Logotipo de Cml Node Operations

Cml Node Operations

Comunidad
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.

Descripción general

Editorautomateyournetwork
Repositorionetclaw
Nombre de la habilidadcml-node-operations
Estrellas
680
Forks
189
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por automateyournetwork en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Cml Node Operations en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Cml Node Operations en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Cml Node Operations automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Cml Node Operations no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo 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.

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Cml Node Operations en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Cml Node Operations está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Cml Node Operations en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/cml-node-operations. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Cml Node Operations?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Cml Node Operations?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Cml Node Operations con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Cml Node Operations?

Sí. automateyournetwork la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇