add-layout

add-layout is a command for Claude Code from go4cas/quiver. It costs 22 tokens per session (1,225 once invoked), scanned A, original, MIT.

A command for creating a new page layout in the Quiver app. A layout is the shared outer structure around a page, such as a menu, sidebar, or full-width frame.

In plain words
What is it for?
Use it when adding layouts such as sidebars, blank screens, or full-width pages. It creates the layout file and registers its name for use by pages.
Why use it?
It removes the repetitive setup needed to create and register a layout while keeping it consistent with the app's existing style and data rules.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { ToastContainer } from '../components/Toasts.js'.

Part of the quiver plugin — 8 commands shipped together

Good fit Use it when adding layouts such as sidebars, blank screens, or full-width pages. It creates the layout file and registers its name for use by pages.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/go4cas/quiver
agentmods
npx agentmods add commands/go4cas/quiver/add-layout

Made for: Claude Code.

Or install quiver, the plugin that ships this one along with the rest of its 8 commands.

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-layout

README.md
[![agentmods](https://agentmods.dev/badge/commands/go4cas/quiver/add-layout/github.svg)](https://agentmods.dev/commands/go4cas/quiver/add-layout)
Your own site
<a href="https://agentmods.dev/commands/go4cas/quiver/add-layout"><img src="https://agentmods.dev/badge/commands/go4cas/quiver/add-layout/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 add-layout

Your own site · 80×15
<a href="https://agentmods.dev/commands/go4cas/quiver/add-layout"><img src="https://agentmods.dev/badge/commands/go4cas/quiver/add-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,225 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.00022 $0.01225
Opus 5.5 $0.00009 $0.00490
Sonnet 5.5 $0.00004 $0.00245
Haiku 4.5 $0.00002 $0.00122

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

Security

Grade A, and why

add-layout 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 19d 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.

plugins/quiver/commands/add-layout.md · 71 lines

How it starts

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

Add a layout to this app: $ARGUMENTS

Where things are

  • The app is the folder with the app's package.json. In the Quiver repository itself the app is starter/; work there.
  • Recipes are in node_modules/@go4cas/quiver/recipes/ (in the Quiver repository: recipes/ at the root). index.json lists them; README.md there explains how to install one.

Step 1: is it the layouts recipe?

If the argument is menu, basic, layouts, MenuLayout or BasicLayout (see the layouts entry and its aliases in recipes/index.json), install the layouts recipe:

  1. Follow "Installing a recipe" in recipes/README.md: take layouts and everything it requires (theme, link, toasts, theme-switcher), and for each of them check every destination in its files as "Existing files" there says. Copy only the missing files, by role; keep every file that exists (a custom src/layouts/default.js stays, and menu.js and layouts.css are still installed beside it); rewrite the ../<recipe>/<file>.js imports in the copied files to the installed places; add @go4cas/quiver and arrow-use to the dependencies if missing; add the missing CSS lines in the documented order. One existing file, such as src/layouts/menu.js, never means the rest is installed.
  2. Replace an existing file only if the user asks for that file, after showing how it differs from the recipe's copy. If a kept src/components/Link.js (or another file the copied layouts import) lacks the export the import uses, report it instead of changing either file.
  3. Follow the Use section of recipes/layouts/README.md. With createApp(app, options) and quiver:app, the layouts need no registration: add the app and currentUser keys to src/app.config.js, and offer to add meta.nav: { label, order } to the pages that belong in the menu. In a manual setup (main.js calls initRouter()), add default and menu to the layouts passed to createApp() and provide() the keys there instead.

Read the full file on GitHub · 71 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. 19d ago Changed · -4 lines · +3 tokens per session 6d0bf79ef8c7
  2. 20d ago Changed · +17 lines 46b6367bdad1
  3. 21d ago Changed · +11 lines · +19 tokens per session 862e8d1882af
  4. 23d ago Changed 4fbe47f7e5aa
  5. 2mo ago Changed 85a272c719ca
  6. 3mo ago First seen · 47 lines · 0 tokens per session scan A 34bea5929fa7

Subscribe to this mod's changes

add-layout is a command published in the GitHub repository go4cas/quiver (5 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 1,225 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-31.

Related

add-layout compared with commands from other repositories

add-layout next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-layoutgo4cas/quiverCommand52d agoMITA22Claude Code
shadcn-addTryGhost/GhostCommand56ktodayMITA14Claude Code
ui-flow-reviewMRCalderon3D/everything-game-dev-codeCommand11426d agoMITA15Claude Code
design-auditw2ur/claude-code-setupCommand13d agoMITA30Claude Code
a11y-checkDanaSandman/claude-code-pluginsCommand79mo agononeA9Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code