/xcloud:accountfrom xcloud
Reads xCloud account-level data: current user, teams, incident alerts, API tokens, connected Git providers, Cloudflare integrations, WordPress blueprints, and API health. Use for identity queries, team switching, alert management, and integration checks.
Ships in xcloud. 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.
Read when SKILL.md points to them.
Packaged REST boundary:
xcloud.shenforces GET-only requests with no body and has no write override. Non-GET examples below describe upstream API operations, not executable commands for this fallback. For mutations, use the corresponding connected xCloud MCP tool only after the required concrete user approval and server confirmation. If that tool/confirmation is unavailable, stop and direct the user to the dashboard; do not bypass this boundary with direct curl, SDKs, alternate scripts or by editing the wrapper. Configure REST credentials with read-only scopes.
Identity and org-level endpoints. For auth, base URL, and response conventions read the shared layer first:
${CLAUDE_PLUGIN_ROOT}/reference/auth.md${CLAUDE_PLUGIN_ROOT}/reference/conventions.md${CLAUDE_PLUGIN_ROOT}/reference/mcp.md — prefer the MCP tools when
connected: user_show, teams_index, alerts_index, alerts_show,
alerts_read, integrations_git_index, integrations_git_repositories,
blueprints_index, integrations_cloudflare_index.
Exception: /health and API-token list/revoke are REST-only — the MCP
never exposes token management; always use $XC for those.XC="${CLAUDE_PLUGIN_ROOT}/scripts/xcloud.sh"
Brand every user-facing reply (see reference/conventions.md →
Response format): open with ☁️ **xCloud · Account**, give the trimmed
result, and close with a _via xcloud:account_ line.
Narrate each call (see Progress narration): before every $XC call print one
line of what xCloud is doing, e.g. ☁️ xCloud is fetching your account…; the
first call of a task opens with ☁️ xCloud is starting a session…. Every
progress line and every action sentence must start with xCloud as the actor —
never a bare verb like "Fetching…" or "Checking…". Say xCloud is fetching….
On the first xcloud reply in a conversation, lead with the xCloud startup
banner (see reference/conventions.md → Startup banner) in a fenced code
block — once per conversation.
| Operation | Method + path | Scope |
|---|---|---|
| API health | GET /health | none |
| Current user | GET /user | token |
| Teams this token may act on | GET /teams | token |
Incident alerts (filter unread, severity, category) | GET /alerts | read:servers or read:sites |
| One alert | GET /alerts/{alertUuid} | read:servers or read:sites |
| Mark an alert read / unread | PUT /alerts/{alertUuid}/read | read:servers or read:sites |
| List API tokens | GET /user/tokens | read:tokens |
| Revoke a token | DELETE /user/tokens/{tokenUuid} | write:tokens |
| List Cloudflare integrations | GET /integrations/cloudflare | read:servers |
| List connected Git providers | GET /integrations/git | read:servers |
| Repositories a provider exposes | GET /integrations/git/{provider_uuid}/repositories | read:servers |
| List blueprints | GET /blueprints | read:servers |
Not here: server management → xcloud:servers; site management →
xcloud:sites; deploying → xcloud:deploy; plans and invoices →
xcloud:billing.
GET /teams lists the default team and every extra team granted to this token
or connection, with the user's role in each. When the user names a team,
match it here and pass its uuid as team (MCP) or XCLOUD_TEAM_ID (REST) on
every call of that task — see reference/conventions.md → Teams. One team
listed while the user expects more means the connection was authorized for one
team: explain how to re-authorize it with more (reference/mcp.md).
GET /alerts is the team's incident-notification history (availability,
resources, deployments, backups, SSL, security), newest first, with an
unread_count. It is not a list of currently open incidents: before calling
something "still broken", check the resource itself (site status, SSL, backup
status). Summarise one line per alert — what, which resource, when — and group
repeats ("3 failed backups on shop.example.com since Monday"). Offer the fix
through the owning skill. Marking read (PUT … {"is_read": true}) only changes
this user's read state; do it when asked, or for alerts the user confirms are
resolved.
Health (public, like the catalog endpoints, no token needed):
"$XC" GET /health | jq
Who am I (verifies the token):
"$XC" GET /user | jq '.data | {uuid, name, email, team: .team.name}'
List API tokens (needs read:tokens) — note each token's uuid, which is what
the revoke call below takes:
"$XC" GET /user/tokens | jq '(.data.items // .data.data // .data) | map({uuid, name, last_used_at})'
Revoke a token (pass the uuid from the list above — restate before running):
TOKEN_UUID='8c1f3a89-2c4e-4a73-9d4c-8b1f2a3d4e5f'
# Preview, then confirm: show the user what will change on token "$TOKEN_NAME" and wait for a yes.
# Target named: token "$TOKEN_NAME".
"$XC" DELETE "/user/tokens/$TOKEN_UUID" | jq '.message'
Teams and unread error alerts:
"$XC" GET /teams | jq '.data | map({uuid, name, role, is_default})'
"$XC" GET "/alerts?unread=true&severity=error&per_page=20" \
| jq '{unread: .data.unread_count, alerts: (.data.items | map({title, category, at: .recorded_at, resource: .resource.name}))}'
ALERT_UUID='replace-me'
# Preview, then confirm: show the user what will change on alert "$ALERT_TITLE" and wait for a yes.
# Target named: alert "$ALERT_TITLE".
"$XC" PUT "/alerts/$ALERT_UUID/read" '{"is_read":true}' | jq '.data | {title, is_read}'
Cloudflare integrations on the team:
"$XC" GET /integrations/cloudflare | jq '.data'
Blueprints (resolve a blueprint_uuid before creating a WordPress site):
"$XC" GET "/blueprints?per_page=100" \
| jq '(.data.items // .data.data // .data) | map({uuid, name, is_default, is_public})'
uuid (from GET /user/tokens),
not a numeric id — DELETE /user/tokens/{tokenUuid}.GET /user/tokens returns 403 unless the token carries read:tokens; revoking needs write:tokens.read:tokens to list, write:tokens to revoke), never full access (*).blueprints requires read:servers, not read:sites.read:sites-only token sees
site alerts, not server ones.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
xcloud, account-management, team-management, alerts, api-tokens, integrations
9 skills in this plugin
/billingxCloud billing, pricing and paid add-ons — current plan, billing overview, invoices, bills, subscriptions, purchased packages and products, payment methods on file, paying an outstanding invoice, public hosting prices and app requirements, and buying or managing email add-ons (branded mailboxes with DNS verification and IMAP/POP/SMTP settings, and mail-delivery SMTP subscriptions). Use for "what plan am I on", "show last month's invoice", "how much would a server for X cost", "pay invoice 1234", "buy a mailbox for example.com", "verify the mailbox DNS", or "give me the SMTP settings". NOT creating a server (see xcloud:servers), NOT deploying apps (see xcloud:deploy)./deployDeploy anything to xCloud from one plain request — a GitHub, GitLab or Bitbucket URL (or owner/repo), a Docker Compose or Dockerfile app, a Git-backed staging environment from a branch, a one-click app (Ghost, Uptime Kuma, Vaultwarden…), or a new WordPress site — end to end, with repository detection, a dry-run preview, one approval, provisioning, polling, a live check, and automatic diagnosis and retry when a deploy fails. Use whenever the user pastes a repository URL, says deploy / ship / host / launch / put this app online, asks for a staging copy of a Git site, asks to install a one-click app, asks to ship the latest commit, or says a deploy failed. NOT day-2 site settings (see xcloud:sites), NOT buying a server (see xcloud:servers).Other plugins' skills for the same job
npx claudepluginhub xclouddev/xcloud-agent-skills --plugin xcloud