{
  "schemaVersion": "1.0",
  "item": {
    "slug": "proxmox-ops",
    "name": "Proxmox Ops",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/eddygk/proxmox-ops",
    "canonicalUrl": "https://clawhub.ai/eddygk/proxmox-ops",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/proxmox-ops",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=proxmox-ops",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/provisioning.md",
      "scripts/pve.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/proxmox-ops"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/proxmox-ops",
    "agentPageUrl": "https://openagent3.xyz/skills/proxmox-ops/agent",
    "manifestUrl": "https://openagent3.xyz/skills/proxmox-ops/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/proxmox-ops/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "First-Time Setup",
        "body": "Create a credential file at ~/.proxmox-credentials:\n\ncat > ~/.proxmox-credentials <<'EOF'\nPROXMOX_HOST=https://<your-proxmox-ip>:8006\nPROXMOX_TOKEN_ID=user@pam!tokenname\nPROXMOX_TOKEN_SECRET=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nEOF\nchmod 600 ~/.proxmox-credentials\n\nAlternative: Set PROXMOX_HOST, PROXMOX_TOKEN_ID, and PROXMOX_TOKEN_SECRET as environment variables directly (useful for CI/agent contexts). The helper script checks env vars first, then falls back to sourcing ~/.proxmox-credentials.\n\nCreate API token in Proxmox: Datacenter → Permissions → API Tokens → Add. Use least-privilege: only grant the permissions your workflow requires (e.g., PVEAuditor for read-only monitoring, PVEVMAdmin for VM control). Disable Privilege Separation only if your workflow requires full API access."
      },
      {
        "title": "Auth Header",
        "body": "source ~/.proxmox-credentials\nAUTH=\"Authorization: PVEAPIToken=$PROXMOX_TOKEN_ID=$PROXMOX_TOKEN_SECRET\""
      },
      {
        "title": "Helper Script",
        "body": "scripts/pve.sh auto-discovers nodes from VMID — no need to specify the node for most operations.\n\npve.sh status              # Cluster nodes overview\npve.sh vms [node]          # List all VMs (optionally filter by node)\npve.sh lxc <node>          # List LXC containers on node\npve.sh start <vmid>        # Start VM/LXC\npve.sh stop <vmid>         # Force stop VM/LXC\npve.sh shutdown <vmid>     # Graceful shutdown VM/LXC\npve.sh reboot <vmid>       # Reboot VM/LXC\npve.sh snap <vmid> [name]  # Create snapshot (disk-only, safe)\npve.sh snapshots <vmid>    # List snapshots\npve.sh tasks <node>        # Show recent tasks\npve.sh storage <node>      # Show storage status"
      },
      {
        "title": "Workflow",
        "body": "Load credentials from ~/.proxmox-credentials\nDetermine operation type:\n\nRead-only (status, list, storage, tasks) → Execute directly\nReversible (start, stop, reboot, snapshot) → Execute, note UPID for tracking\nDestructive (delete VM, resize disk, rollback snapshot) → Confirm with user first\n\n\nQuery Proxmox API via curl + API token auth\nParse JSON with jq\nTrack async tasks — create/clone/backup operations return UPID"
      },
      {
        "title": "Cluster & Nodes",
        "body": "# Cluster status\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/cluster/status\" | jq\n\n# List nodes with CPU/memory\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes\" | jq '.data[] | {node, status, cpu, mem: (.mem/.maxmem*100|round)}'"
      },
      {
        "title": "List VMs & Containers",
        "body": "# Cluster-wide (all VMs + LXC)\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/cluster/resources?type=vm\" | jq '.data[] | {node, vmid, name, type, status}'\n\n# VMs on specific node\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu\" | jq '.data[] | {vmid, name, status}'\n\n# LXC on specific node\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/lxc\" | jq '.data[] | {vmid, name, status}'"
      },
      {
        "title": "VM/Container Control",
        "body": "# Start / Stop / Shutdown / Reboot\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/start\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/stop\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/shutdown\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/reboot\"\n\n# For LXC: replace /qemu/ with /lxc/"
      },
      {
        "title": "Snapshots",
        "body": "⚠️ vmstate parameter: Do NOT include vmstate=1 unless you specifically need to preserve running process state.\n\nvmstate=1 freezes the VM and causes heavy I/O — can starve other guests on the same node\nFor pre-change backups, omit vmstate (defaults to disk-only, no I/O spike)\n\n# List snapshots\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot\" | jq\n\n# Create snapshot (disk-only, safe)\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot\" \\\n  -d \"snapname=snap1\" -d \"description=Before update\"\n\n# Rollback\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback\"\n\n# Delete snapshot\ncurl -ks -X DELETE -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot/{snapname}\""
      },
      {
        "title": "Disk Resize",
        "body": "# Get current disk config\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/config\" | jq\n\n# Resize disk (use absolute size, NOT relative — +10G fails regex validation)\ncurl -ks -X PUT -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/resize\" \\\n  -d \"disk=scsi0\" -d \"size=20G\" | jq\n\nPost-resize inside VM:\n\nFix GPT: parted /dev/sda print → Fix\nResize partition: parted /dev/sda resizepart 3 100%\nIf LVM: pvresize /dev/sda3 && lvextend -l +100%FREE /dev/vg/root\nResize filesystem: resize2fs /dev/mapper/vg-root (ext4) or xfs_growfs / (xfs)"
      },
      {
        "title": "Guest Agent (IP Discovery)",
        "body": "# Get VM network interfaces (requires qemu-guest-agent)\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces\" | \\\n  jq -r '.data.result[] | select(.name != \"lo\") | .[\"ip-addresses\"][] | select(.[\"ip-address-type\"] == \"ipv4\") | .[\"ip-address\"]' | head -1\n\nAlways query guest agent for current IP — don't hardcode IPs."
      },
      {
        "title": "Storage & Backups",
        "body": "# List storage\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/storage\" | jq '.data[] | {storage, type, active, used_fraction: (.used/.total*100|round|tostring + \"%\")}'\n\n# List backups\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/storage/{storage}/content?content=backup\" | jq\n\n# Start backup\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/vzdump\" \\\n  -d \"vmid={vmid}\" -d \"storage={storage}\" -d \"mode=snapshot\""
      },
      {
        "title": "Tasks",
        "body": "# Recent tasks\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/tasks\" | jq '.data[:10] | .[] | {upid, type, status, user}'\n\n# Task log\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/tasks/{upid}/log\" | jq -r '.data[].t'"
      },
      {
        "title": "Provisioning",
        "body": "For create VM, create LXC, clone, convert to template, and delete operations:\n\n→ See references/provisioning.md"
      },
      {
        "title": "Security Notes",
        "body": "Credential file (~/.proxmox-credentials) is user-created, not auto-generated by this skill. Must be mode 600 (chmod 600 ~/.proxmox-credentials). Rotate tokens immediately if exposed\nTLS verification disabled (-k / --insecure) — Proxmox VE uses self-signed certificates by default (Proxmox docs). If you deploy a trusted CA cert on your Proxmox node, remove the -k flag from curl commands and pve.sh\nLeast-privilege tokens — create tokens with only the roles your workflow needs. PVEAuditor for monitoring, PVEVMAdmin for VM ops. Full-access tokens are not required for most operations\nNetwork scope — all API calls target PROXMOX_HOST only. No external endpoints. Verify by reviewing scripts/pve.sh (small, readable). In agent contexts, restrict network access to your Proxmox hosts only\nAPI tokens don't need CSRF tokens for POST/PUT/DELETE\nPower and delete operations are destructive — confirm with user first\nNever expose credentials in responses"
      },
      {
        "title": "Notes",
        "body": "Replace {node}, {vmid}, {storage}, {snapname} with actual values\nTask operations return UPID for tracking async jobs\nUse qemu for VMs, lxc for containers in endpoint paths"
      }
    ],
    "body": "Proxmox VE Management\nFirst-Time Setup\n\nCreate a credential file at ~/.proxmox-credentials:\n\ncat > ~/.proxmox-credentials <<'EOF'\nPROXMOX_HOST=https://<your-proxmox-ip>:8006\nPROXMOX_TOKEN_ID=user@pam!tokenname\nPROXMOX_TOKEN_SECRET=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nEOF\nchmod 600 ~/.proxmox-credentials\n\n\nAlternative: Set PROXMOX_HOST, PROXMOX_TOKEN_ID, and PROXMOX_TOKEN_SECRET as environment variables directly (useful for CI/agent contexts). The helper script checks env vars first, then falls back to sourcing ~/.proxmox-credentials.\n\nCreate API token in Proxmox: Datacenter → Permissions → API Tokens → Add. Use least-privilege: only grant the permissions your workflow requires (e.g., PVEAuditor for read-only monitoring, PVEVMAdmin for VM control). Disable Privilege Separation only if your workflow requires full API access.\n\nAuth Header\nsource ~/.proxmox-credentials\nAUTH=\"Authorization: PVEAPIToken=$PROXMOX_TOKEN_ID=$PROXMOX_TOKEN_SECRET\"\n\nHelper Script\n\nscripts/pve.sh auto-discovers nodes from VMID — no need to specify the node for most operations.\n\npve.sh status              # Cluster nodes overview\npve.sh vms [node]          # List all VMs (optionally filter by node)\npve.sh lxc <node>          # List LXC containers on node\npve.sh start <vmid>        # Start VM/LXC\npve.sh stop <vmid>         # Force stop VM/LXC\npve.sh shutdown <vmid>     # Graceful shutdown VM/LXC\npve.sh reboot <vmid>       # Reboot VM/LXC\npve.sh snap <vmid> [name]  # Create snapshot (disk-only, safe)\npve.sh snapshots <vmid>    # List snapshots\npve.sh tasks <node>        # Show recent tasks\npve.sh storage <node>      # Show storage status\n\nWorkflow\nLoad credentials from ~/.proxmox-credentials\nDetermine operation type:\nRead-only (status, list, storage, tasks) → Execute directly\nReversible (start, stop, reboot, snapshot) → Execute, note UPID for tracking\nDestructive (delete VM, resize disk, rollback snapshot) → Confirm with user first\nQuery Proxmox API via curl + API token auth\nParse JSON with jq\nTrack async tasks — create/clone/backup operations return UPID\nCommon Operations\nCluster & Nodes\n# Cluster status\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/cluster/status\" | jq\n\n# List nodes with CPU/memory\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes\" | jq '.data[] | {node, status, cpu, mem: (.mem/.maxmem*100|round)}'\n\nList VMs & Containers\n# Cluster-wide (all VMs + LXC)\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/cluster/resources?type=vm\" | jq '.data[] | {node, vmid, name, type, status}'\n\n# VMs on specific node\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu\" | jq '.data[] | {vmid, name, status}'\n\n# LXC on specific node\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/lxc\" | jq '.data[] | {vmid, name, status}'\n\nVM/Container Control\n# Start / Stop / Shutdown / Reboot\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/start\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/stop\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/shutdown\"\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/status/reboot\"\n\n# For LXC: replace /qemu/ with /lxc/\n\nSnapshots\n\n⚠️ vmstate parameter: Do NOT include vmstate=1 unless you specifically need to preserve running process state.\n\nvmstate=1 freezes the VM and causes heavy I/O — can starve other guests on the same node\nFor pre-change backups, omit vmstate (defaults to disk-only, no I/O spike)\n# List snapshots\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot\" | jq\n\n# Create snapshot (disk-only, safe)\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot\" \\\n  -d \"snapname=snap1\" -d \"description=Before update\"\n\n# Rollback\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback\"\n\n# Delete snapshot\ncurl -ks -X DELETE -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/snapshot/{snapname}\"\n\nDisk Resize\n# Get current disk config\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/config\" | jq\n\n# Resize disk (use absolute size, NOT relative — +10G fails regex validation)\ncurl -ks -X PUT -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/resize\" \\\n  -d \"disk=scsi0\" -d \"size=20G\" | jq\n\n\nPost-resize inside VM:\n\nFix GPT: parted /dev/sda print → Fix\nResize partition: parted /dev/sda resizepart 3 100%\nIf LVM: pvresize /dev/sda3 && lvextend -l +100%FREE /dev/vg/root\nResize filesystem: resize2fs /dev/mapper/vg-root (ext4) or xfs_growfs / (xfs)\nGuest Agent (IP Discovery)\n# Get VM network interfaces (requires qemu-guest-agent)\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/qemu/{vmid}/agent/network-get-interfaces\" | \\\n  jq -r '.data.result[] | select(.name != \"lo\") | .[\"ip-addresses\"][] | select(.[\"ip-address-type\"] == \"ipv4\") | .[\"ip-address\"]' | head -1\n\n\nAlways query guest agent for current IP — don't hardcode IPs.\n\nStorage & Backups\n# List storage\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/storage\" | jq '.data[] | {storage, type, active, used_fraction: (.used/.total*100|round|tostring + \"%\")}'\n\n# List backups\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/storage/{storage}/content?content=backup\" | jq\n\n# Start backup\ncurl -ks -X POST -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/vzdump\" \\\n  -d \"vmid={vmid}\" -d \"storage={storage}\" -d \"mode=snapshot\"\n\nTasks\n# Recent tasks\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/tasks\" | jq '.data[:10] | .[] | {upid, type, status, user}'\n\n# Task log\ncurl -ks -H \"$AUTH\" \"$PROXMOX_HOST/api2/json/nodes/{node}/tasks/{upid}/log\" | jq -r '.data[].t'\n\nProvisioning\n\nFor create VM, create LXC, clone, convert to template, and delete operations:\n\n→ See references/provisioning.md\n\nSecurity Notes\nCredential file (~/.proxmox-credentials) is user-created, not auto-generated by this skill. Must be mode 600 (chmod 600 ~/.proxmox-credentials). Rotate tokens immediately if exposed\nTLS verification disabled (-k / --insecure) — Proxmox VE uses self-signed certificates by default (Proxmox docs). If you deploy a trusted CA cert on your Proxmox node, remove the -k flag from curl commands and pve.sh\nLeast-privilege tokens — create tokens with only the roles your workflow needs. PVEAuditor for monitoring, PVEVMAdmin for VM ops. Full-access tokens are not required for most operations\nNetwork scope — all API calls target PROXMOX_HOST only. No external endpoints. Verify by reviewing scripts/pve.sh (small, readable). In agent contexts, restrict network access to your Proxmox hosts only\nAPI tokens don't need CSRF tokens for POST/PUT/DELETE\nPower and delete operations are destructive — confirm with user first\nNever expose credentials in responses\nNotes\nReplace {node}, {vmid}, {storage}, {snapname} with actual values\nTask operations return UPID for tracking async jobs\nUse qemu for VMs, lxc for containers in endpoint paths"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/eddygk/proxmox-ops",
    "publisherUrl": "https://clawhub.ai/eddygk/proxmox-ops",
    "owner": "eddygk",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/proxmox-ops",
    "downloadUrl": "https://openagent3.xyz/downloads/proxmox-ops",
    "agentUrl": "https://openagent3.xyz/skills/proxmox-ops/agent",
    "manifestUrl": "https://openagent3.xyz/skills/proxmox-ops/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/proxmox-ops/agent.md"
  }
}