/sitecore-platform:sitecoreai-pagesfrom Sitecore Platform (SitecoreAI)
Low-level CRUD for SitecoreAI Pages REST API — page versions, variants, layout/field updates, duplicate, rename, translate, blueprint. Use when Agent API's composite actions aren't enough.
Ships in Sitecore Platform (SitecoreAI). 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.
Direct CRUD on pages. Lower-level than the Agent API — prefer Agent API when the task maps to a marketer-level outcome, use Pages API when you need per-field control, version/variant lifecycle, or layout manipulation.
https://xmapps-api.sitecorecloud.io
(Spec servers[0] — "Production server". All requests run against the production environment.)
OAuth 2.0 client-credentials → JWT Bearer. See the sitecoreai-auth skill.
Bearer (HTTP bearer), applied globally (security: [{ Bearer: [] }]). Every operation requires the JWT; the spec defines no per-operation OAuth scope strings.POST https://auth.sitecorecloud.io/oauth/token with grant_type=client_credentials and audience=https://api.sitecorecloud.io.xmcloud.cm:admin — a single admin-level scope, not granular per-endpoint :r / :w scopes.Accept: application/json header is required on every request (per the spec's auth section). Header format: Authorization: Bearer {JWT}.Current: v1 (info.version: v1). Paths are /api/v1/....
Resource groups: Pages · Versions · Live / Variants · Aggregation (batch).
The full path × method table is in references/endpoints.md; request bodies and key response fields per operation are in references/schemas.md. Both are regenerated from the spec — read them when you need an exact path, method or field name; the sections below carry what the spec does not say.
All operations share RFC-7231 ProblemDetails error bodies (type, title, status, detail, instance, plus traceId + per-field errors map in examples):
GET /pages/search only, when the search service is down.(There is no 406 response declared in the spec — see the curated Pitfalls note for the empirical Accept-header behavior.)
(versionNumber, language). Deleting a version requires both.GET /pages/{pageId}/live for the page, GET /pages/{pageId}/live/variants for its variants.POST /pages/{id}/version copies the base version is still open (probe-gated), while Authoring addItemVersion and MCP add_language_to_page were measured to create an EMPTY language version (2026-10-02). translate covers local datasources (documented). "Keep workflow state" exists in the UI only. Language work: sitecoreai-localization.const token = await getSitecoreToken();
const res = await fetch(`https://xmapps-api.sitecorecloud.io/api/v1/pages/${pageId}`, {
method: "PATCH",
headers: {
Authorization: `Bearer ${token}`,
Accept: "application/json",
"Content-Type": "application/json",
},
body: JSON.stringify({ fields: { Title: "New title" } }),
});
POST /pages/{pageId}/duplicate → get new pageId.PATCH /pages/{newId} → set the fields that differ.POST /pages/{newId}/rename → give it a proper system name.Before telling a marketer "this is live", call GET /pages/{pageId}/live. Edge publication can lag authoring.
Accept: application/json required. Missing header → 406 Not Acceptable./pages/search matches names, not body content. For content-aware search use Agent API.POST /pages/{pageId}/layout replaces the whole layout, not a merge. Fetch → modify → write back.sitecoreai-auth skill.Full schema: api-docs.sitecore.com/_bundle/sai/pages-api/index.yaml
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/sitecoreai-agentSitecoreAI Agent API: high-level REST actions such as create page with components, create personalization version and generate brief. Use as the default entry point for apps, MCP servers or automations. It powers the Marketer MCP./sitecoreai-authOAuth client-credentials auth for the SitecoreAI APIs (Agent, Pages, Publishing, Sites): automation client, token endpoint, scopes, env vars, caching, 401s. Load before the first API call. Not head-app Edge context ids./sitecoreai-brand-voiceWrites Sitecore page content in a brand's voice and identity, taken from the PRD or spec or a Sitecore brand kit, never guessed. Sets register (brand, marketing, technical-neutral). Use for copy on a brand or client site. Not page structure.npx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-platformOther plugins' skills for the same job