/xcloud:wordpressfrom xcloud
Manages WordPress sites on xCloud: lists/updates/activates plugins and themes, checks health, toggles WP_DEBUG, generates magic-login URLs, runs vulnerability scans, PageSpeed Insights, and broken-link scans.
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.
Owns WordPress app management plus site vulnerability scanning, PageSpeed, and broken-link scans. Read the shared layer first for auth, base URL, and conventions:
${CLAUDE_PLUGIN_ROOT}/reference/auth.md${CLAUDE_PLUGIN_ROOT}/reference/conventions.md${CLAUDE_PLUGIN_ROOT}/reference/mcp.md — prefer the MCP tools when
connected: sites_wordpress_* (plugins/themes/updates/status/update/
activate/refresh), sites_vulnerabilities_*, vulnerabilities_index
(team-wide), sites_pagespeed_*, sites_broken-links_*, sites_wp-debug,
sites_magic-login;
the $XC calls below are the REST fallback.XC="${CLAUDE_PLUGIN_ROOT}/scripts/xcloud.sh"
Scopes: reads need read:sites, writes need write:sites.
Brand every user-facing reply (see reference/conventions.md →
Response format): open with ☁️ **xCloud · WordPress** — <site domain>, give
the trimmed result, and close with a _via xcloud:wordpress_ line.
Narrate each call (see Progress narration): before every $XC call print one
line of what xCloud is doing, e.g. ☁️ xCloud is scanning \` for
vulnerabilities…; the first call of a task opens with ☁️ xCloud is starting a session…. **Every progress line and every action sentence must start with xCloudas the actor — never a bare verb like "Scanning…" or "Updating…". SayxCloud is scanning…`.**
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.
| Sub-resource | Reference file |
|---|---|
| Plugins, themes, updates, activate, refresh | reference/plugins-themes.md |
| Vulnerabilities (scan, list, ignore) | reference/vulnerabilities.md |
| PageSpeed Insights | reference/pagespeed.md |
| Broken links (scan, poll, findings) | reference/broken-links.md |
| Operation | Method + path |
|---|---|
| WP health status | GET /sites/{uuid}/wordpress/status |
| Updates summary | GET /sites/{uuid}/wordpress/updates |
| Toggle WP_DEBUG | POST /sites/{uuid}/wp-debug |
| Magic login URL | POST /sites/{uuid}/magic-login |
Not here: SSL → xcloud:ssl; backups/domains/cache/SSH → xcloud:sites;
server infra → xcloud:servers.
WordPress health + pending updates:
SITE_UUID='replace-me'
"$XC" GET "/sites/$SITE_UUID/wordpress/status" | jq '.data'
"$XC" GET "/sites/$SITE_UUID/wordpress/updates" | jq '.data'
Toggle WP_DEBUG (enabled required). Turning it on shows errors to visitors,
so say so, keep it short, and turn it off again ("enabled":false) as soon
as the evidence is collected; offer the revert in the same message:
# Preview, then confirm: show the user what will change on site "$SITE_DOMAIN" and wait for a yes.
# Target named: site "$SITE_DOMAIN".
"$XC" POST "/sites/$SITE_UUID/wp-debug" '{"enabled":true}' | jq '.message'
Generate a one-time admin magic-login URL, only when the user asks for it for that named site. The URL is a live admin sign-in: never print it to the chat or to logs. Tell the user it was created and give them the dashboard path to open it instead (Site → WordPress → Magic Login), or hand it to them out of band. The call below only checks that one can be created:
# Preview, then confirm: show the user what will change on site "$SITE_DOMAIN" and wait for a yes.
# Target named: site "$SITE_DOMAIN".
"$XC" POST "/sites/$SITE_UUID/magic-login" '{"login_as":"admin"}' | jq -r 'if .data.url then "created (URL withheld)" else .message end'
"Which of my sites have pending core, plugin or theme updates?" → list sites
(xcloud:sites), keep the WordPress ones, read each one's updates summary, and
answer grouped by site with counts; offer to update the ones the user picks
(back up first — reference/plugins-themes.md). For vulnerabilities across the
team, GET /vulnerabilities answers in one call — sort worst first.
vulnerabilities and pagespeed are addressed at /sites/{uuid}/… and work on
any site, but are owned here because they are predominantly WordPress concerns.
A non-WordPress "scan my site" request still routes here via the xcloud:sites
cross-link.
reference/plugins-themes.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wordpress, xcloud, site-management, vulnerability-scanning, pagespeed
Other plugins' skills for the same job
npx claudepluginhub xclouddev/xcloud-agent-skills --plugin xcloud9 skills in this plugin
/accountxCloud account, teams, and org-level reads — current user, the teams this connection may act on (multi-team), incident alerts (list, read, mark as read), API token listing and revocation, connected Git providers and their repositories, Cloudflare integrations, WordPress blueprints, and API health. Use for "who am I", "which teams can you see", "switch to the Acme team", "any open alerts?", "mark resolved alerts as read", token management, or checking integrations. NOT server or site operations (see xcloud:servers / xcloud:sites), NOT billing (see xcloud:billing)./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)./performanceDiagnose a slow xCloud site from data — site and server CPU/RAM/disk samples and their history, which cache layers are on (page cache, Redis / Object Cache Pro object cache, Cloudflare edge cache), the latest PageSpeed run, access-log traffic spikes and bots, service health, and the site's PHP version — then name the cause and hand off the switches that are dashboard-only (enabling a cache layer, a per-site PHP version). Use whenever the user says a site is slow, loads slowly, has a high TTFB, asks "is Redis on", "why is my site slow", "speed up my site" or asks about caching for a site. A site that errors (500/502) → xcloud:troubleshoot; running or comparing PageSpeed scans on their own → xcloud:wordpress; purging a cache on request → xcloud:sites; server PHP installs → xcloud:servers./serversManage xCloud servers — list/inspect servers, buy a new xCloud-managed server (plans, prices, regions, provisioning progress), monitoring, services (install, enable, restart, disable), Node.js and PHP versions, verified reboots, tasks, snapshots, sudo users, server cron jobs, firewall rules, fail2ban, IP whitelisting, and checking whether a domain's DNS points at a server. Use for any server-level infrastructure, capacity, or server security request. Deploying apps and creating sites on a server → xcloud:deploy. NOT site-level config (see xcloud:sites), NOT SSL certs (see xcloud:ssl), NOT WordPress app management (see xcloud:wordpress)./sitesManage existing xCloud sites — list/inspect sites, status, events, deployment logs, monitoring and uptime history, backups (including Docker app backups and schedules), rescue, snapshots, staging environments, domains & redirections, cache purge, SSH/SFTP config, site cron jobs, access logs, and site deletion. Use for any day-2 site request. A site that errors (500/502, critical error) → xcloud:troubleshoot; a slow site or "is caching on" → xcloud:performance; deploying, redeploying, Git settings and failed-deploy recovery → xcloud:deploy; SSL/certs → xcloud:ssl; WordPress plugins/updates/vulnerabilities/PageSpeed/broken links → xcloud:wordpress; server-level infra → xcloud:servers.