CloudMonkey for Openclaw

A comprehensive interface for managing Apache CloudStack infrastructure via the CloudMonkey (cmk) CLI tool.

kiranchavala
v1.0.0
Feb 19, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cloudmonkey

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cloudmonkey using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is CloudMonkey?

The CloudMonkey skill provides a direct bridge between your AI agent and Apache CloudStack environments. By leveraging the cmk CLI, this skill enables programmatic control over virtual machines, networks, and storage volumes. It is designed for developers and system administrators who need to integrate cloud orchestration into their Openclaw Skills workflows, offering a robust way to automate infrastructure tasks without leaving the agent interface.

This skill is particularly valuable for teams managing complex hybrid or private clouds. It synthesizes the full power of the CloudStack API into a developer-friendly command structure, allowing for rapid querying of resources and execution of critical lifecycle operations like snapshotting, network provisioning, and VM state management.

CloudMonkey Use Cases

  • Automating the lifecycle of virtual machines including starting, stopping, and destroying instances.
  • Auditing cloud resources by listing zones, public IP addresses, and active networks.
  • Implementing disaster recovery workflows through automated volume snapshot creation.
  • Managing multiple cloud environments seamlessly by switching between pre-configured profiles.

How CloudMonkey Works

  1. The AI agent interprets a user's intent regarding CloudStack infrastructure and identifies the relevant cmk command.
  2. The skill executes the command through the system's executive shell, utilizing the installed cmk binary.
  3. Results are retrieved from the CloudStack API, which can be toggled between JSON, table, or text formats for optimal processing.
  4. The agent parses the output to provide the user with status updates or to extract specific UUIDs for subsequent operations.
  5. For destructive actions, the workflow includes a confirmation step to ensure infrastructure safety within the Openclaw Skills environment.

CloudMonkey Setup

To use this skill, ensure the cmk binary is installed and accessible in your system PATH. Follow these steps to configure your environment:

# Install the CloudMonkey binary (example for Linux)
sudo wget https://github.com/apache/cloudstack-cloudmonkey/releases/latest/download/cmk.linux.x86_64 -O /usr/local/bin/cmk
sudo chmod +x /usr/local/bin/cmk

# Configure your CloudStack connection
cmk set profile your-environment-name
cmk set url http://your-cloudstack-server:8080/client/api
cmk set apikey YOUR_API_KEY
cmk set secretkey YOUR_SECRET_KEY

CloudMonkey Data Schema & Taxonomy

The skill manages infrastructure metadata and configuration through a structured hierarchy:

Component Description Data Format
Configuration Global and profile-specific settings stored in ~/.cmk/config. Text/Ini
Resource IDs Unique identifiers (UUIDs) required for targeting specific VMs, volumes, or networks. String
Output Modes Supports structured data for agent parsing or human-readable tables. JSON, Table, Text
API Schema Dynamic discovery of available commands via cmk list apis. JSON

CloudMonkey Advanced Features

  • Profile Management: Quickly rotate between different CloudStack regions or account credentials using simple profile switching.
  • API Discovery: Use the list apis feature to expose and utilize new or custom CloudStack API endpoints dynamically.
  • Structured Data Parsing: Force JSON output to allow the agent to perform complex data transformations and filtering on the fly within the Openclaw Skills framework.
  • Batch Operations: Execute filtered list commands to identify and act upon groups of resources based on specific tags or states.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins cmk
Github Stars: 0
forks: 0

Featured*