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.
npx agentmods add skills/geoffjay/claude-plugins/gpui-stylingnpx skills add geoffjay/claude-plugins --skill gpui-stylinggit clone --depth 1 https://github.com/geoffjay/claude-pluginsWrote 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.
[](https://agentmods.dev/skills/geoffjay/claude-plugins/gpui-styling)<a href="https://agentmods.dev/skills/geoffjay/claude-plugins/gpui-styling"><img src="https://agentmods.dev/badge/skills/geoffjay/claude-plugins/gpui-styling.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00043 | $0.03840 |
| Opus 5 | $0.00022 | $0.01920 |
| Sonnet 5 | $0.00009 | $0.00768 |
| Haiku 4.5 | $0.00004 | $0.00384 |
Grade A, and why
gpui-styling 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.
How it starts
The opening of the file, as written. The whole thing — 618 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GPUI Styling
Metadata
This skill provides comprehensive guidance on GPUI's styling system, theme management, and visual design patterns for creating beautiful, consistent user interfaces.
Instructions
Styling API Fundamentals
Basic Styling
use gpui::*;
div()
// Colors
.bg(rgb(0x2563eb)) // Background
.text_color(white()) // Text color
.border_color(rgb(0xe5e7eb)) // Border color
// Spacing
.p_4() // Padding: 1rem
.px_6() // Padding horizontal
.py_2() // Padding vertical
.m_4() // Margin
.gap_3() // Gap between children
// Sizing
.w_64() // Width: 16rem
.h_32() // Height: 8rem
.w_full() // Width: 100%
.h_full() // Height: 100%
// Borders
.border_1() // Border: 1px
.rounded_lg() // Border radius: large
Color Types
// RGB from hex
let blue = rgb(0x2563eb);
// RGBA with alpha
let transparent_blue = rgba(0x2563eb, 0.5);
// HSLA (hue, saturation, lightness, alpha)
let hsla_color = hsla(0.6, 0.8, 0.5, 1.0);
// Named colors
let white = white();
let black = black();
Layout with Flexbox
div()
.flex() // Enable flexbox
.flex_row() // Horizontal layout
.flex_col() // Vertical layout
.items_center() // Align items center
.justify_between() // Space between
.gap_4() // Gap between items
.child(/* ... */)
.child(/* ... */)
Theme System
Basic Theme Structure
use gpui::*;
#[derive(Clone)]
pub struct AppTheme {
pub colors: ThemeColors,
pub typography: Typography,
pub spacing: Spacing,
pub shadows: Shadows,
}
#[derive(Clone)]
pub struct ThemeColors {
// Base colors
pub background: Hsla,
pub foreground: Hsla,
// UI colors
pub primary: Hsla,
pub primary_foreground: Hsla,
pub primary_hover: Hsla,
pub secondary: Hsla,
pub secondary_foreground: Hsla,
pub secondary_hover: Hsla,
pub accent: Hsla,
pub accent_foreground: Hsla,
pub destructive: Hsla,
pub destructive_foreground: Hsla,
// Neutral colors
pub muted: Hsla,
pub muted_foreground: Hsla,
pub border: Hsla,
pub input: Hsla,
pub ring: Hsla,
}
#[derive(Clone)]
pub struct Typography {
pub font_sans: Vec<String>,
pub font_mono: Vec<String>,
pub text_xs: Pixels,
pub text_sm: Pixels,
pub text_base: Pixels,
pub text_lg: Pixels,
pub text_xl: Pixels,
pub text_2xl: Pixels,
}
#[derive(Clone)]
pub struct Spacing {
pub xs: Pixels,
pub sm: Pixels,
pub md: Pixels,
pub lg: Pixels,
pub xl: Pixels,
}
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.
- 4d ago First seen · 618 lines · 43 tokens per session scan A 94e01a726670
gpui-styling is a skill published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 10mo ago), licensed MIT. It adds 43 tokens to every session and 3,840 once invoked, about $0.0002 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…