Agent skill

Cml Lab Lifecycle

by automateyournetwork in automateyournetwork/netclaw

Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs.

Apache-2.0Auto-check passed

Install Cml Lab Lifecycle

skills CLI
$ npx skills add automateyournetwork/netclaw --skill cml-lab-lifecycle -a claude-code

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

GitHub CLI
$ gh skill install automateyournetwork/netclaw cml-lab-lifecycle --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-lab-lifecycle .claude/skills/cml-lab-lifecycle && 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-lab-lifecycle
GitHub stars
676
Token cost
~1.6k tokens
SKILL.md length
764 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs.

  • Works in 7 steps: Create the lab: Use create_lab with a… → Add nodes: (See cml-topology-builder… → Wire the topology: (See… → …
  • Building a network lab
  • SKILL.md covers MCP Server, Available Tools, Workflow: Create a Lab from… and Workflow: Lab Cleanup, plus 7 more sections
  • Needs CML_PASSWORD

What it does

Cml Lab Lifecycle is an agent skill from automateyournetwork/netclaw. Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs. Use when building a network lab, starting or stopping a CML lab, cloning a topology, or importing lab YAML files.

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

It works with Slack. 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 lab
  • Stopping a CML lab
  • Cloning a topology
  • Importing lab YAML files

Example prompts

  • “/cml-lab-lifecycle”

Workflow steps

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

  1. Create the lab: Use create_lab with a descriptive title
  2. Add nodes: (See cml-topology-builder skill) Add routers, switches, servers
  3. Wire the topology: (See cml-topology-builder skill) Create interfaces and links
  4. Apply configs: (See cml-node-operations skill) Set startup configs
  5. Start the lab: Use start_lab to boot everything
  6. Verify convergence: (See cml-node-operations skill) Execute show commands to verify routing
  7. Report back: Tell the user the lab is ready with node names and management IPs

What it can do on your machine

Read from SKILL.md and the folder at commit 95bb17e. 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 Lab Lifecycle loads about 1.6k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 764 words of instructions outside code blocks.

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

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 95bb17e, republished under its Apache-2.0 licence (© automateyournetwork). 764 words, ~1,578 tokens.

Download SKILL.mdSave it as .claude/skills/cml-lab-lifecycle/SKILL.md (or your agent's skills folder).
name
cml-lab-lifecycle
description
Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs. Use when building a network lab, starting or stopping a CML lab, cloning a topology, or importing lab YAML files.
version
1.0.0
license
Apache-2.0
tags
cml, labs, simulation, lifecycle

CML Lab Lifecycle Management

MCP Server

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

Available Tools

Lab CRUD Operations
ToolParametersWhat It Does
create_labtitleCreate a new empty lab with a title
get_lablab_id or lab_titleGet lab details (state, node count, link count)
get_labsnoneList all labs on the CML server
start_lablab_id or lab_titleStart all nodes in a lab (boot the topology)
stop_lablab_id or lab_titleStop all nodes in a lab (graceful shutdown)
wipe_lablab_id or lab_titleWipe lab node configurations (reset to factory)
delete_lablab_id or lab_titleDelete a lab permanently
Lab Import/Export
ToolParametersWhat It Does
import_labtopology (YAML string)Import a lab from CML topology YAML
export_lablab_id or lab_titleExport a lab as CML topology YAML
clone_lablab_id or lab_titleClone an existing lab (deep copy)
download_lab_configslab_id or lab_titleDownload all node configs from a running lab

Workflow: Create a Lab from Scratch (Slack)

When a user says something like "build me a 3-router OSPF lab" in Slack:

  1. Create the lab: Use create_lab with a descriptive title
  2. Add nodes: (See cml-topology-builder skill) Add routers, switches, servers
  3. Wire the topology: (See cml-topology-builder skill) Create interfaces and links
  4. Apply configs: (See cml-node-operations skill) Set startup configs
  5. Start the lab: Use start_lab to boot everything
  6. Verify convergence: (See cml-node-operations skill) Execute show commands to verify routing
  7. Report back: Tell the user the lab is ready with node names and management IPs
Example Slack Conversations

"Build me a 3-router OSPF lab" → create_lab "OSPF Lab - 3 Routers" → create_node x3 (IOSv: R1, R2, R3) → create_interface + create_link (R1-R2, R2-R3, R1-R3 full mesh) → set_node_config for each (OSPF area 0, loopbacks, point-to-point links) → start_lab → execute_command: "show ip ospf neighbor" on each router → Report: "Lab ready! R1, R2, R3 all have FULL OSPF adjacencies."

"Add a 4th router to the OSPF lab" → stop_lab (topology changes require stopped state) → create_node R4 (IOSv) → create_interface + create_link (R4 to R2 and R3) → set_node_config for R4 (OSPF area 0) → Update R2 and R3 configs if needed → start_lab → Verify all 4 routers have adjacencies

"Create a lab from this YAML topology" → import_lab with the provided YAML → start_lab → Report node count, link count, state

"Clone the OSPF lab and add BGP peering" → clone_lab "OSPF Lab - 3 Routers" → "OSPF+BGP Lab" → Modify configs to add BGP router stanzas → start_lab → Verify both OSPF and BGP adjacencies

Workflow: Lab Cleanup

When a user is done with a lab:

  1. Stop the lab: stop_lab — graceful shutdown of all nodes
  2. Optional export: Ask if they want to save the topology (export_lab)
  3. Wipe configs: wipe_lab to reset node configs (if reusing later)
  4. Delete the lab: delete_lab to free CML resources
Show full SKILL.md (308 more words)Show less

Workflow: Clone and Modify

When a user wants to experiment with a variant of an existing lab:

  1. Clone the lab: clone_lab creates a deep copy
  2. Modify the clone: Add/remove nodes, change links, update configs
  3. Start the clone: start_lab on the new copy
  4. Keep the original untouched for comparison

Workflow: Export for Sharing

When a user wants to share a lab topology:

  1. Export: export_lab returns CML YAML topology
  2. Optionally commit to GitHub: Use github-ops skill to commit the YAML to a repo
  3. Share via Slack: Post the YAML or share the GitHub link

Lab States

Labs go through these states:

StateMeaning
DEFINED_ON_CORELab exists but no nodes are running
STARTEDAll (or some) nodes are booting/running
STOPPEDAll nodes have been shut down
BOOTEDAll nodes have finished booting

Common Lab Patterns

CCIE Routing Lab
"Create a CCIE routing lab with:
- 4 x IOSv routers (R1-R4)
- 2 x IOSv L2 switches (SW1-SW2)
- Full mesh between R1-R4
- SW1 connecting R1 and R2, SW2 connecting R3 and R4"
Data Center Lab
"Build a DC lab:
- 2 x NX-OS spines
- 4 x NX-OS leaves
- 1 x external router (IOSv)
- Spine-leaf full mesh, external router to both spines"
Service Provider Lab
"Create an SP lab:
- 4 x IOS-XR routers (PE1, PE2, P1, P2)
- 2 x IOSv CE routers
- PE-P full mesh, CE1 to PE1, CE2 to PE2"

Important Rules

  • Always check lab state before operations — don't try to start an already-running lab
  • Use get_labs first to see what already exists — avoid duplicate lab names
  • Export before delete — ask the user if they want to save the topology before destroying it
  • Lab titles can be used instead of lab IDs — the CML MCP resolves titles to IDs
  • Wipe requires stop — a lab must be stopped before configs can be wiped
  • Record in GAIT — log lab creation/deletion for audit trail

Environment Variables

  • CML_URL — CML server URL (e.g., https://cml.example.com)
  • 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.

© 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-lab-lifecycle of automateyournetwork/netclaw.

Open the folder on GitHubat commit 95bb17e

Compare with similar skills

Cml Lab Lifecycle 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 Lab Lifecycle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cml Lab Lifecycle this skillautomateyournetwork/netclaw676—~1.6kAutomated safety check: PassApache-2.0
Agent Browser CLIvercel-labs/agent-browser44k24 repos~864Automated safety check: PassApache-2.0
Slack GIF Creatoranthropics/skills180k29 repos~2kAutomated safety check: PassApache-2.0
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Electron App Automationvercel-labs/agent-browser44k5 repos~1.7kAutomated safety check: PassApache-2.0
Slack Browser Automationvercel-labs/agent-browser44k1 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Agent Browser CLI

    vercel-labs/agent-browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…

    44k GitHub starsUsed in 24 repos~864 tokens
    Productivity & AutomationAuto-check passed
  • Slack GIF Creator

    anthropics/skills

    Official

    Provides Slack size and frame limits, Python animation helpers and validators for building animated GIFs sized for emoji and messages.

    180k GitHub starsUsed in 29 repos~2k tokens
    Media & CreativeAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Electron App Automation

    vercel-labs/agent-browser

    Official

    Automates Electron desktop apps such as VS Code, Slack or Discord by connecting agent-browser to their Chrome DevTools Protocol port.

    44k GitHub starsUsed in 5 repos~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Slack Browser Automation

    vercel-labs/agent-browser

    Official

    Drives the Slack web app with the agent-browser CLI to check unread channels, search, read channel details and extract information, with screenshots as evidence.

    44k GitHub starsUsed in 1 repo~2.1k tokens
    Productivity & AutomationAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-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.

    676 GitHub stars~612 tokensUpdated 4 days ago
    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.

    676 GitHub stars~4.2k tokensUpdated 4 days ago
    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.

    676 GitHub stars~2.9k tokensUpdated 4 days ago
    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.

    676 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Arista Cvp

    automateyournetwork/netclaw

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

    676 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check: notes
  • AWS Cloud Monitoring

    automateyournetwork/netclaw

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

    676 GitHub stars~1k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Cml Lab Lifecycle

What does Cml Lab Lifecycle do?

Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs. Cml Lab Lifecycle is an agent skill from automateyournetwork/netclaw. Cisco CML lab lifecycle management — create, start, stop, wipe, delete, clone, import/export labs.

When should I use Cml Lab Lifecycle?

Cml Lab Lifecycle fits situations like: building a network lab; stopping a CML lab; cloning a topology; importing lab YAML files.

How do I install Cml Lab Lifecycle in Claude Code?

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

How do I install Cml Lab Lifecycle in Codex?

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

Can I use Cml Lab Lifecycle 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-lab-lifecycle -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-lab-lifecycle, .gemini/skills/cml-lab-lifecycle, .github/skills/cml-lab-lifecycle and .opencode/skills/cml-lab-lifecycle in your project.

What does Cml Lab Lifecycle need to run?

Going by SKILL.md and its folder, Cml Lab Lifecycle needs credentials named CML_PASSWORD.

Does Cml Lab Lifecycle 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 Lab Lifecycle 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 Lab Lifecycle use?

Cml Lab Lifecycle 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 Lab Lifecycle use?

About 1.6k tokens (SKILL.md is roughly 6.3k 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 Lab Lifecycle?

Skills that share tags, products or a category with Cml Lab Lifecycle: Agent Browser CLI (vercel-labs/agent-browser, 44k stars), Slack GIF Creator (anthropics/skills, 180k stars), Code Design Rationale Investigator (cursor/plugins, 10k stars) and Electron App Automation (vercel-labs/agent-browser, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cml Lab Lifecycle?

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 5, 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.