build-pages

build-pages is a skill for Claude Code from agility/mcp-server. It costs 59 tokens per session (763 once invoked), scanned A, original, Apache-2.0.

A guide for exploring and changing the page tree of an Agility CMS site. A page tree is the hierarchy of site pages and folders; the guide also covers page components, ordering, search settings, and visibility.

In plain words
What is it for?
It is for viewing a sitemap, reading pages, creating pages or folders, adding and ordering components, and editing page search metadata and visibility.
Why use it?
It prevents pages and components from being created with the wrong locale, parent, template, or placement zone. It requires reading the CMS structure before making changes rather than guessing identifiers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agility-cms plugin — 9 skills, 2 MCP servers shipped together

Good fit It is for viewing a sitemap, reading pages, creating pages or folders, adding and ordering components, and editing page search metadata and visibility.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agility/mcp-server/build-pages
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agility/mcp-server --skill build-pages
Clone the repo
git clone --depth 1 https://github.com/agility/mcp-server

Made for: Claude Code.

Or install agility-cms, the plugin that ships this one along with the rest of its 9 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-pages

README.md
[![agentmods](https://agentmods.dev/badge/skills/agility/mcp-server/build-pages/github.svg)](https://agentmods.dev/skills/agility/mcp-server/build-pages)
Your own site
<a href="https://agentmods.dev/skills/agility/mcp-server/build-pages"><img src="https://agentmods.dev/badge/skills/agility/mcp-server/build-pages/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-pages

Your own site · 80×15
<a href="https://agentmods.dev/skills/agility/mcp-server/build-pages"><img src="https://agentmods.dev/badge/skills/agility/mcp-server/build-pages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00763
Opus 5.5 $0.00024 $0.00305
Sonnet 5.5 $0.00012 $0.00153
Haiku 4.5 $0.00006 $0.00076

Measured 2d ago against content hash c545fd3ec24f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-pages scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/agility-cms/skills/build-pages/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build and change pages in Agility CMS

Explore

  • get_sitemaps lists the sitemaps (channels) for a locale.
  • get_sitemap returns the page tree. Use pathPrefix, maxDepth or flat mode to keep large sites readable.
  • get_page returns one page with its zones and modules.

Before creating a page, gather

  1. The locale (get_locales).
  2. The sitemap ID (get_sitemaps).
  3. The page model name (get_page_models). Request its module zones too. Zone names must match the model exactly, including case. Do not guess them; a component placed in an unknown zone is rejected.
  4. The parent page ID, from get_sitemap. Never guess it.
  5. For each component to add, its model ID and fields: call get_component_models, then get_component_model_details.

Ask the user for anything still missing, such as the page title or URL path.

Create or update a page

  • Call save_page with pageType: static (a regular page), dynamic (one page per item in a content list), folder (groups pages, no content) or link (a redirect).
  • To add new components, put them in the page's zones with their fields and componentModelID. save_page creates the page and those content items in one step. Do not call save_content_items for them first.
  • Referencing an existing content ID on a new page creates a copy of that content with a new ID. Tell the user.
  • SEO and visibility fields: leave a field out to keep its stored value; null clears it.
  • Saving does not publish. The page lands in the default state, usually Staging. Return the page ID and editor link from the result.

Reorder components

save_page does not change the order of existing components. Use reorder_page_modules with the page ID, the zone name, and the full list of content IDs in the new order. Read the page with get_page first and include every module in the zone.

Then read the page again and check the order. A reorder has been seen to report success without changing anything. If the order did not change, tell the user, and offer the fallback: save the page with only the components that should come first, then save it again with the rest appended in order. Components re-added this way get new content IDs, so report the new IDs.

Read the full file on GitHub · 70 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 70 lines · 59 tokens per session scan A c545fd3ec24f

Subscribe to this mod's changes

build-pages is a skill published in the GitHub repository agility/mcp-server (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 59 tokens to every session and 763 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

build-pages compared with skills from other repositories

build-pages next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-pagesagility/mcp-serverSkill02d agoApache-2.0A59Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code