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.
npx skills add TalissonVitorino/kmp-ios-skills --skill compose-theming-stylesgit clone --depth 1 https://github.com/TalissonVitorino/kmp-ios-skillsWrote 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.
[](https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/compose-theming-styles)<a href="https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/compose-theming-styles"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/compose-theming-styles/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.
<a href="https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/compose-theming-styles"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/compose-theming-styles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01953 |
| Opus 5.5 | $0.00028 | $0.00781 |
| Sonnet 5.5 | $0.00014 | $0.00391 |
| Haiku 4.5 | $0.00007 | $0.00195 |
Grade A, and why
styles 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.
This is a copy
100% identical to styles — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Limitations
- Warn the user that this skill is EXPERIMENTAL and requires updating to alpha version of Compose and opting in to the Experimental APIs.
- This skill only supports custom UI components and custom themes.
- This skill does not support Material Design component Styles.
Prerequisites
1. Upgrade dependencies
- The project must use
compileSdkversion 37 or higher. - The project must use
androidx.compose.foundation:foundationversion1.12.0-alpha01or higher. - Alternatively, the project must use Compose BOM version
2026.04.01or higher. - The API requires this exact package:
import androidx.compose.foundation.style.Style
2. Configure compiler options to enable experimental API
You must opt-in to the experimental API at the project level. Add the following
block to your module's build.gradle.kts:
kotlin {
compilerOptions {
jvmTarget = JvmTarget.fromTarget("17")
freeCompilerArgs.add("-opt-in=androidx.compose.foundation.style.ExperimentalFoundationStyleApi")
}
}
Core workflows and guides
Refer to the official documentation to complete specific development tasks:
- Basic Style Usage: To set backgrounds, sizes, and alignments on a component, follow the Compose Styles Fundamentals Guide.
- State and Transitions: To configure property changes for state shifts (like pressed or hovered), follow the Animations and State-Based Styling Guide.
- Architecture Trade offs: To decide when to use a Style versus a standard Modifier, follow the Styles versus Modifiers Comparison.
- Theme Level Integration: To connect style definitions with custom themes, follow Theming with Styles and Custom Themes in Compose.
What ships with it
5 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.
- references/android/develop/ui/compose/designsystems/custom.md 14 KB
- references/android/develop/ui/compose/styles/fundamentals.md 14 KB
- references/android/develop/ui/compose/styles/state-animations.md 13 KB
- references/android/develop/ui/compose/styles/styles-vs-modifiers.md 4.9 KB
- references/android/develop/ui/compose/styles/theming.md 9.4 KB
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.
- 3mo ago First seen · 227 lines · 70 tokens per session scan A 044ed1a72470
styles is a skill published in the GitHub repository TalissonVitorino/kmp-ios-skills (16 stars, last pushed 19d ago), licensed MIT. It adds 70 tokens to every session and 1,953 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to styles, differing in 2 lines, and is treated as a copy.
styles compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stylesTalissonVitorino/kmp-ios-skills | Skill | 16 | 19d ago | MIT | A | 70 | Claude Code, Codex |
| ui-loopkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | B | 144 | Claude Code |
| kmp-glassmorphism-uiAks-4125/kmp-glassmorphism-skill | Skill | 5 | 4mo ago | MIT | A | 81 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 80 | Claude Code, Codex |
| cmp-firebase-connectkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 195 | Claude Code |
| add-featurekvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 169 | Claude Code |
| cmp-auditkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 157 | Claude Code |