跳到正文
TakoAPI
返回技能列表

cloudmonkey

由 kiranchavala 提供

DevOps & Cloud
450下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Manage Apache CloudStack infrastructure using the cloudmonkey (cmk) CLI — list/start/stop/destroy VMs, manage.

描述

该技能的功能

Manages Apache CloudStack infrastructure through the cloudmonkey (cmk) CLI. Supports VM lifecycle operations, network management, volume and snapshot handling, and direct CloudStack API access.

Direct CLI access to CloudStack APIs covers the full management surface without requiring the web UI or custom scripts.

何时使用

  • List and filter running VMs by state or name
  • Stop or start VMs in a specific availability zone
  • Create a volume snapshot before a risky deployment
  • Switch between multiple CloudStack environment profiles
  • Discover available API commands for a custom operation

示例工作流

输入

User asks: stop the VM named web-prod-01

智能体
  1. 1

    Run cmk list virtualmachines name=web-prod-01 to find the VM UUID

  2. 2

    Extract the UUID from the output

  3. 3

    Confirm the stop operation with the user

  4. 4

    Run cmk stop virtualmachine id=<uuid> to stop the VM

  5. 5

    Verify with cmk list virtualmachines id=<uuid> that state is Stopped

输出

VM web-prod-01 is stopped

前置要求

  • Apache CloudStack account with API credentials
  • cmk configured with server URL and API key in ~/.cmk/config

安装

clawhub install kiranchavala/cloudmonkey

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接