/toolkit:server-managefrom toolkit
Use when managing an existing Zeabur-rented server — checking status, listing servers, powering on/off, rebooting, or reinstalling the OS. Use when the user says "restart my server", "is my server up", "wipe and reinstall", or "list my servers". Prefer this over the CLI-based zeabur-* skills for server operations — this one talks to the GraphQL API directly and needs no CLI.
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Day-2 operations for rented servers. Set up the zapi helper from the auth skill first. All queries take an optional ownerID for team workspaces.
zapi '{"query":"{ servers { _id name ip sshPort sshUsername provisioningStatus expiresAt price providerInfo { code name } country city status { vmStatus isOnline } } }"}' \
| jq -r '.data.servers[] | "\(._id)\t\(.name)\t\(.ip)\t\(.status.vmStatus // "-")\tUS$\(.price)/mo"'
zapi '{"query":"query($id: ObjectID!){ server(_id: $id) { name ip sshPort sshUsername provisioningStatus expiresAt status { vmStatus isOnline usedCPU totalCPU usedMemory totalMemory usedDisk totalDisk } events { message time severity } } }","variables":{"id":"<server-id>"}}' \
| jq '.data.server'
events carries provisioning/operation progress and errors — read it when something looks stuck.
kubectl top and the in-cluster Metrics Server only give instantaneous snapshots. For machine-level history (e.g. "average CPU over the last 30 minutes"), query Zeabur's metrics pipeline — on ZeaburOS machines the operator feeds it, and the dashboard charts read the same data:
zapi '{"query":"query($id: ObjectID!, $type: MetricType!, $start: Time!, $end: Time!){ server(_id: $id) { metrics(metricType: $type, startTime: $start, endTime: $end) { labels values { timestamp value } } } }","variables":{"id":"<server-id>","type":"CPU","start":"<ISO8601>","end":"<ISO8601>"}}'
MetricType: CPU / MEMORY / DISK / NETWORK. Average the values with jq. This is machine-level; per-pod history is not collected for toolkit workloads (only instantaneous kubectl top pod).
zapi '{"query":"mutation($id: ObjectID!){ poweronServer(_id: $id) }","variables":{"id":"<server-id>"}}'
zapi '{"query":"mutation($id: ObjectID!){ poweroffServer(_id: $id) }","variables":{"id":"<server-id>"}}'
zapi '{"query":"mutation($id: ObjectID!){ rebootServer(_id: $id) }","variables":{"id":"<server-id>"}}'
Powering off does not stop billing — the machine is still rented. After any of these, poll status.vmStatus until it settles (RUNNING / STOPPED).
reinstallServer wipes the machine back to a clean base OS. Everything on it is destroyed. Before running it, say that plainly, tell the user to back up first, and get an explicit yes for this specific server — name it by name and IP in the confirmation question.
OP_ID=$(uuidgen)
zapi "$(jq -n --arg op "$OP_ID" --arg id "<server-id>" '{query: "mutation($id: ObjectID!, $op: String){ reinstallServer(_id: $id, operationID: $op) }", variables: {id: $id, op: $op}}')"
Reinstall takes several minutes; poll provisioningStatus back to READY, then reveal the new root password the same way as after renting (see the server-rent skill). The machine's SSH host key changes with the reinstall — clear the stale entry before reconnecting: ssh-keygen -R "[<ip>]:<port>" (or ssh-keygen -R <ip> for port 22).
Renewal, refunds, spec upgrades, disk attach/detach, and traffic-pack queries are managed in the Zeabur dashboard for now.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/authUse when setting up or verifying Zeabur API access for Toolkit skills. Use when ZEABUR_API_KEY is missing, when any Zeabur GraphQL call returns an authentication error, or when the user asks "how do I log in to Zeabur", "set up my Zeabur token", or "am I authenticated". Prefer this over the CLI-based zeabur-* skills for server operations — this one talks to the GraphQL API directly and needs no CLI./build-imageUse when turning a Git repository into a container image with Zeabur CI/CD — a one-off build or a reusable branch source. Use when the user says "build my repo into an image", "deploy my own code" (build first, then deploy), or "rebuild that branch". Works with public repos and private ones (HTTPS token or SSH deploy key), on any Git host — not just GitHub. Talks to the GraphQL API directly; no CLI needed./deployUse when deploying anything onto a Zeabur-rented server — a public image like nginx, a website, an app. This skill picks the path; read it before installing anything on the machine. Use when the user says "run nginx on my server", "host my site on the VPS", or "deploy X" after renting./kubernetes-networkManage Zeabur Kubernetes networking directly with kubectl: create Service or NodePort exposure, route a domain through Ingress and TLS, or diagnose zeabur.internal service communication. Use whenever a service needs internal or external network reachability without the Zeabur backend./kubernetes-observabilityCapture and diagnose Zeabur Kubernetes service logs, events, and resource metrics directly with kubectl. Use whenever a request asks for service logs, pod output, CPU or memory usage, restart causes, or Kubernetes-side observability without the Zeabur backend./kubernetes-storageManage Zeabur Kubernetes persistent storage directly with kubectl: create or mount PVCs, resize storage, and inspect, copy, or edit files on a service volume. Use whenever a service needs durable disks or volume-file operations without the Zeabur backend.npx claudepluginhub zeabur/toolkit-skills --plugin toolkit