/xcloud:sslfrom xcloud
Manages SSL certificates and HTTPS for xCloud sites: view, list, install (Let's Encrypt, custom, Cloudflare), renew, check status, and delete certificates.
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 every SSL/certificate operation in the xCloud Public API. For auth, base URL, the response envelope, pagination, and rate limits, read the shared layer first — this skill does not repeat it:
${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_ssl, sites_sslCertificates, sites_sslCertificates_create,
sites_ssl_renew, ssl-certificates_show, ssl-certificates_status,
ssl-certificates_destroy; the $XC calls below are the REST fallback.All calls go through the shared wrapper:
XC="${CLAUDE_PLUGIN_ROOT}/scripts/xcloud.sh"
Set XCLOUD_API_BASE_URL=http://xcloud.test (plus
XCLOUD_ALLOW_INSECURE_HTTP=1 — plaintext http is refused without it) for
local, unset (or
https://app.xcloud.host) for live.
Brand every user-facing reply (see reference/conventions.md →
Response format): open with ☁️ **xCloud · SSL** — <site domain>, give the
trimmed result, and close with a _via xcloud:ssl_ line.
Narrate each call (see Progress narration): before every $XC call print one
line of what xCloud is doing, e.g. ☁️ xCloud is renewing the SSL certificate for \`…; 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 "Renewing…" or "Checking…". SayxCloud is renewing…`.**
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 |
|---|---|---|
| Get site SSL info | GET /sites/{uuid}/ssl | read:sites + site:manage-ssl |
| List site certificates | GET /sites/{uuid}/ssl-certificates | read:sites + site:manage-ssl |
| Install a certificate | POST /sites/{uuid}/ssl-certificates | write:sites + site:manage-ssl |
| Renew a certificate | POST /sites/{uuid}/ssl/renew | write:sites + site:manage-ssl |
| Get certificate by UUID | GET /ssl-certificates/{uuid} | read:sites + site:manage-ssl |
| Get certificate status | GET /ssl-certificates/{uuid}/status | read:sites + site:manage-ssl |
| Delete a certificate | DELETE /ssl-certificates/{uuid} | write:sites + site:manage-ssl |
Not here: site backups/domains/cache/SSH → xcloud:sites; WordPress plugin
vulnerabilities → xcloud:wordpress; server firewall/fail2ban → xcloud:servers.
xcloud:sites: GET /sites?search=<domain>).Current SSL state for a site:
SITE_UUID='replace-me'
"$XC" GET "/sites/$SITE_UUID/ssl" | jq '.data'
List a site's certificates:
"$XC" GET "/sites/$SITE_UUID/ssl-certificates" \
| jq '(.data.items // .data.data // .data) | map({uuid, provider, status, domains, expires_at})'
Certificate detail / status by UUID:
CERT_UUID='replace-me'
"$XC" GET "/ssl-certificates/$CERT_UUID" | jq '.data'
"$XC" GET "/ssl-certificates/$CERT_UUID/status" | jq '.data'
Install a Let's Encrypt (xCloud-managed) certificate:
# 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/ssl-certificates" '{"provider":"xcloud"}' | jq '.data'
Install a custom certificate (PEM body + key required). The private key is a
secret — build the JSON with jq -n from files and pipe it on stdin (-)
so it never appears in any process argument list:
# Preview, then confirm: show the user what will change on site "$SITE_DOMAIN" and wait for a yes.
# Target named: site "$SITE_DOMAIN".
jq -n --rawfile cert cert.pem --rawfile key key.pem \
'{provider: "custom", certificate: $cert, private_key: $key}' \
| "$XC" POST "/sites/$SITE_UUID/ssl-certificates" - | jq '.data'
Use the team's Cloudflare integration:
# 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/ssl-certificates" '{"provider":"cloudflare"}' | jq '.data'
Switch providers when one is already configured — force is required. This
replaces the live certificate: name the site and the current and new
provider, and confirm first:
# 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/ssl-certificates" '{"provider":"cloudflare","force":true}' | jq '.data'
WordPress site adopting HTTPS for the first time — opt into the DB search-replace.
ssl_search_replace rewrites URLs in the site's database, so take a backup
first and name the site:
# 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/ssl-certificates" '{"provider":"xcloud","ssl_search_replace":true}' | jq '.data'
Renew works for xCloud-managed (Let's Encrypt) certificates only; custom and Cloudflare certificates answer 422. It only fires if the cert expires within 7 days unless forced:
# 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/ssl/renew" '{}' | jq '.data' # guarded
# 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/ssl/renew" '{"force":true}' | jq '.data' # skip the 7-day guard
Delete a certificate (restate the target before running):
# Preview, then confirm: show the user what will change on site "$SITE_DOMAIN" and wait for a yes.
# Target named: site "$SITE_DOMAIN".
"$XC" DELETE "/ssl-certificates/$CERT_UUID" | jq '.message'
provider ∈ xcloud | custom | cloudflare (required on install).provider=custom requires both certificate and private_key (PEM).force: true is required only to switch to a different provider; ignored
when none is set or the provider matches.ssl_search_replace applies to WordPress sites only; silently ignored
elsewhere.force is a no-op unless the cert is within 7 days of expiry.403 on any certificate call (read, install, renew, delete) with a valid token = missing site:manage-ssl team permission.GET /ssl-certificates/{uuid}/status.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 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.npx claudepluginhub xclouddev/xcloud-agent-skills --plugin xcloud