verifying-compose-ui

verifying-compose-ui is a skill for Claude Code, Codex from rnett/gradle-mcp. It costs 40 tokens per session (1,192 once invoked), scanned A, original, Apache-2.0.

A skill for checking Jetpack Compose user interfaces by rendering components or previews into images. Jetpack Compose is Android’s UI toolkit, and a preview is a renderable example of a component’s appearance.

In plain words
What is it for?
It is for rendering specific Compose components or previews, capturing visual state changes, and inspecting the resulting images.
Why use it?
It helps detect visual problems and state-transition regressions without starting a full Android emulator or desktop window.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for rendering specific Compose components or previews, capturing visual state changes, and inspecting the resulting images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rnett/gradle-mcp/verifying-compose-ui
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.

Any agent
npx skills add rnett/gradle-mcp --skill verifying-compose-ui
Clone the repo
git clone --depth 1 https://github.com/rnett/gradle-mcp

Made for: Claude Code, Codex.

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 verifying-compose-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/rnett/gradle-mcp/verifying-compose-ui/github.svg)](https://agentmods.dev/skills/rnett/gradle-mcp/verifying-compose-ui)
Your own site
<a href="https://agentmods.dev/skills/rnett/gradle-mcp/verifying-compose-ui"><img src="https://agentmods.dev/badge/skills/rnett/gradle-mcp/verifying-compose-ui/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 verifying-compose-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/rnett/gradle-mcp/verifying-compose-ui"><img src="https://agentmods.dev/badge/skills/rnett/gradle-mcp/verifying-compose-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,192 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.00040 $0.01192
Opus 5 $0.00020 $0.00596
Sonnet 5 $0.00008 $0.00238
Haiku 4.5 $0.00004 $0.00119

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

Security

Grade A, and why

verifying-compose-ui 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.

src/main/skills/verifying-compose-ui/SKILL.md · 146 lines

How it starts

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

Visual Verification of Compose UI Components

Renders Compose UI components and @Preview functions to images for rapid visual verification, enabling state-transition capture and regression detection without a full device or emulator.

Positive Triggers (when to activate)

  • Rendering a specific Composable function or an @Preview to an image.
  • Capturing state transitions of UI components via a sequence of images.
  • Troubleshooting visual regressions or rendering issues in Compose.

Negative Triggers (when NOT to activate)

  • Operating a Gradle build (use using-gradle).
  • Modifying build definitions (use authoring-gradle-builds).
  • Probing non-visual project logic (use interacting-with-project-runtime).

Constitution

  • ALWAYS use this skill for visual verification of Compose components — never attempt to run a full Android emulator or desktop window for visual checks.
  • ALWAYS specify the exact Composable or @Preview function to render.
  • NEVER render components that require platform-specific APIs unavailable on the JVM (e.g., Android-only system services).
  • PREFER desktop Compose rendering over Android rendering when the component is platform-agnostic.

Directives

Identifying the Component

  1. Determine the fully qualified name of the Composable or @Preview function.
  2. Identify the module containing the component (e.g., :app, :ui).
  3. Determine the source set (main, debug, or preview if a dedicated preview source set exists).

Starting a Rendering Session

Call kotlin_repl(command="start", ...) with the appropriate project path and source set, plus Compose-specific dependencies. For general session parameters, lifecycle management, and environment troubleshooting, see REPL Session Setup.

{
  "command": "start",
  "projectPath": ":ui",
  "sourceSet": "main",
  "additionalDependencies": [
    "org.jetbrains.compose.ui:ui-tooling:1.6.0",
    "org.jetbrains.compose.desktop:desktop:1.6.0"
  ]
}

Read the full file on GitHub · 146 lines

Files

What ships with it

3 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. 4d ago Changed 8cf9152a7ffe
  2. 9d ago First seen · 146 lines · 40 tokens per session scan A 62278f276558

Subscribe to this mod's changes

verifying-compose-ui is a skill published in the GitHub repository rnett/gradle-mcp (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 1,192 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-30.