compose-validate

compose-validate is a skill for Claude Code, Codex from RoninForge/roninforge-kotlin-compose. It costs 67 tokens per session (1,358 once invoked), scanned A, original, MIT.

A review checklist for Kotlin, Jetpack Compose, and Android code. It searches the project for older patterns, unsafe shortcuts, and configuration choices that may need attention.

In plain words
What is it for?
Use it when checking AI-generated Android code, moving an app to Compose, or reviewing a project before release.
Why use it?
It helps find code that does not fit a Compose-based Android project or could be harder to maintain. Each search result still needs a developer to review.

Skill for Claude CodeCodex

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/roninforge/roninforge-kotlin-compose/compose-validate
Any agent
npx skills add RoninForge/roninforge-kotlin-compose --skill compose-validate
Clone the repo
git clone --depth 1 https://github.com/RoninForge/roninforge-kotlin-compose

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 compose-validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/roninforge/roninforge-kotlin-compose/compose-validate.svg)](https://agentmods.dev/skills/roninforge/roninforge-kotlin-compose/compose-validate)
Your own site
<a href="https://agentmods.dev/skills/roninforge/roninforge-kotlin-compose/compose-validate"><img src="https://agentmods.dev/badge/skills/roninforge/roninforge-kotlin-compose/compose-validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,358 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.00067 $0.01358
Opus 5 $0.00034 $0.00679
Sonnet 5 $0.00013 $0.00272
Haiku 4.5 $0.00007 $0.00136

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

Security

Grade A, and why

compose-validate 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.

skills/compose-validate/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.

Validate Compose / Kotlin Codebase

When to Use

When auditing AI-generated Android code, reviewing a migration to Compose, or preparing a codebase for shipping.

Instructions

Run each grep against the project root. Each hit is a candidate; review case by case.

View-system leak

# findViewById in a Compose-based module
grep -rn 'findViewById' --include='*.kt' .

# Activity using setContentView(R.layout
grep -rn 'setContentView(R\.layout' --include='*.kt' .

# Android Views imports leaking into Compose code
grep -rnE 'import android\.widget\.(TextView|Button|ImageView|EditText)' --include='*.kt' .

# XML layout files for new screens (audit each: is this in active use?)
find . -name '*.xml' -path '*/res/layout/*'

Material 2 leak

# Material 2 imports in a Material 3 project
grep -rnE 'import androidx\.compose\.material\.[A-Z]' --include='*.kt' .

# Material 2 dependency in build files
grep -rn 'androidx.compose.material:material' --include='*.gradle*' .

Coroutine misuse

grep -rn 'GlobalScope\.' --include='*.kt' .
grep -rnE 'runBlocking\s*\{' --include='*.kt' .

Null safety

# Force-unwrap operator (audit every match)
grep -rn '!!' --include='*.kt' .

!! has legitimate uses but they are rare. Most matches should be ?: / requireNotNull / scoped ?.let.

State / Compose hygiene

# LaunchedEffect with sentinel key
grep -rnE 'LaunchedEffect\(\s*(true|Unit)\s*\)' --include='*.kt' .

# Public MutableStateFlow (no leading _)
grep -rnE '(public\s+|^\s*)val\s+\w+\s*:\s*MutableStateFlow' --include='*.kt' .
grep -rnE '(public\s+|^\s*)val\s+\w+\s*=\s*MutableStateFlow' --include='*.kt' .

# LazyColumn / LazyRow without key
grep -rnE 'items\(\s*\w+\s*\)\s*\{' --include='*.kt' .

# collectAsState without WithLifecycle
grep -rn 'collectAsState(' --include='*.kt' . | grep -v 'WithLifecycle'

# Composables named lowercase
grep -rnE '@Composable\s*$' --include='*.kt' . -A 1 | grep -E 'fun\s+[a-z]'

Read the full file on GitHub · 163 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. 4d ago First seen · 163 lines · 67 tokens per session scan A c365d6f8fd94

Subscribe to this mod's changes

compose-validate is a skill published in the GitHub repository RoninForge/roninforge-kotlin-compose (1 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 1,358 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

e2e-testing

AI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can take screenshots, tap elements, enter text, scroll, inspect UI trees, and verify state with natural language. Use when the user wants to test an app's UI…

ai-dashboad/flutter-skill · 107 tokens

Appium Mobile Testing

Mobile application testing skill using Appium for iOS and Android, covering device capabilities, selectors, gestures, and cross-platform testing strategies.

PramodDutta/qaskills · 32 tokens

Espresso Android Testing

Android UI testing with Espresso framework including view matchers, actions, assertions, idling resources, and RecyclerView testing patterns.

PramodDutta/qaskills · 30 tokens

simview

Open, control, annotate, and send visual feedback from a local iOS Simulator or Android ADB device through SimView, or implement a saved SimView annotation handoff in the current project.

ToolingTools/SimView · 42 tokens

uikit-expert

Write, review, or improve UIKit code following best practices for view controller lifecycle, Auto Layout, collection views, navigation, animation, memory management, and modern iOS 18–26 APIs. Use when building new UIKit features, refactoring existing views or view controllers, reviewing code quality, adopting modern…

zinxj/uikit-expert-skill · 95 tokens

lumo

Mobile UI/UX design intelligence grounded in cognitive science (Fitts, Hick, Gestalt, Nielsen) and platform guidelines (Apple HIG, Material Design). Specialised for Jetpack Compose, Android XML, SwiftUI, and UIKit. Use when: "WCAG", "contrast", "accessibility", "colour pair", "design audit", "mobile UI review"…

OneXeor-Dev/lumo · 104 tokens