Borrowing it
Nothing to install: this file belongs to po4yka/RIPDPI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/po4yka/RIPDPI/main/.agents/skills/android-compose-patterns/SKILL.mdgit clone --depth 1 https://github.com/po4yka/RIPDPIWrote 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/po4yka/ripdpi/android-compose-patterns)<a href="https://agentmods.dev/skills/po4yka/ripdpi/android-compose-patterns"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/android-compose-patterns/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/po4yka/ripdpi/android-compose-patterns"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/android-compose-patterns.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.00052 | $0.01507 |
| Opus 5.5 | $0.00021 | $0.00603 |
| Sonnet 5.5 | $0.00010 | $0.00301 |
| Haiku 4.5 | $0.00005 | $0.00151 |
Grade A, and why
android-compose-patterns 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Android Compose Patterns
Overview
RIPDPI uses Jetpack Compose with Material 3 and a sealed-class navigation system. State flows from DataStore through ViewModels to Composables via StateFlow + collectAsStateWithLifecycle().
Diagnostics UI is a current hotspot in this repo. It layers internal UI models over shared diagnostics contracts, exposes stable automation tags through RipDpiTestTags, and routes callback-style actions such as opening Advanced Settings or candidate-detail sheets through screen-level parameters.
Data Flow
DataStore (proto) -> ViewModel (StateFlow + combine) -> Composable (collectAsStateWithLifecycle)
User action -> ViewModel method -> DataStore.updateData { } or ServiceManager.start/stop
One-shot effects -> Channel<Effect> -> receiveAsFlow() -> LaunchedEffect collector
Navigation
Routes are defined as a sealed class in app/.../ui/navigation/Route.kt.
Adding a New Screen
- Add a
@Serializable data object(or data class) to theRoutesealed class withstableRoute,@StringRes titleRes, and an optionalicon. Routes are type-safe; there are no route strings. - If top-level: add it to
Route.topLevel. Add it toRoute.alland tostableRouteMatchersinRipDpiNavHost.kt. - Register
composable<Route.YourRoute> { ... }.RipDpiNavHost.ktis at the 1,000-line arch-health limit: put the route in a feature graph file such asImportNavigation.ktorHistoryNavigation.ktinui/navigation/. - Navigate with the object:
navController.navigate(Route.YourRoute) { launchSingleTop = true }. - Update the two expectation maps in
RipDpiNavHostLogicTestand the route list inscripts/guide/specs/ui-ux-audit.yaml; both have coverage tests.
Navigation Conventions
- Use
launchSingleTop = truefor every navigation; addrestoreState = true(withsaveStateonpopUpTo) only for top-level tab switches - Bottom bar shows only for
isTopLevelDestination()routes - Pass ViewModels to route composables, not raw state
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.
- yesterday First seen · 122 lines · 52 tokens per session scan A 20a5e4d9ddcb
android-compose-patterns is a skill published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 52 tokens to every session and 1,507 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-11-07.
android-compose-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| android-compose-patternspo4yka/RIPDPI | Skill | 85 | yesterday | BSD-3-Clause | A | 52 | Claude Code, Codex |
| solopi-aialipay/SoloPi | Skill | 6.4k | 3d ago | Apache-2.0 | A | 82 | Codex |
| argent-react-native-app-workflowsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| analyzing-android-malware-with-apktoolmukul975/Anthropic-Cybersecurity-Skills | Skill | 36k | 2mo ago | Apache-2.0 | A | 84 | Claude Code |
| compose-multiplatformericrisco/rsc-harness | Skill | 529 | 3d ago | MIT | A | 80 | Claude Code, Codex |
| simvynpranshuchittora/simvyn | Skill | 442 | 10d ago | MIT | A | 63 | Codex |
| ios-slim-bindingsdotnet/maui-labs | Skill | 235 | yesterday | MIT | A | 97 | Claude Code, Codex |