π’ CloudStack CMK Skill for AI Agents β Automating CloudStack with LLMs #13640
chunkyen
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been experimenting with using AI agents (Hermes / OpenCLAW) to manage CloudStack infrastructure, and I built a reusable OpenClaw skill that gives AI agents full access to CloudStack via cmk (CloudMonkey):
π https://github.com/chunkyen/cloudstack-cmk-skill
There are other approaches out there β like the CloudStack MCP Server (https://github.com/phantosmax/cloudstack-mcp-server) which wraps individual APIs as predefined tools. But I went a different route: instead of hand-picking 45 APIs, this skill gives the agent access to the entire cmk CLI β all 870+ CloudStack APIs through a single interface.
The key advantage: Once you run cmk sync, the entire API surface is cached locally as JSON. The LLM can use jq to explore it and construct valid commands for any API β even newly added or obscure ones β without any code changes or manual tool definitions. No waiting for someone to write a new tool when CloudStack adds a feature.
Other highlights:
This skill was a huge help in my broader project β it powered the testing and documentation of all four CloudStack Kubernetes Flavors (https://github.com/chunkyen/cloudstack-kubernetes-flavors). Being able to deploy VMs, manage networks, and troubleshoot clusters through an AI agent made the whole process significantly faster.
This is a project built out of passion for CloudStack. If you share that passion, give it a try. Issues and contributions welcome!
Beta Was this translation helpful? Give feedback.
All reactions