Kernsmith: Skill for Claude Code

.claude/skills/gum-ui-layout/SKILL.md

gum-ui-layout is a skill for Claude Code from kaltinril/Kernsmith. It costs 110 tokens per session (2,034 once invoked), scanned A, original, MIT.

A set of layout rules for Gum Forms V3, a user-interface toolkit, in the KernSmith desktop app. It describes the app's panels, controls, spacing, styling, and egui-inspired visual conventions.

In plain words
What is it for?
It helps build or adjust panels, settings rows, section headers, themes, and shared UI factory code in KernSmith.
Why use it?
It prevents inconsistent control placement and avoids known layout mistakes when changing this app's interface.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is kaltinril/Kernsmith's own configuration. It tells Claude Code how to work on Kernsmith itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Kernsmith configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kaltinril/Kernsmith. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kaltinril/Kernsmith/main/.claude/skills/gum-ui-layout/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kaltinril/Kernsmith

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaltinril/kernsmith/gum-ui-layout"><img src="https://agentmods.dev/badge/skills/kaltinril/kernsmith/gum-ui-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00110 $0.02034
Opus 5 $0.00055 $0.01017
Sonnet 5 $0.00022 $0.00407
Haiku 4.5 $0.00011 $0.00203

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

Security

Grade A, and why

gum-ui-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 4d 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/gum-ui-layout/SKILL.md · 216 lines

How it starts

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

Gum UI Layout for KernSmith

This skill captures hard-won knowledge about building UI with Gum Forms V3 in the KernSmith desktop app. It covers layout patterns, common pitfalls, and the target visual aesthetic.

Project Structure

  • apps/KernSmith.Ui/Layout/ — Panel classes (FontConfigPanel, EffectsPanel, etc.)
  • apps/KernSmith.Ui/Styling/Theme.cs — Color palette and layout constants
  • apps/KernSmith.Ui/Styling/UiFactory.cs — Shared UI factory methods
  • apps/KernSmith.Ui/KernSmithGame.cs — App init, Gum setup, dark theme colors

Target Aesthetic: egui-Inspired

The UI is moving toward an egui-inspired look. The core principles:

Every Row is Label:Control

  Source:      [Browse for Font...]
  Font:        [dropdown           v]
  Glyphs:      0
  Size:        [32    ] pt
  Rasterizer:  [FreeType           v]

All settings use a consistent two-column layout: fixed-width label on the left, control filling remaining space on the right. This creates visual alignment and rhythm.

Headers Are Just Text

Section headers (FONT FILE, SIZE, ATLAS, etc.) should be plain text with a chevron indicator — no colored background bars, no accent-colored text. Use spacing to separate sections, not decorative containers.

No Decorative Chrome

  • No section header background rectangles
  • No distinct contentWrapper background colors
  • No visible layering between panel, content, and sections
  • Sections separated by spacing alone

Color Hierarchy

  • Accent blue (#0078D4) is reserved for interactive elements only: buttons, active tabs, checked checkboxes
  • Section header text uses Theme.SectionHeaderText (plain light gray), not Theme.Accent
  • Body text uses Theme.Text (200, 200, 200)
  • The Gum dark style colors are set in KernSmithGame.Initialize()

Gum Layout Fundamentals

Container Types and When to Use Them

  • StackPanel — Use for simple rows of controls. Orientation.Horizontal for label:control rows.
  • ContainerRuntime with TopToBottomStack — Use for vertical stacking with StackSpacing. More flexible than StackPanel for mixed content.
  • Grid — Use sparingly. Grid with Star columns doesn't work reliably inside StackPanel parents. Prefer StackPanel with fixed-width labels instead.
  • ScrollViewer — For scrollable content. Always strip the default border (see below).

Read the full file on GitHub · 216 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. 4d ago First seen · 216 lines · 110 tokens per session scan A 64dceecd0aed

Subscribe to this mod's changes

gum-ui-layout is a skill published in the GitHub repository kaltinril/Kernsmith (9 stars, last pushed 11d ago), licensed MIT. It adds 110 tokens to every session and 2,034 once invoked, about $0.0006 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-09-04.

Related

Other skills, from other repositories

polish-ui

Design-quality workflow that combines design taste, aesthetic direction, image-to-code, a Web Interface Guidelines audit, and real-browser verification. Use when building or polishing a UI surface, implementing a mockup/screenshot, or when asked to make a page "look great".

fpindej/netrock · 53 tokens

review-design

Reviews frontend components for design quality and UI/UX standards. Use when checking component styling, responsiveness, accessibility, or when asked to review a design.

fpindej/netrock · 30 tokens

cratis-components-styling

Style and theme an application built on Cratis Components — the stylesheet imports an app must make, the --cratis- design-token layer and the PrimeReact token chain behind it, choosing between the baseline theme, a styled preset, a custom palette, and fully unstyled, dark mode, the PrimeReact pass-through prop, and…

Cratis/AI · 122 tokens

cratis-components-accessibility

Apply the accessibility conventions Cratis Components actually implements — dialog initial-focus discipline and the armed-Enter hazard, supplying every accessible name as a localizable prop, putting the accessible name on the focusable element rather than the wrapper, and using the PrimeReact pass-through prop to…

Cratis/AI · 110 tokens

ui-accessibility

Review interface work for accessible interaction, semantics, and resilient responsive behavior.

sabbour/agentweaver · 18 tokens

ui-styling

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns…

duongthinh03/portfolio · 90 tokens