oneclickvirt
CLI for managing virtual machines and container instances.
Install
mkdir -p .claude/skills/oneclickvirt && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18054" && unzip -o skill.zip -d .claude/skills/oneclickvirt && rm skill.zipInstalls to .claude/skills/oneclickvirt
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
OneClickVirt operations skill for managing containers, virtual machines, provider nodes, health checks, and metrics through MCP.Key capabilities
- →List, create, start, stop, restart, inspect, and delete instances
- →List virtualization provider nodes
- →Run health checks on provider nodes
- →Get system status and resource usage
- →Retrieve monitoring metrics
- →Access system configuration
How it works
This skill operates a OneClickVirt deployment through its built-in MCP server, allowing management of instances, providers, and system health.
Inputs & outputs
When to use oneclickvirt
- →Manage virtual machine instances
- →Run health checks
- →Control container lifecycle
- →Inspect infrastructure status
About this skill
OneClickVirt Skill
Overview
This skill helps an AI assistant operate a OneClickVirt deployment through the built-in MCP server. It is useful for routine instance management, provider inspection, platform health checks, and guided troubleshooting.
What this skill can do:
- List, create, start, stop, restart, inspect, and delete instances.
- List providers and run provider health checks.
- Read system status, health, configuration, and monitoring resources.
- Use prompt templates for common container, VM, status, and troubleshooting workflows.
Prerequisites
- Python 3.9+ for the installer. Prebuilt MCP binaries support Linux/Windows amd64 and ARM64; other platforms can use an existing binary or SSH transport.
- A running OneClickVirt API endpoint.
- An administrator API token from the Web UI under Profile -> API Tokens.
- HTTPS for remote OneClickVirt deployments.
Installation
Install or update the latest stable release from GitHub:
curl -fL --retry 3 https://raw.githubusercontent.com/oneclickvirt/oneclickvirt/main/scripts/install_skill.py -o install_skill.py
python3 install_skill.py --client claude
The same installer is available from the CNB public source mirror:
curl -fL --retry 3 https://cnb.cool/oneclickvirt/oneclickvirt/-/git/raw/main/scripts/install_skill.py -o install_skill.py
python3 install_skill.py --client claude
Choose --client codex or --client openclaw for those clients. The default directories are ~/.claude/skills/oneclickvirt, ~/.agents/skills/oneclickvirt, and ~/.openclaw/skills/oneclickvirt; --skill-dir overrides the destination. On Windows, download the same script and run it with Python 3.9+ (py -3 install_skill.py --client claude).
Both entry points resolve one published GitHub Release, verify its Skill and binary checksums, and install them together. CNB mirrors source; these release archives are downloaded from GitHub. The installer creates SKILL.md directly in the Skill directory and a separate oneclickvirt-mcp binary in ~/.local/bin. It does not start the controller or alter services, databases, client settings, or existing API tokens.
Repeat the download and installation commands to update. Pass --version with an exact published tag to pin a release or return to it; the Skill and binary use that same tag. install.json records the installed version. Reuse an existing controller binary with --mcp-command /opt/oneclickvirt/server/oneclickvirt-server, or use --skip-binary to install only the Skill files. A Skill alone does not configure or start MCP.
The installer generates mcp.codex.toml for ~/.codex/config.toml, mcp.claude.json for the project .mcp.json, and mcp.openclaw.json for ~/.openclaw/openclaw.json. Merge the matching file while keeping existing entries, retain the absolute binary path, and set your API URL/token. mcp.example.json remains a Claude-format compatibility example. The Claude Code structure is:
{
"mcpServers": {
"oneclickvirt": {
"command": "oneclickvirt-mcp",
"args": ["mcp"],
"env": {
"ONE_CLICK_VIRT_API_URL": "https://your-domain.com",
"ONE_CLICK_VIRT_API_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
The command must be visible to the MCP client; GUI clients may not inherit your shell's PATH. A controller installed by the project uses /opt/oneclickvirt/server/oneclickvirt-server, not /opt/oneclickvirt/server/oneclickvirt. macOS has no prebuilt controller asset: use --skip-binary and configure an existing native build or an SSH MCP transport to Linux. Restart the MCP client after configuration. See the installation guide for release archives and SSH examples.
Usage
Available MCP tools:
list_instances— List all virtual machine and container instances in OneClickVirtcreate_instance— Create a new virtual machine or container instancestart_instance— Start a stopped instancestop_instance— Stop a running instancerestart_instance— Restart an instancedelete_instance— Delete an instance (DANGER: irreversible)get_instance_detail— Get detailed information about a specific instancelist_providers— List all virtualization provider nodeshealth_check— Run a health check on a provider nodeget_instance_logs— Get recent logs from an instanceget_system_status— Get overall system status including instance counts and resource usageget_metrics— Get monitoring metrics for the system, a provider, or an instance
Available resources:
oneclickvirt://instances/list— Current list of all instancesoneclickvirt://providers/list— Current list of all provider nodesoneclickvirt://system/status— Overall system health and metricsoneclickvirt://health/status— Public OneClickVirt API health statusoneclickvirt://config/system— Administrator-visible system configuration
Available prompt templates:
create_debian_container— Template for creating a Debian Linux containercreate_ubuntu_vm— Template for creating an Ubuntu virtual machinetroubleshoot_instance— Template for troubleshooting an instance that won't startquick_status_check— Template for checking instance, provider, and platform health
Examples
- "List running instances and summarize anything frozen or stopped."
- "Create a Debian 12 container on provider 1 with 2 CPU, 1 GB memory, and 20 GB disk."
- "Run a quick status check for the platform."
- "Check provider 3 health and summarize capacity concerns."
- "Troubleshoot instance 42 and suggest the safest next action."
Troubleshooting
command not found: oneclickvirt-mcp: use the absolute command path from the installedmcp.example.jsonin the client config.401 Unauthorized: verifyONE_CLICK_VIRT_API_TOKENis an active administrator token.Connection refused: verifyONE_CLICK_VIRT_API_URLand that/api/v1/healthis reachable.- Tools do not appear: restart the MCP client and inspect its MCP server logs.
Security
- Prefer environment variables over command-line token arguments.
- Use a dedicated token with the minimum required permissions.
- Review destructive requests such as
delete_instancebefore confirming. - Use HTTPS for remote API endpoints.
When not to use it
- →When a `oneclickvirt` binary is not in `PATH` or configured
- →When a running OneClickVirt API endpoint is not available
- →When an administrator API token is not configured
Prerequisites
Limitations
- →Requires a working `oneclickvirt` binary.
- →Requires a running OneClickVirt API endpoint.
- →Requires an administrator API token.
How it compares
This skill provides a structured MCP interface for OneClickVirt operations, unlike direct command-line execution for each task.
Compared to similar skills
oneclickvirt side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| oneclickvirt (this skill) | 0 | 4mo | Review | Intermediate |
| deployment-engineer | 4 | 6mo | No flags | Advanced |
| devops | 2 | 9mo | Review | Intermediate |
| container-security-testing | 1 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
deployment-engineer
sickn33
Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.
devops
mrgoonie
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
container-security-testing
Ed1s0nZ
容器安全测试的专业技能和方法论
k8s-kind
rohitg00
Manage kind (Kubernetes IN Docker) local clusters. Use when creating, testing, or developing with local Kubernetes clusters in Docker containers.
devops-engineer
Jeffallan
Use when setting up CI/CD pipelines, containerizing applications, or managing infrastructure as code. Invoke for pipelines, Docker, Kubernetes, cloud platforms, GitOps.
eks
itsmostafa
AWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA, managing node groups, deploying applications, or integrating with AWS services.