add-page

add-page is a command for Claude Code from go4cas/quiver. It costs 0 tokens per session (525 once invoked), scanned A, original, MIT.

A command for creating a new Quiver page from a URL route, such as contact or users/profile. A route is the web address pattern that selects which page to show.

In plain words
What is it for?
Use it to add static or dynamic pages to the app. It creates missing folders, derives a page title, selects a default layout, and shows how to read route parameters when needed.
Why use it?
It creates the expected file structure and starter code automatically, including support for pages with changing URL parts such as posts/[id].

Command for Claude Code

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 commands/go4cas/quiver/add-page
Clone the repo
git clone --depth 1 https://github.com/go4cas/quiver

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/go4cas/quiver/add-page.svg)](https://agentmods.dev/commands/go4cas/quiver/add-page)
Your own site
<a href="https://agentmods.dev/commands/go4cas/quiver/add-page"><img src="https://agentmods.dev/badge/commands/go4cas/quiver/add-page.svg" alt="Measured on agentmods" 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 525 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.00000 $0.00525
Opus 5 $0.00000 $0.00262
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

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

Security

Grade A, and why

add-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 5d 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/add-page.md · 55 lines

What it actually says

Create a new Quiver page for the route path: $ARGUMENTS

Follow these steps exactly:

  1. Convert the route path to a file path under src/pages/:

    • contactsrc/pages/contact.js
    • users/profilesrc/pages/users/profile.js
    • posts/[id]src/pages/posts/[id].js
    • Create any missing subdirectories.
  2. Create the page file using this exact structure:

import { html } from '@arrow-js/core'
import { useMeta } from '../framework/index.js'

export const meta = { layout: 'menu', title: '<Derived from path>' }

function <PageName>Page() {
  useMeta({ title: '<Derived from path>' })
  return html`
    <div class="space-y-4">
      <h1 class="text-2xl font-bold">${'<Derived from path>'}</h1>
    </div>
  `
}

export default <PageName>Page
  • Derive a readable title from the path (e.g. posts/[id]'Post')
  • Use layout: 'menu' by default unless the page is a standalone screen (use 'basic' for login, error, etc.)
  • If the path contains a dynamic segment like [id], add useRoute import and show how to read the param:
    import { useRoute } from '../composables/useRoute.js'
    // inside the function:
    const route = useRoute()
    
  • Adjust the relative import path for useMeta based on nesting depth (e.g. ../../framework/index.js for two levels deep)
  1. Apply all Arrow.js rules:

    • Wrap reactive values in () =>
    • No <!-- --> comments inside template literals
    • Use aria-disabled not .disabled for disabled states
    • Annotate any helper functions with JSDoc @param/@returns — strict checkJs is enforced and untyped params fail npm run typecheck
  2. Verify — run and fix any failures:

npm run typecheck && npm test && npm run test:e2e
  1. Report:
    • The file created
    • The URL it maps to (e.g. /posts/:id)
    • Any follow-up steps (e.g. add a nav link, create a state module)
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. 5d ago First seen · 55 lines · 0 tokens per session scan A 5c20358b86c6

Subscribe to this mod's changes

add-page is a command published in the GitHub repository go4cas/quiver (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 525 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-31.