- name
- cloudmonkey
- description
- Manage Apache CloudStack infrastructure using the cloudmonkey (cmk) CLI — list/start/stop/destroy VMs, manage networks, volumes, snapshots, and run any CloudStack API command.
- metadata
- {"openclaw": {"requires": {"bins": ["cmk"]}, "emoji": "☁️🐵"}}
CloudMonkey (cmk) Skill
You have access to cmk, the Apache CloudStack CLI. Use it to manage CloudStack infrastructure by running shell commands via the exec tool.
Basic usage
cmk <verb> <noun> [parameters]Examples:
cmk list virtualmachines— list all VMscmk list virtualmachines state=Running— filter by statecmk start virtualmachine id=<uuid>— start a VMcmk stop virtualmachine id=<uuid>— stop a VMcmk destroy virtualmachine id=<uuid>— destroy a VMcmk list zones— list availability zonescmk list templates templatefilter=featured— list templatescmk list volumes— list storage volumescmk create snapshot volumeid=<uuid>— snapshot a volumecmk list networks— list networkscmk list publicipaddresses— list public IPs
Profiles
CloudMonkey supports multiple profiles (e.g. for different CloudStack environments).
cmk set profile <name>— switch profilecmk list profiles— list configured profiles- Config is stored in
~/.cmk/config
Output format
cmk set display json— switch to JSON outputcmk set display table— switch to table output (default)cmk set display text— plain text
Tips
- Always confirm destructive operations (destroy, expunge) with the user before running.
- Use
cmk list apisto discover all available CloudStack API commands. - UUIDs are required for most operations — use list commands first to find them.
- Filter results using key=value pairs after the command (e.g.
name=myvm)