Install
$ agentstack add skill-aiops-tools-proxmox-aiops-proxmox-aiops ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Proxmox AIops (preview)
> Disclaimer: This is a community-maintained open-source project and is not affiliated with, endorsed by, or sponsored by Proxmox Server Solutions GmbH. "Proxmox" is a trademark of its owner. Source code is publicly auditable at github.com/AIops-tools/Proxmox-AIops under the MIT license.
Governed VM and container lifecycle operations for Proxmox VE — 39 MCP tools, every one wrapped with the bundled @governed_tool harness: a local unified audit log under ~/.proxmox-aiops/, policy engine, token/runaway budget guard, undo-token recording, and graduated-autonomy risk tiers.
> Standalone: the governance harness is bundled in the package (proxmox_aiops.governance) — proxmox-aiops has no external skill-family dependency. Preview: broad coverage of common Proxmox operations, not yet exhaustive.
What This Skill Does
| Category | Tools | Count | Read or Write | |----------|-------|:-----:|:-------------:| | VM Lifecycle | list, get, config, start, stop, shutdown, reboot, reconfigure, clone, delete, migrate | 11 | 3 read / 8 write | | Snapshots | create, delete, list, rollback | 4 | 1 read / 3 write | | Disk | resize (grow-only), move | 2 | 0 read / 2 write | | Backups (vzdump) | create, list, restore | 3 | 1 read / 2 write | | LXC Containers | list, start, stop | 3 | 1 read / 2 write | | Cluster / Tasks | node list, cluster status, task poll, cluster resources, node status, task log, next vmid | 7 | 7 read | | HA | status, resource list | 2 | 2 read | | Pools | list, members | 2 | 2 read | | Firewall | vm rules, cluster status | 2 | 2 read | | Guest Agent | ping | 1 | 1 read | | Storage | list pools, list content | 2 | 2 read |
Quick Install
uv tool install proxmox-aiops
proxmox-aiops doctor
When to Use This Skill
- List/inspect Proxmox QEMU VMs and their config
- Power ops: start, hard-stop, graceful shutdown, reboot
- Reconfigure (cores/memory), clone, delete, or migrate a VM between nodes
- Grow a VM disk (grow-only — shrink is refused) or move it to another storage
- Create, list, and restore vzdump backups
- Create / delete / list / roll back VM snapshots
- Manage LXC containers (list, start, stop)
- Inspect cluster nodes, quorum, the
/cluster/resourcesinventory, node load/mem, and poll async tasks + fetch their logs by UPID; get a free VMID - Check HA status / HA-managed resources (handles "HA not configured" gracefully)
- List resource pools and their members
- Inspect VM firewall rules and the cluster firewall enable state (read-only)
- Ping a VM's QEMU guest agent
- List storage pools and their content (ISOs, disk images, backups)
Do NOT use when the target is not Proxmox VE (other hypervisors, Kubernetes, or cloud providers are out of scope for this skill).
Common Workflows
Snapshot, then reconfigure a VM
proxmox-aiops vm list→ find the vmid and confirm it is the right VM/nodeproxmox-aiops vm snapshot-create --name pre-change→ baseline before any risky change- Make the change (outside this skeleton's scope for now)
- Failure branch: if the change goes wrong, the
vm_snapshot_createMCP call recorded an_undo_id(look it up withproxmox-aiopsaudit tooling), then run the inverse — e.g.proxmox-aiops vm snapshot-rollback --name pre-change, orvm snapshot-deleteto clean up after a manual recovery.
Stop a VM safely
proxmox-aiops vm get→ confirm current status isrunningproxmox-aiops vm stop --dry-run→ preview the exact API callproxmox-aiops vm stop→ double confirmation required;vm_stoprecords an inversevm_startundo descriptor- Failure branch: if
doctorshows the node unreachable or the secret env var is missing, fix~/.proxmox-aiops/.env(chmod 600) before retrying — the stop is never issued against an unauthenticated session.
Usage Mode
| Scenario | Recommended | Why | |----------|:-----------:|-----| | Local/small models | CLI | fewer tokens than MCP | | Cloud models (Claude, GPT) | Either | MCP gives structured JSON I/O | | Automated pipelines | MCP | type-safe parameters, audited |
MCP Tools (39 — 22 read, 17 write)
| Category | Tools | R/W | |----------|-------|:---:| | VM Lifecycle | vm_list, vm_get, vm_config | Read | | | vm_start, vm_stop, vm_shutdown, vm_reboot, vm_reconfigure, vm_clone, vm_delete, vm_migrate | Write | | Snapshots | vm_list_snapshots | Read | | | vm_snapshot_create, vm_snapshot_delete, vm_snapshot_rollback | Write | | Disk | vm_resize_disk (grow-only), vm_move_disk | Write | | Backups | backup_list | Read | | | vm_backup, backup_restore (high) | Write | | LXC Containers | ct_list | Read | | | ct_start, ct_stop | Write | | Cluster / Tasks | node_list, cluster_status, task_status, cluster_resources, node_status, task_log, next_vmid | Read | | HA | ha_status, ha_resource_list | Read | | Pools | pool_list, pool_members | Read | | Firewall | vm_firewall_rules_list, cluster_firewall_status | Read | | Guest Agent | vm_agent_ping | Read | | Storage | storage_list, storage_content | Read |
Harness features that light up: write tools with a clean inverse (vm_start/vm_stop/vm_shutdown/vm_reconfigure/vm_clone/vm_migrate/vm_snapshot_create/vm_move_disk/ct_start/ct_stop) pass an undo= lambda so the harness records an inverse descriptor (with _undo_id) to the undo store — vm_reconfigure captures the prior cores/memory, vm_clone's inverse is vm_delete(newid), vm_migrate's is migrate-back, vm_move_disk's is move-back to the captured source storage. backup_restore records a vm_delete inverse only when it restored into a free VMID (a forced overwrite is destructive and declares none). Irreversible writes (vm_delete, vm_snapshot_rollback, backup_restore with force) declare no undo and are tagged risk_level=high; vm_resize_disk is grow-only and refuses shrink before any API call. All 39 tools are audit-logged under ~/.proxmox-aiops/ and pass through the policy pre-check + budget/runaway guard + graduated risk-tier gate. Proxmox writes are async (return a task UPID) — poll with task_status (and read lines with task_log) instead of re-issuing (the runaway breaker backs this up).
CLI Quick Reference
proxmox-aiops vm list [--target ] [--node ]
proxmox-aiops vm get [--node ]
proxmox-aiops vm start [--node ]
proxmox-aiops vm stop [--dry-run] # double confirm
proxmox-aiops vm resize-disk --disk scsi0 --size +10G # grow-only
proxmox-aiops vm move-disk --disk scsi0 --storage ceph [--delete]
proxmox-aiops vm agent-ping
proxmox-aiops vm snapshot-create --name
proxmox-aiops vm snapshot-delete --name [--dry-run] # double confirm
proxmox-aiops vm snapshot-list
proxmox-aiops backup create --storage [--mode snapshot]
proxmox-aiops backup list [--vmid ]
proxmox-aiops backup restore --archive --storage [--force] [--dry-run] # double confirm
proxmox-aiops cluster resources [--type vm|node|storage]
proxmox-aiops cluster node-status
proxmox-aiops cluster task-log
proxmox-aiops cluster next-vmid
proxmox-aiops ha status
proxmox-aiops pool list
proxmox-aiops firewall vm-rules
proxmox-aiops storage list [--node ]
proxmox-aiops init # onboarding wizard (encrypted creds)
proxmox-aiops secret set # manage encrypted secret store
proxmox-aiops doctor
proxmox-aiops mcp # start MCP server (stdio)
> Credentials are managed by the proxmox-aiops init onboarding wizard and the > proxmox-aiops secret commands, which back an encrypted secret store (no > plaintext passwords in config.yaml).
Troubleshooting
"Config file not found"
Create ~/.proxmox-aiops/config.yaml with a targets: list (see README), and put secrets in ~/.proxmox-aiops/.env (chmod 600).
"Secret not found. Set environment variable: PROXMOX__SECRET"
Each target needs a per-target secret env var. For target pve-lab, set PROXMOX_PVE_LAB_SECRET= in .env.
"Token auth requires user in the form 'user@realm!tokenid'"
For API-token auth (recommended, least privilege), user must include the token id after !, e.g. root@pam!claude. For password auth set auth_kind: password and use user@realm.
"No node specified and no default node configured"
Either pass --node / node=, or set node: on the target in config.yaml. VM operations can auto-locate a vmid across nodes, but storage listing needs an explicit node.
Audit & Safety
All operations are automatically audited via the bundled @governed_tool decorator (proxmox_aiops.governance):
- Every tool call logged to
~/.proxmox-aiops/audit.db(local SQLite audit DB; relocate withPROXMOX_AIOPS_HOME) - Policy rules enforced via
~/.proxmox-aiops/rules.yaml(deny rules, maintenance windows, risk tiers) - Secure by default (v0.3.0+): with no
~/.proxmox-aiops/rules.yaml, high/critical operations are denied unlessPROXMOX_AUDIT_APPROVED_BYnames an approver (setPROXMOX_AUDIT_RATIONALEtoo).proxmox-aiops initseeds a starter rules.yaml; an operator-authored rules file is honoured as-is. - Budget / runaway guard caps cumulative tool calls and wall-time, and trips on tight poll/retry loops
- Undo store records inverse descriptors for reversible writes (start/stop/shutdown/reconfigure/clone/migrate/snapshot-create, container start/stop)
- Graduated-autonomy risk tiers gate write operations (require a recorded approver for the highest tiers)
The harness is bundled in the package — no external dependency, no manual setup.
Contributing & feature requests
This is a preview — coverage is intentionally focused. Missing a device, action, or feature you need? Open an issue or pull request at github.com/AIops-tools/Proxmox-AIops — feature requests, contributions, and comments are all welcome.
License
MIT — github.com/AIops-tools/Proxmox-AIops
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AIops-tools
- Source: AIops-tools/Proxmox-AIops
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.