design-ui

design-ui is a skill for Claude Code from ThisIsSadeghi/KMPilot. It costs 22 tokens per session (3,714 once invoked), scanned B, original, MIT.

A design workflow that creates mobile-screen designs in Google Stitch and saves a detailed blueprint for implementing them in Compose, Google's Kotlin UI toolkit.

In plain words
What is it for?
Use it to design feature screens and prepare the files that `/create-feature` or `/modify-feature` use when implementing the design. It handles design work, not code implementation.
Why use it?
It gives developers a stored visual specification, including page markup and design values, so later implementation can follow the approved design.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

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 skills/thisissadeghi/kmpilot/design-ui
Any agent
npx skills add ThisIsSadeghi/KMPilot --skill design-ui
Clone the repo
git clone --depth 1 https://github.com/ThisIsSadeghi/KMPilot

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 design-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/thisissadeghi/kmpilot/design-ui.svg)](https://agentmods.dev/skills/thisissadeghi/kmpilot/design-ui)
Your own site
<a href="https://agentmods.dev/skills/thisissadeghi/kmpilot/design-ui"><img src="https://agentmods.dev/badge/skills/thisissadeghi/kmpilot/design-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,714 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.1 $0.00022 $0.03714
Opus 5 $0.00011 $0.01857
Sonnet 5 $0.00004 $0.00743
Haiku 4.5 $0.00002 $0.00371

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

Security

Grade B, and why

design-ui scanned grade B with 2 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 6d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Linux: sudo apt-get install python3 (or your distro's package manager)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Task, Read, Write, Edit, Glob, Grep, Bash(mkdir *), Bash(ls *), Bash(curl *), Bash(rm *), Bash(touch *), Bash(python3 *), AskUserQuestion, mcp__stitch__create_project, mcp__stitch__get_project, mcp__stitch
.claude/skills/design-ui/SKILL.md · 163 lines

How it starts

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

Design UI

Design UI screens in Google Stitch and produce a Compose Implementation Blueprint with HTML + token inventories persisted for downstream skills.

Architecture Reference: _shared/patterns.md — do not preload this file. Read only the specific section a step explicitly cites (e.g. "Typography" in Step 1.16, Rule 13 in Step 1.17), at the moment that step runs. Every rule this skill depends on is either restated inline in the phase files or cited with its exact section name.

Purpose

design-ui is a design-only skill. It handles all Stitch MCP design work and produces a Compose Implementation Blueprint plus persisted HTML + token inventories under .claude/docs/{featurename}/designs/extracted/. The blueprint references project-wide rules (patterns.md, m3-colors.md, X_COMPONENTS_CATALOG.md) rather than restating them. It does NOT implement code or invoke other skills.

After design-ui completes, the user can invoke /create-feature (new feature, no Kotlin source yet) or /modify-feature (existing feature, Kotlin source already exists) to implement the design. Those skills auto-detect the blueprint and enter design-aware mode.

Invocation modes:

  • /design-ui (no args) — explicitly run Project Init for the repo
  • /design-ui {featurename} — design that feature (its primary screen plus any tightly-related secondary screens — an overlay surface like a bottom sheet/dialog, or a full sibling screen like an edit screen — designed together in the same pass; Project Init auto-runs if needed)

Quick Start (first feature)

  1. (First-time only) Run /design-ui with no arguments to initialize the shared Stitch project + design system from XTheme.kt. If you skip this, any future /design-ui {featurename} call will auto-bootstrap.
  2. Run /design-ui {featurename} (e.g., /design-ui dashboard) — one feature per invocation (the primary screen + any tightly-related secondary screens: an overlay surface like a bottom sheet/dialog, or a full sibling screen like an edit screen). Iterate via approve/edit. Produces a blueprint at .claude/docs/{featurename}/designs/{featurename}_blueprint.md.
  3. Run /create-feature {featurename} (new) or /modify-feature {featurename} (existing) to implement — they auto-detect the blueprint.
  4. Run /verify-ui {featurename} to audit code against the design.

Read the full file on GitHub · 163 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 163 lines · 22 tokens per session scan B f1071c848158

Subscribe to this mod's changes

design-ui is a skill published in the GitHub repository ThisIsSadeghi/KMPilot (57 stars, last pushed 28d ago), licensed MIT. It adds 22 tokens to every session and 3,714 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

compose-component-design

Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.

chrisbanes/skills · 41 tokens

kotlin-android

Use when building or fixing a native Android app in Kotlin and Jetpack Compose on the UDF layered architecture — ViewModel/StateFlow, Hilt, Room, Retrofit, coroutines, type-safe Navigation, and the Gradle/AGP surface. NOT shared Android and iOS UI from one Kotlin codebase (that is compose-multiplatform).

ericrisco/rsc-harness · 78 tokens

compose-multiplatform

Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…

ericrisco/rsc-harness · 80 tokens

android-jetpack-compose-expert-v2

Android Jetpack Compose Expert workflow skill. Use this skill when the user needs Expert guidance for building modern Android UIs with Jetpack Compose, covering state management, navigation, performance, and Material Design 3 and the operator should preserve the upstream workflow, copied support files, and provenance…

diegosouzapw/awesome-omni-skills · 72 tokens

m3-expressive

Material 3 Expressive design patterns for Jetpack Compose - expressive theming, motion physics, shape morphing, typography emphasis, color emphasis, and all 28 expressive components.

ahmed3elshaer/everything-claude-code-mobile · 41 tokens

liquid-glass

Apple Liquid Glass design patterns for SwiftUI iOS 26 - glass effects, morphing, containers, interactive glass, tinting, accessibility, and cross-platform glass design.

ahmed3elshaer/everything-claude-code-mobile · 40 tokens