new-page

new-page is a skill for Claude Code from fpindej/netrock. It costs 13 tokens per session (539 once invoked), scanned A, original, MIT.

A workflow for creating a frontend page with a URL route, translated text, navigation, and optional server data.

In plain words
What is it for?
It helps create page components, routes, translation entries, API data loading, admin navigation links, and permission checks.
Why use it?
It provides the project-specific wiring needed for a page to work consistently for signed-in or public users.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It helps create page components, routes, translation entries, API data loading, admin…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fpindej/netrock/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.

Any agent
npx skills add fpindej/netrock --skill new-page
Clone the repo
git clone --depth 1 https://github.com/fpindej/netrock

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/skills/fpindej/netrock/new-page.svg)](https://agentmods.dev/skills/fpindej/netrock/new-page)
Your own site
<a href="https://agentmods.dev/skills/fpindej/netrock/new-page"><img src="https://agentmods.dev/badge/skills/fpindej/netrock/new-page.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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.00013 $0.00539
Opus 5 $0.00006 $0.00269
Sonnet 5 $0.00003 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 7d ago against content hash f087eb0888bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 7d 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/skills/new-page/SKILL.md · 52 lines

How it starts

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

Creates a new frontend page with routing, i18n, and navigation.

Infers route, route group, components needed, and data requirements from context. Defaults to (app) (authenticated). Asks only if genuinely ambiguous.

Templates

Use these as starting points - fill in the specifics from context:

Conventions

  • Button layout: All action/submit buttons use w-full sm:w-auto with wrapper flex flex-col gap-2 sm:flex-row sm:justify-end. Default size only (no size="sm" or size="lg").

Steps

Components (if needed):

  1. Create feature folder: src/frontend/src/lib/components/{feature}/
  2. Create components with interface Props + $props()
  3. Create barrel index.ts exporting all components

Page:

  1. Create route directory: src/frontend/src/routes/(app)/{feature}/
    • Or (public)/{feature}/ for unauthenticated pages
  2. Create +page.svelte with <svelte:head> using i18n title
  3. If server data needed: create +page.server.ts using createApiClient(fetch, url.origin)
  4. If admin page: add entry to adminRoutes in $lib/config/routes.ts with path and permission
  5. If permission-guarded: add check in +page.server.ts:
    if (!hasPermission(user, adminRoutes.feature.permission)) throw redirect(303, routes.dashboard);
    

Integration:

  1. Add i18n keys to the correct feature file in all locale directories
  2. Add navigation entry in AppSidebar.svelte (using adminRoutes.feature.path and .permission for admin pages)
  3. Add matching entry in CommandPalette.svelte (using adminRoutes.feature.path and .permission for admin pages)
  4. If public page: add route to publicRoutes in src/frontend/src/routes/sitemap.xml/+server.ts

Verify and commit:

  1. cd src/frontend && pnpm run format && pnpm run lint && pnpm run check - fix errors, loop until green
  2. Commit: feat({feature}): add {feature} page

Paraglide module errors (~32) are expected at check time - ignore those. Fix everything else.

Read the full file on GitHub · 52 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 52 lines · 13 tokens per session scan A f087eb0888bb

Subscribe to this mod's changes

new-page is a skill published in the GitHub repository fpindej/netrock (231 stars, last pushed 6d ago), licensed MIT. It adds 13 tokens to every session and 539 once invoked, about $0.0001 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

react

Guidelines for the React frontend, TanStack ecosystem, and React 19 standards. Use when modifying the UI.

aps08/fullstack-clean-architecture · 25 tokens

react-testing

Frontend testing standards using Vitest, React Testing Library, and Playwright. Use when writing UI tests.

aps08/fullstack-clean-architecture · 24 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

aps08/fullstack-clean-architecture · 77 tokens

typescript-craftsmanship

Professional TypeScript + React + Next.js coding standards enforcer. Use this skill whenever writing, reviewing, or refactoring TypeScript code in any project — whether it's a new feature, a bug fix, a refactoring pass, or a code review. Trigger on: any TypeScript or TSX file creation/editing, "clean up this code"…

KaelSensei/MagicAIBuilder · 218 tokens

debug-triage

· Triage a live incident to localize an unknown failing layer, then route. Triggers: incident, outage, triage, production down, crashloop, 502. Not for known-component debugging (systematic-debugging) or repo audits (deep-audit).

iuliandita/skills · 60 tokens

astro-docs

Comprehensive Astro framework reference covering components, pages, layouts, routing, styling, markdown, content collections, islands architecture, server islands, actions, middleware, endpoints, data fetching, view transitions, integrations, deployment, environment variables, imports, images, fonts, i18n, sessions…

pledgeandgrow/pledge-skills · 112 tokens