build-app-page

build-app-page is a skill for Claude Code, Codex from internet-development/nextjs-css-agent-components. It costs 107 tokens per session (3,962 once invoked), scanned A, original, MIT.

A workflow for creating a new page in a Next.js application using the repository's existing components and layout patterns. Next.js is a framework for building web applications, and this setup uses its Pages Router for page URLs.

In plain words
What is it for?
Building dashboards, settings screens, document pages, forms, galleries, marketing pages, and other new routes under the repository's pages directory.
Why use it?
It helps a new page fit the application's existing design, imports, layout, and metadata conventions. It also checks that the page can start and render correctly.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/internet-development/nextjs-css-agent-components/build-app-page
Any agent
npx skills add internet-development/nextjs-css-agent-components --skill build-app-page
Clone the repo
git clone --depth 1 https://github.com/internet-development/nextjs-css-agent-components

Made for: Claude Code, Codex.

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-app-page

README.md
[![agentmods](https://agentmods.dev/badge/skills/internet-development/nextjs-css-agent-components/build-app-page.svg)](https://agentmods.dev/skills/internet-development/nextjs-css-agent-components/build-app-page)
Your own site
<a href="https://agentmods.dev/skills/internet-development/nextjs-css-agent-components/build-app-page"><img src="https://agentmods.dev/badge/skills/internet-development/nextjs-css-agent-components/build-app-page.svg" alt="Measured on agentmods" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,962 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00107 $0.03962
Opus 5 $0.00053 $0.01981
Sonnet 5 $0.00021 $0.00792
Haiku 4.5 $0.00011 $0.00396

Measured 4d ago against content hash 8084f684d941, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

build-app-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 4d 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.

public/skills/build-app-page/SKILL.md · 390 lines

How it starts

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

Build an app page

This skill walks an empty .tsx file to a working app page that uses this repo's three-tier system correctly. The end state: a page that boots in npm run dev, renders with the right chrome and layout, has the right SEO metadata, and follows the import-tier rules from AGENTS.md.

When to use

  • "Build a settings page for X"
  • "Create a new dashboard for Y"
  • "Add a documents page for Z"
  • "Scaffold a new authenticated app screen"
  • "Make a marketing landing page using our components"
  • Any time the user wants a new route under pages/ that uses the design system

When NOT to use

  • The user just wants to modify an existing page (use direct edits).
  • The user wants a non-page React component (use the component conventions in AGENTS.md instead).
  • The user wants App Router (app/) page work — this repo's routes live under Pages Router (pages/). Stop and ask before introducing App Router.

Pre-flight: pin down what you're building

Before writing anything, ask yourself (or the user) four questions:

  1. What's the page's purpose? Marketing/landing, authenticated app screen, document viewer, dashboard, form, or gallery showcase? Each has a canonical layout pattern below.
  2. Does it need a session/API key? If yes, use KeyHeader and the getServerSidePropsServer.setup(context) pattern (see "Authenticated app pages" below). If no, plain Navigation + getServerSideProps returning { props: {} } is enough.
  3. Does it open modals? If yes, you must render <GlobalModalManager /> and import useModals from @runtime/modals/ModalContext.
  4. Is it a gallery showcase? If yes, you'll register it in common/constants.ts after writing.

Pick the page shape

Match the page to one of these canonical shapes. Each is taken straight from a working file in pages/examples/.

Shape A — Marketing / showcase page (Navigation + content + Footer)

Use when: landing pages, "show off this component" pages, content pages.

Read the full file on GitHub · 390 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. 4d ago First seen · 390 lines · 107 tokens per session scan A 8084f684d941

Subscribe to this mod's changes

build-app-page is a skill published in the GitHub repository internet-development/nextjs-css-agent-components (216 stars, last pushed 17d ago), licensed MIT. It adds 107 tokens to every session and 3,962 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

portaljs-new-portal

Scaffold a new PortalJS data portal from a brief. Copies the canonical template from examples/portaljs-catalog and substitutes project tokens. Use when starting a brand-new data portal project from scratch.

datopian/portaljs · 46 tokens

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning.

ranbot-ai/awesome-skills · 22 tokens

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

shadcn-ui/ui · 61 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

copilotkit-upgrade

Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.

CopilotKit/CopilotKit · 48 tokens

non-json-content-types

Handle FormData, file uploads, Blob, Uint8Array, and ReadableStream inputs in tRPC mutations. Use octetInputParser from @trpc/server/http for binary data. Route non-JSON requests with splitLink and isNonJsonSerializable() from @trpc/client. FormData and binary inputs only work with mutations (POST).

trpc/trpc · 75 tokens