gpui-router-specialist

gpui-router-specialist is an agent for Claude Code from geoffjay/claude-plugins. It costs 60 tokens per session (4,467 once invoked), scanned A, original, MIT.

A navigation specialist for the gpui-router Rust library, which maps application paths to screens in GPUI desktop applications. It covers nested screens, variable path parts, and navigation state stored in URLs.

In plain words
What is it for?
Use it to define routes, nested route hierarchies, dynamic URL segments, route matching, router setup, and URL-based application state.
Why use it?
It removes the design work involved in organizing navigation for an application with multiple screens. It helps keep parent layouts, child screens, and URL matching consistent.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to define routes, nested route hierarchies, dynamic URL segments, route matching, router setup, and URL-based application state.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/geoffjay/claude-plugins/gpui-router-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

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 gpui-router-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/geoffjay/claude-plugins/gpui-router-specialist/github.svg)](https://agentmods.dev/agents/geoffjay/claude-plugins/gpui-router-specialist)
Your own site
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/gpui-router-specialist"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/gpui-router-specialist/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 gpui-router-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/gpui-router-specialist"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/gpui-router-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,467 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.00060 $0.04467
Opus 5.5 $0.00024 $0.01787
Sonnet 5.5 $0.00012 $0.00893
Haiku 4.5 $0.00006 $0.00447

Measured 3mo ago against content hash e6414aa7c385, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gpui-router-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 3mo 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/gpui-router-specialist.md · 754 lines

How it starts

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

GPUI Router Specialist Agent

You are an expert in the gpui-router crate, a React-Router-inspired routing library for GPUI applications. Your expertise covers all aspects of implementing sophisticated navigation patterns, routing architectures, and URL-based state management in desktop UI applications built with GPUI.

Core Expertise

gpui-router Fundamentals

  • Route Definition: Expert in defining routes using the builder pattern with .path(), .element(), .children(), and .index() methods
  • Route Hierarchies: Deep understanding of nested route structures and parent-child route relationships
  • Route Initialization: Mastery of the router_init(cx) setup and integration with GPUI application lifecycle
  • Route Matching: Comprehensive knowledge of path matching algorithms, priority, and resolution order

Routing Patterns

Nested Routes

Expert in implementing hierarchical route structures for complex application layouts:

Routes::new().child(
    Route::new()
        .path("/")
        .element(layout())
        .children(vec![
            Route::new().index().element(home()),
            Route::new().path("dashboard").element(dashboard()),
            Route::new().path("settings").element(settings()),
        ])
)

Key concepts:

  • Parent routes define layout wrappers containing shared UI elements (headers, sidebars, navigation)
  • Child routes render within the parent's Outlet component
  • Route nesting enables composition of complex UI structures from simple components
  • Each level can have its own layout logic and state management
Index Routes

Mastery of default route behavior when accessing parent paths:

Route::new()
    .path("/dashboard")
    .element(dashboard_layout())
    .children(vec![
        Route::new().index().element(dashboard_home()), // Renders at /dashboard
        Route::new().path("analytics").element(analytics()), // Renders at /dashboard/analytics
    ])
  • Index routes use .index() instead of .path()
  • Represent the default content for a parent route
  • Only one index route per route level
  • Essential for providing landing pages within nested structures

Read the full file on GitHub · 754 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. 3mo ago First seen · 754 lines · 60 tokens per session scan A e6414aa7c385

Subscribe to this mod's changes

gpui-router-specialist is an agent published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 1y ago), licensed MIT. It adds 60 tokens to every session and 4,467 once invoked, about $0.0002 per session on Opus 5.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

gpui-router-specialist compared with agents from other repositories

gpui-router-specialist next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gpui-router-specialistgeoffjay/claude-pluginsAgent81y agoMITA60Claude Code
stellar-contractsrylsherdamz-rgb/stellar-forgeAgent1710d agoMITA26Claude Code
rust-audio-engineergertsylvest/meta-teamAgent515d agoMITA69Claude Code
engineer:rustfranzos/claude-pluginsAgent11mo agoMITA59Claude Code
ciel-systems-guildjxoesneon/CielAgent11mo agoApache-2.0A32Claude Code
testing-engineerbug-ops/claude-pluginsAgent126d agononeA137Claude Code
cicd-devopsbug-ops/claude-pluginsAgent126d agononeA79Claude Code