layout

A code map for the application's layout and navigation, including the header, navigation rail, workspace switcher, live feed, onboarding, and browser security.

In plain words
What is it for?
Use it when changing page layout, navigation, onboarding behavior, workspace selection, live updates, navigation timing, or dashboard security redirects.
Why use it?
It helps developers find the code responsible for what users see and how they move through the application.

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/racecraft-lab/paddock/layout
Any agent
npx skills add racecraft-lab/Paddock --skill layout
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/Paddock

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,162 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.00019 $0.01162
Opus 5 $0.00010 $0.00581
Sonnet 5 $0.00004 $0.00232
Haiku 4.5 $0.00002 $0.00116

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

Security

Grade A, and why

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 2d 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.

.agents/skills/generated/layout/SKILL.md · 90 lines

How it starts

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

Layout

55 symbols | 15 files | Cohesion: 74%

When to Use

  • Working with code in src/
  • Understanding how getOnboardingSessionDecision, readOnboardingDismissedThisSession, markOnboardingReplayFromStart work
  • Modifying layout-related functionality

Key Files

File Symbols
src/components/layout/header-bar.tsx HeaderBar, ModeBadge, Stat, NavigationLatencyStat, update (+9)
src/components/layout/nav-rail.tsx tLabel, tGroup, translateItems, mergedGroups, NavRail (+7)
src/lib/navigation-metrics.ts emitSample, completeNavigationTiming, getNavigationMetrics, navigationMetricEventName
src/app/[[...panel]]/page.tsx Home, markStep, connectWithEnvFallback, connectWithPrimaryGateway
src/lib/onboarding-session.ts getOnboardingSessionDecision, readOnboardingDismissedThisSession, markOnboardingReplayFromStart
src/lib/browser-security.ts normalizeHostname, isLocalDashboardHost, shouldRedirectDashboardToHttps
src/components/layout/live-feed.tsx LiveFeed, FeedItem, formatRelativeTime
src/components/layout/workspace-switcher.tsx WorkspaceSwitcher, selectOption, onOptionKeyDown
src/components/layout/openclaw-doctor-banner.tsx OpenClawDoctorBanner, loadDoctorStatus
src/components/ui/digital-clock.tsx DigitalClock, update

Entry Points

Start here when exploring this area:

  • getOnboardingSessionDecision (Function) — src/lib/onboarding-session.ts:16
  • readOnboardingDismissedThisSession (Function) — src/lib/onboarding-session.ts:34
  • markOnboardingReplayFromStart (Function) — src/lib/onboarding-session.ts:66
  • completeNavigationTiming (Function) — src/lib/navigation-metrics.ts:37
  • isLocalDashboardHost (Function) — src/lib/browser-security.ts:4

Key Symbols

Symbol Type File Line
getOnboardingSessionDecision Function src/lib/onboarding-session.ts 16
readOnboardingDismissedThisSession Function src/lib/onboarding-session.ts 34
markOnboardingReplayFromStart Function src/lib/onboarding-session.ts 66
completeNavigationTiming Function src/lib/navigation-metrics.ts 37
isLocalDashboardHost Function src/lib/browser-security.ts 4
shouldRedirectDashboardToHttps Function src/lib/browser-security.ts 14
UpdateBanner Function src/components/layout/update-banner.tsx 9
OpenClawUpdateBanner Function src/components/layout/openclaw-update-banner.tsx 9
OpenClawDoctorBanner Function src/components/layout/openclaw-doctor-banner.tsx 24
loadDoctorStatus Function src/components/layout/openclaw-doctor-banner.tsx 36
LiveFeed Function src/components/layout/live-feed.tsx 7
Home Function src/app/[[...panel]]/page.tsx 87
markStep Function src/app/[[...panel]]/page.tsx 134
connectWithEnvFallback Function src/app/[[...panel]]/page.tsx 180
connectWithPrimaryGateway Function src/app/[[...panel]]/page.tsx 196
getNavigationMetrics Function src/lib/navigation-metrics.ts 57
navigationMetricEventName Function src/lib/navigation-metrics.ts 83
extractWsHost Function src/lib/agent-card-helpers.ts 40
DigitalClock Function src/components/ui/digital-clock.tsx 4
update Function src/components/ui/digital-clock.tsx 8

Read the full file on GitHub · 90 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. 2d ago First seen · 90 lines · 19 tokens per session scan A 3d78f9862c0e

Subscribe to this mod's changes

layout is a skill published in the GitHub repository racecraft-lab/Paddock (11 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 1,162 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

mission-control

Interact with Mission Control — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via MC APIs.

builderz-labs/mission-control · 34 tokens

unleash

Run as a named worker draining the task queue in my private coordination repo, where each task is a GitHub Issue — claim one task at a time, check blocked-by dependencies, plan with explicit assumptions, execute, validate against acceptance criteria, and record results as comments; then stay in ambush behind a…

rafael-adcp/kraken · 94 tokens

status

Read-only console of a kraken queue — everything the operator reads in one place. Runs kraken.py status, which computes the review queue (awaiting-merge, with PR links), the decision queue (needs-decision), what is still in flight (every live claim ref — worker name + lease age, flagging expired leases), a…

rafael-adcp/kraken · 103 tokens

init

Stand up a kraken coordination repo end to end — verify or create the private repo, install the bundled task template, remove everything an earlier release installed to be executed server-side, and create the canonical labels. Strictly setup, the write-side twin of status's read-only console; it reads and writes no…

rafael-adcp/kraken · 66 tokens

nextjs-app-router-dev

Next.js App Router 开发与排障:Edge middleware、SQLite、session 认证。.

techysy/yangyu-hermes-skills · 25 tokens

refactor

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

itokun99/superspec-ai-workflow · 54 tokens