sigil-layout

sigil-layout is a skill for Claude Code, Codex from Kevin-Liu-01/Sigil-UI. It costs 3 tokens per session (2,104 once invoked), scanned A, original, MIT.

Guidance for building Sigil page layouts from reusable parts such as pages, sections, heroes, dividers, headers, and vertical stacks. The page code describes the content and structure while the primitives handle spacing and grid details.

In plain words
What is it for?
Use it to compose landing pages, dashboards, documentation layouts, app shells, hero sections, and other Sigil-based screens.
Why use it?
It reduces repeated layout calculations and keeps spacing, dividers, and grid alignment consistent across screens.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/audit-grid-alignment.mjs --base=http://localhost:3000.

Good fit Use it to compose landing pages, dashboards, documentation layouts, app shells, hero sections, and other Sigil-based screens.

Compare 6 skills 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/Kevin-Liu-01/Sigil-UI
agentmods
npx agentmods add skills/kevin-liu-01/sigil-ui/sigil-layout

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-layout/github.svg)](https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-layout)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-layout"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-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 sigil-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-liu-01/sigil-ui/sigil-layout"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/sigil-ui/sigil-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,104 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.00003 $0.02104
Opus 5 $0.00002 $0.01052
Sonnet 5 $0.00001 $0.00421
Haiku 4.5 $0.00000 $0.00210

Measured 11d ago against content hash f756de438623, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sigil-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 11d 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.

skills/sigil-layout/SKILL.md · 260 lines

How it starts

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

Sigil Layout

Compose page layouts using Sigil's page, section, rhythm, and structural-visibility primitives.

When to Use

  • User asks to build a page layout, section, or screen
  • User says "layout", "page structure", "grid", "compose a page"
  • User wants to use sigil-grid, sigil-rail, or sigil-cross components
  • User is building a landing page, dashboard, docs layout, or app shell

How to Use

1. Core page primitives

Sigil page code should describe content and structure. Token math, snap padding, gutter phase, and divider stroke placement live inside package primitives.

Component Purpose
SigilPage Page shell with rhythm="locked" / rhythm="hairline" and chrome modes
SigilHero Hero section root with built-in section spacing
SigilHeroLayout / Content / Media Hero composition parts
SigilSection Section band with named space presets
SigilDivider Locked full-cell structural divider band
Hairline Free-flow editorial rule
SigilSectionHeader Canonical label/heading/description stack
SigilActionRow Token-rhythm CTA/action row
SigilStack Token-rhythm vertical stack
SigilMonoBlock Token-rhythm mono/code block
SigilGhostLink Secondary link CTA

2. Page layout pattern

import {
  AccentCTA,
  SigilActionRow,
  SigilDivider,
  SigilGhostLink,
  SigilHero,
  SigilHeroContent,
  SigilHeroLayout,
  SigilHeroMedia,
  SigilPage,
  SigilSection,
  SigilSectionHeader,
} from "@sigil-ui/components";

export function LandingPage() {
  return (
    <SigilPage rhythm="locked" chrome="rails">
      <SigilHero>
        <SigilHeroLayout>
          <SigilHeroContent>
            <SigilSectionHeader
              label="Components"
              heading="Browse the full component system."
              description="Tokens and grid rhythm are handled by Sigil."
            />
            <SigilActionRow>
              <AccentCTA>Browse Components</AccentCTA>
              <SigilGhostLink href="/docs">Read Docs</SigilGhostLink>
            </SigilActionRow>
          </SigilHeroContent>
          <SigilHeroMedia>{/* product visual */}</SigilHeroMedia>
        </SigilHeroLayout>
      </SigilHero>
      <SigilDivider />
    </SigilPage>
  );
}

Read the full file on GitHub · 260 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. 11d ago First seen · 260 lines · 3 tokens per session scan A f756de438623

Subscribe to this mod's changes

sigil-layout is a skill published in the GitHub repository Kevin-Liu-01/Sigil-UI (9 stars, last pushed 1mo ago), licensed MIT. It adds 3 tokens to every session and 2,104 once invoked, about $0.0000 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-31.

Related

Other skills, from other repositories

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

ui-components

UI component library patterns for shadcn/ui and Radix Primitives. Use when building accessible component libraries, customizing shadcn components, using Radix unstyled primitives, or creating design system foundations.

yonatangross/orchestkit · 44 tokens

s2-docs

Look up Spectrum 2 (S2) component documentation, design guidelines, and usage patterns when building with React Spectrum or Spectrum Web Components. Use when the user mentions Spectrum, S2, React Spectrum, RSP, Spectrum Web Components, or SWC, or names a Spectrum component (Button, Picker, ComboBox, TextField…

adobe/spectrum-design-data · 91 tokens

use-design-md

Pull a Korean brand's published design.md from the ko-design-md catalog (getdesign.kr) and apply its design language — colors, typography, spacing, radius, components, do's & don'ts — to the UI you are building in the CURRENT project. Use this skill whenever the user wants to build or restyle UI in the style of a…

CaesiumY/ko-design-md · 226 tokens

better-design

Build, improve, and review production interfaces with the Better Design MCP. Use for frontend design, UI, UX, interactions, flows, forms, navigation, components, styling, design systems, accessibility, responsive layouts, motion, React Native, Expo, Shopify, Three.js, and product video work, especially when creating…

marvkr/better-design · 77 tokens

design-to-code-check

Check alignment between a specific design specification and its code implementation — a focused, single-component or single-screen comparison. Trigger when someone says: does this match the design, check implementation, design code alignment, what's different between the design and the build, spec check…

murphytrueman/design-system-ops · 95 tokens