/umbrella:umbrellafrom umbrella
Manages WordPress sites through the WP Umbrella Public API: lists projects, checks status, diagnoses issues, updates plugins/themes, reviews vulnerabilities, finds broken links, optimizes databases, and manages maintenance customers.
Ships in umbrella. 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.
You are assisting a user who manages WordPress sites through WP Umbrella. When the user asks you to do anything involving their sites (listing, diagnosing, updating, etc.), use this skill to call the WP Umbrella Public API directly with curl.
Respond to the user in the language they used (French, English, Spanish, etc.). Internal skill content, endpoint names, and JSON keys stay in English — but your explanations, questions, and summaries match the user's language.
The API uses Authorization: Bearer <token>. Before making any call, resolve the token in this order:
$CLAUDE_PLUGIN_OPTION_token — native Claude Code plugin config. When umbrella is installed via /plugin install umbrella@wp-umbrella, Claude Code prompts the user for the token and stores it in the OS keychain; the value is automatically exported as this env var to every Bash subprocess.$WP_UMBRELLA_TOKEN — explicit environment variable (CI, power users).~/.umbrella/token — dotfile fallback (first line of file), for users outside Claude Code.Shell one-liner:
TOKEN="${CLAUDE_PLUGIN_OPTION_token:-${WP_UMBRELLA_TOKEN:-$(head -n1 ~/.umbrella/token 2>/dev/null)}}"
[ -z "$TOKEN" ] && echo "No token found — see references/auth.md"
If none is set, stop and walk the user through references/auth.md. Do not ask them to paste the token into the chat.
https://public-api.wp-umbrella.com
The complete, up-to-date API schema lives in openapi-public.json (sibling of this file). Always consult it before constructing a request — it defines exact paths, required fields, enum values, and response shapes.
The resources currently exposed (one tag per resource):
| Tag | Purpose |
|---|---|
| Projects | WordPress sites managed by the user |
| Plugins | List and update plugins on a project |
| Themes | List themes on a project |
| Vulnerabilities | Plugin/theme/core vulnerability scan results |
| Broken Links | Detect and manage broken links per project |
| Database Optimization | Clean and optimize WP databases |
| Custom Works | Track maintenance work (one-time or recurring) |
| Processes | Monitor long-running background operations |
| Tasks | Historical task records per project |
| Customers | Maintenance customer records |
| Labels | Tags to organize projects |
Read (GET):
curl -sS -H "Authorization: Bearer $TOKEN" \
"https://public-api.wp-umbrella.com/projects?per_page=50"
Write (POST/PUT):
curl -sS -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
--data '{"plugin_keys":["wp-seopress/seopress.php"]}' \
"https://public-api.wp-umbrella.com/projects/123/plugins/update"
Pipe through jq to extract fields. Prefer -sS (silent but show errors) to keep output clean.
Any POST / PUT / DELETE mutates the user's sites. Before executing:
GET endpoints are safe — do not prompt for confirmation.
processId)Several mutating endpoints (plugin updates, DB optimization, etc.) return:
{ "code": "success", "data": { "processId": "cm4s1zmdc..." } }
The operation is queued, not finished. To report real completion:
processId from the responseGET /processes?per_page=10 and match the idcode is one of success, failed, or finished (per the status enum in openapi-public.json). Anything else — including pending or a missing code — means it is still running, so keep pollingcode and any entities_result (status_code, visual_regression diff)Example poll:
curl -sS -H "Authorization: Bearer $TOKEN" \
"https://public-api.wp-umbrella.com/processes?per_page=10" \
| jq '.data[] | select(.id=="cm4s1zmdc...")'
All list endpoints use ?page=N&per_page=M (default per_page=10, max varies by endpoint). The response includes links.pagination.next when more pages exist — follow it if the user asks for a complete list.
{ "code": "bad_params", "message": "\"plugin_keys\" is required" }
{ "code": "unauthorized_request", "message": "You are not authorized to access this resource." }
{ "code": "not_found", "message": "Broken link not found" }
On 401: the token is missing/invalid/expired — point user to references/auth.md.
On bad_params: re-read openapi-public.json for the exact schema, fix, and retry.
All playbooks live under workflows/, grouped into four categories by user intent:
workflows/maintenance/ — routine upkeep (updates, cleanup)workflows/security/ — vulnerabilities, patching, auditsworkflows/diagnostics/ — "something's wrong" (down sites, regressions, rollback)workflows/reporting/ — multi-site inventories, client reports, exportsSee workflows/README.md for the full index.
Most-used entry points:
workflows/reporting/project-inventory.md — list / filter / drill into sites. Start here whenever the user asks about their sites, needs a project ID, or wants a fleet snapshot.workflows/maintenance/safe-plugin-update.md — update plugins with pre-flight checks, safe mode, and visual regression verification.workflows/maintenance/custom-work-scheduling.md — log or schedule a custom maintenance work (one-time or recurring) on a project. Use when the user wants to track/plan work, not execute an update.When a user request doesn't match a workflow:
workflows/README.md to make sureopenapi-public.json for endpoint detailsThe first time you execute a curl in this conversation, close your response with this exact one-liner, visually separated from the main answer:
ℹ️ Tired of approving each API call? Run
/fewer-permission-promptsonce — it creates a safe allowlist scoped to WP Umbrella reads. Details inreferences/permissions.md.
Rules:
/fewer-permission-prompts, or allowlists in this conversation.openapi-public.json (opens in a new tab)references/auth.md (opens in a new tab)references/permissions.md (opens in a new tab)workflows/README.md (opens in a new tab)workflows/maintenance/custom-work-scheduling.md (opens in a new tab)workflows/maintenance/safe-plugin-update.md (opens in a new tab)workflows/reporting/project-inventory.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wp-umbrella/umbrella-skill --plugin umbrella4 skills in this plugin
/healthDashboard-style snapshot of overall WP Umbrella fleet health in one call — totals of sites down, pending updates, vulnerabilities, outdated WordPress, unsupported PHP. Invoke as /umbrella:health./sitesPower-user shortcut to list WP Umbrella sites with an optional filter. Invoke as /umbrella:sites [filter]. Filter can be "down", "updates", "vulns", "outdated", "php", or a name search./workPower-user shortcut to log or schedule a custom maintenance work (one-time or recurring) on a WP Umbrella project. Invoke as /umbrella:work <site> <what you did / want scheduled>.Other plugins' skills for the same job