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 makifbaysal/tasktrooper --skill android-compose-patternsgit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/android-compose-patterns)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/android-compose-patterns"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/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/makifbaysal/tasktrooper/android-compose-patterns"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/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.00050 | $0.01743 |
| Opus 5.5 | $0.00020 | $0.00697 |
| Sonnet 5.5 | $0.00010 | $0.00349 |
| Haiku 4.5 | $0.00005 | $0.00174 |
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Jetpack Compose Patterns
Overview
Native Android (Jetpack Compose) is chosen when a task needs deep Android integration or the app is already native (see native-vs-flutter-decision). Same discipline as Flutter/SwiftUI: small stateless composables, state hoisted out, reusable atomic components.
Core principle: Composables are stateless functions of state. State is hoisted to a ViewModel; composables emit events upward.
Rules
- Stateless composables + state hoisting. A composable takes its state as parameters and exposes callbacks (
onXxx) — it does not own app state. The screen-level composable connects aViewModelto the stateless UI. ViewModelowns state and logic, exposed asStateFlow/UiState; the composable collects it withcollectAsStateWithLifecycle(). Networking/business rules live in the ViewModel + repository, never in the composable.- Model UI state as a sealed hierarchy:
Loading | Data | Empty | Error—whenover it renders every branch. No happy-path-only screens. - Atomic components: shared library of reusable composables (atoms → molecules → organisms). Reuse before building; grep before adding.
- Material theme, not hardcoded values:
MaterialTheme.colorScheme/typography/ a spacing tokens object (MaterialTheme.spacing, seemobile-design-system-foundation) — never scatteredColor(0xFF...)and magicdp. Support dark theme + dynamic color. remember/derivedStateOfto avoid recomputation; hoistremembered state only when it's genuinely local (scroll, text field).@Previewreusable composables in their key states, and across the matrix (see below).
Edge-to-edge (enforced from targetSdk 35)
- Call
enableEdgeToEdge()beforesetContentin the activity — the opt-out is gone at targetSdk 35+. - Consume insets at the
Scaffold: use itsinnerPaddingandModifier.consumeWindowInsets(innerPadding)on the content so a nested scrollable doesn't double-apply it. - IME padding: apply
Modifier.imePadding()once, at the container that should move with the keyboard — applying it a second time further down the tree produces extra empty space. android:windowSoftInputMode="adjustResize"in the manifest for screens with text input.NavigationSuiteScaffolddoes not automatically propagate its padding to the content slot — apply insets explicitly inside it, don't assume it's handled.
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.
- 1mo ago First seen · 113 lines · 50 tokens per session scan A 91bab5f35b8e
android-compose-patterns is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 1,743 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-10-05.
android-compose-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| android-compose-patternsmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| architecture-designkarthikrshet/aiskills | Skill | 4 | 2d ago | none | A | 60 | Claude Code, Codex |
| wireframepaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 47 | Claude Code, Codex |
| design-critiquepaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 42 | Claude Code, Codex |
| agent-spec-mobile-react-nativeruvnet/ruflo | Skill | 83k | today | MIT | A | 22 | Claude Code |
| paperclip-capsulespaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 41 | Claude Code, Codex |
| platform-conventionsOwl-Listener/designer-skills | Skill | 3.5k | 11d ago | MIT | A | 55 | Claude Code, Codex |