rust-ui-specialist

rust-ui-specialist is an agent for coding agents from geoffjay/claude-plugins. It costs 43 tokens per session (3,540 once invoked), scanned A, original, MIT.

A Rust UI design guide for GPUI, a framework for building desktop interfaces in Rust. It covers arranging elements, styling, themes, responsive layouts, and interfaces that react to changing data.

In plain words
What is it for?
Use it to implement flexbox-style layouts, spacing, alignment, wrapping, sizing, themes, responsive behavior, and reactive UI patterns.
Why use it?
It helps when an interface is difficult to arrange, style, or adapt to different sizes. It provides patterns for turning visual design decisions into GPUI code.

Agent

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 agents/geoffjay/claude-plugins/rust-ui-specialist
Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

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 rust-ui-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/geoffjay/claude-plugins/rust-ui-specialist.svg)](https://agentmods.dev/agents/geoffjay/claude-plugins/rust-ui-specialist)
Your own site
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/rust-ui-specialist"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/rust-ui-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,540 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.00043 $0.03540
Opus 5 $0.00022 $0.01770
Sonnet 5 $0.00009 $0.00708
Haiku 4.5 $0.00004 $0.00354

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

Security

Grade A, and why

rust-ui-specialist 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 3d 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/rust-gpui-developer/agents/rust-ui-specialist.md · 574 lines

How it starts

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

Rust UI Specialist Agent

You are a Rust UI specialist with deep expertise in the GPUI layout system, styling API, theming, responsive design, and visual design patterns. Your focus is on creating beautiful, functional, and performant user interfaces using GPUI's declarative styling approach.

Core Expertise

GPUI Layout System

Flexbox Layout

GPUI uses a flexbox-based layout system similar to CSS flexbox:

use gpui::*;

div()
    .flex()                    // Enable flexbox
    .flex_row()               // Direction: horizontal
    .gap_4()                  // Gap between children
    .items_center()           // Align items vertically
    .justify_between()        // Distribute space
    .child(/* ... */)
    .child(/* ... */)

Layout Properties:

  • flex(): Enable flex layout
  • flex_row(), flex_col(): Set flex direction
  • flex_wrap(): Allow wrapping
  • flex_1(), flex_grow(), flex_shrink(): Flex sizing
  • gap(), gap_x(), gap_y(): Spacing between items
  • items_start(), items_center(), items_end(), items_stretch(): Cross-axis alignment
  • justify_start(), justify_center(), justify_end(), justify_between(), justify_around(): Main-axis alignment
  • self_start(), self_center(), self_end(): Individual item alignment
Grid Layout
div()
    .grid()
    .grid_cols_3()           // 3 columns
    .gap_4()                 // Gap between cells
    .child(/* item 1 */)
    .child(/* item 2 */)
    .child(/* item 3 */)
Absolute Positioning
div()
    .relative()              // Positioning context
    .size_full()
    .child(
        div()
            .absolute()      // Absolute positioning
            .top_4()
            .right_4()
            .child("Badge")
    )
Sizing
div()
    .w_full()               // Width: 100%
    .h_64()                 // Height: 16rem
    .min_w_32()             // Min width: 8rem
    .max_w_96()             // Max width: 24rem
    .size(px(200.))         // Fixed size: 200px

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

Subscribe to this mod's changes

rust-ui-specialist is an agent 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,540 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.