cms

cms is a command for Claude Code from textura-agency/next16-claude-starter. It costs 26 tokens per session (712 once invoked), scanned A, original, Unlicense.

A project command for setting up Payload CMS, a system for managing website content, with Supabase, a hosted PostgreSQL database and file-storage service. It first proposes content collections based on the pages and sample data already in the app.

In plain words
What is it for?
Use it to add an admin area, define collections for the site's real content, save documents with uploaded images, display those images from Supabase Storage, and publish the content on a public route.
Why use it?
It helps avoid installing a content system against the wrong framework or database setup and checks the full path from editing content to showing it publicly. It also requires confirmation of the proposed content structure before changing configuration.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to add an admin area, define collections for the site's real content, save documents with uploaded images, display those images from Supabase Storage, and publish the content on a public route.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/textura-agency/next16-claude-starter/cms
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.

Clone the repo
git clone --depth 1 https://github.com/textura-agency/next16-claude-starter

Made for: Claude Code.

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 cms

README.md
[![agentmods](https://agentmods.dev/badge/commands/textura-agency/next16-claude-starter/cms/github.svg)](https://agentmods.dev/commands/textura-agency/next16-claude-starter/cms)
Your own site
<a href="https://agentmods.dev/commands/textura-agency/next16-claude-starter/cms"><img src="https://agentmods.dev/badge/commands/textura-agency/next16-claude-starter/cms/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 cms

Your own site · 80×15
<a href="https://agentmods.dev/commands/textura-agency/next16-claude-starter/cms"><img src="https://agentmods.dev/badge/commands/textura-agency/next16-claude-starter/cms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 712 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.00026 $0.00712
Opus 5.5 $0.00010 $0.00285
Sonnet 5.5 $0.00005 $0.00142
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

cms 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 12d 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.

.claude/commands/cms.md · 36 lines

What it actually says

Build (or continue) this site's CMS admin. Phase asked for: $ARGUMENTS (empty = the whole flow, in order).

The flow is obsidian/workflows/cms-admin.md. Each phase has an owner skill — load it and follow it exactly:

Phase Skill Done when
0 Pre-flight + proposal payload-cms §0 Node ≥ 22 pinned, peers checked, Supabase ready (supabase-db if not), all copy in src/data/mocks/, the user approved the sidebar
1 Install + split payload-cms §1 scaffold.sh core admin, (site) / (payload) root layouts, env, scripts
2 Content model payload-cms §2 + references/content-model.md TEXT_GLOBALS, SKIP, OPEN_LISTS, LABELS filled; views read getText()
3 SEO payload-cms §3 + references/seo-global.md every route's <head>, JSON-LD, sitemap, robots, /llms.txt from the SEO global
4 Migrate payload-cms §4 types + migration committed, /admin first user
5 Skin payload-admin §Skin the admin wears the site's tokens; tour screenshots look right
4b Blog (if asked) payload-cms + references/blog.md scaffold.sh blog; /blog in ROUTES + SEO_PAGES, sitemap + llms wired, a renamed slug answers 308
4c Data-driven pages (if asked) payload-cms + references/collection-pages.md (+ local-seo for locations) scaffold.sh collection, renamed to its segment; a thin page shows its reason and is noindex
6 Analytics (ask first) payload-analytics consent-gated beacon, view + card, privacy policy agrees
7 Guide (last) payload-admin §Guide /admin/guide with a screenshot per sidebar entry (yarn qa:shots)
8 Prove payload-cms §8 edit → site, blank → fallback, no DB → site up, upload → bucket, routes static, Lighthouse unchanged

Rules that hold throughout: routes stay static (save → revalidatePath), pages import only views (metadata comes through the view), migrations only (push: false), the code's copy is always the fallback, no motion added to the admin.

Stop and ask before: choosing which lists the editor may resize, adding analytics, pointing local dev at a production database, any destructive migration.

Finish with yarn verify, yarn lint, yarn build, and the vault pass (cms-payload.md, tech-stack.md, environment-variables.md, changelog.md, an ADR for any departure from the skill's decisions D1–D17).

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. 12d ago Changed · +2 lines 0912f569f27c
  2. 19d ago Changed · +8 lines · +14 tokens per session 0f5cccc0fb41
  3. 1mo ago First seen · 26 lines · 12 tokens per session scan A c84ee955fdea

Subscribe to this mod's changes

cms is a command published in the GitHub repository textura-agency/next16-claude-starter (139 stars, last pushed 13d ago), licensed Unlicense. It adds 26 tokens to every session and 712 once invoked, about $0.0001 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-08-30.