new-page

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

A guided workflow for building a new website page or section in an existing project. It covers the route, page view, design tokens, content, motion, and related project checks.

In plain words
What is it for?
Use it to add a route, page, or section to a React or similar web project. It helps reuse existing components, add the route to the sitemap, and connect content through props or data files.
Why use it?
It reduces the chance that a new page ignores the project's design rules, accessibility needs, sitemap, or component structure. It also provides a process for using a Figma design when one is supplied.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to add a route, page, or section to a React or similar web project. It helps reuse existing components, add the route to the sitemap, and connect content through props or data files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/textura-agency/next16-claude-starter/new-page"><img src="https://agentmods.dev/badge/commands/textura-agency/next16-claude-starter/new-page.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 481 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.00000 $0.00481
Opus 5 $0.00000 $0.00241
Sonnet 5 $0.00000 $0.00096
Haiku 4.5 $0.00000 $0.00048

Measured 12d ago against content hash f1b370e9d56b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

new-page 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/new-page.md · 36 lines

What it actually says

Implement a page or section: $ARGUMENTS

Follow obsidian/workflows/new-page.md. If a Figma URL was given, use the figma-to-section skill for extraction and asset handling.

  1. Read firstobsidian/workflows/ai-agent-guide.md for the hard rules, then the topic notes you actually need (design-system.md for styling, animation-system.md + text-engine.md for motion, component-conventions.md for placement, html-semantics.md for markup). If the project is otherwise empty, build in src/views/home.tsx on / rather than scaffolding a new route.
  2. Plan the routeapp/<route>/page.tsx, ~3 lines, delegates to a view. Add the route to src/app/sitemap.ts in the same change.
  3. Build the view in src/views/<page>.tsx, composed of components. Reuse components/ui/ and components/common/ before creating anything new.
  4. Tokens before styles. Any new colour/spacing/type/radius value becomes a Tier 1 primitive + Tier 2 semantic token in globals.css, commented with its origin. Nothing hardcoded.
  5. Motion via springs — the right primitive for each need, semantic tag.
  6. Content via props/hooks. Mocks under src/data/mocks/<page>.ts. Async data gets loading/error/empty states.
  7. Server-first"use client" only at leaves.
  8. Assets to public/assets/<section>/, referenced by absolute path.
  9. Verify — run the qa-verify skill (script + judgement checks) and fix until clean.
  10. Document — update the catalog notes for anything new, add a changelog entry, and an ADR if you made an architectural choice.

Report: files created, new tokens and why, values that could not map to tokens (flag for design review), assumptions made.

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 First seen · 36 lines · 0 tokens per session scan A f1b370e9d56b

Subscribe to this mod's changes

new-page is a command published in the GitHub repository textura-agency/next16-claude-starter (117 stars, last pushed 3d ago), licensed Unlicense. It costs nothing until one of its globs matches a file; then it loads 481 tokens. 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.