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/compose-performance/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/compose-performance)<a href="https://agentmods.dev/skills/po4yka/ripdpi/compose-performance"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/compose-performance/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/compose-performance"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/compose-performance.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.00041 | $0.01863 |
| Opus 5.5 | $0.00016 | $0.00745 |
| Sonnet 5.5 | $0.00008 | $0.00373 |
| Haiku 4.5 | $0.00004 | $0.00186 |
Grade A, and why
compose-performance 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Compose Performance -- RIPDPI
1. Stability system
The Compose compiler decides at compile time whether each class is stable (safe to skip recomposition when equal) or unstable (must always recompose). Classes from non-Compose modules (protobuf, java.time, Room entities) are unstable by default unless declared in the stability config.
@Immutable -- all public properties never change after construction. Use for sealed-class hierarchies and pure value types (DiagnosticsUiModels, HistoryUiModels, theme tokens like Color, Spacing, Shape, Surface, Motion).
@Stable -- property reads return equal values between recompositions, or the runtime is notified on change. Use for state holders with callbacks or MutableState (SettingsUiModels: DesyncCoreUiState, ProxyNetworkUiState, etc.).
Project conventions
ui/screens/diagnostics/state/DiagnosticsUiModels.kt-- 60+ annotations, @Immutable for data, @Stable for models with callbacks.ui/screens/settings/SettingsUiModels.kt-- @Stable on all section state holders.ui/screens/history/HistoryUiModels.kt-- @Immutable on all models (pure data).activities/MainViewModel.kt-- @Immutable on sealed states.ui/theme/-- @Immutable on all token classes.
Rule: every new class passed to a @Composable MUST be annotated. Explicit annotation prevents regressions when a field type changes.
Stability configuration file
app/compose-stability.conf marks external types as stable:
com.poyka.ripdpi.proto.*,com.google.protobuf.GeneratedMessageLitejava.time.{Instant,Duration,LocalDate,LocalDateTime,ZonedDateTime,ZoneId}kotlin.time.Duration,kotlinx.collections.immutable.*com.poyka.ripdpi.data.{TcpChainStepModel,UdpChainStepModel,ActivationFilterModel,NumericRangeModel}
Add new non-Compose-module types here rather than wrapping in UI models.
2. Compiler metrics
Convention plugin ripdpi.android.compose.gradle.kts enables reports when
CI=true or -Pripdpi.composeReports=true:
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 · 176 lines · 41 tokens per session scan A a7318f914702
compose-performance is a skill published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 41 tokens to every session and 1,863 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.
compose-performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compose-performancepo4yka/RIPDPI | Skill | 85 | yesterday | BSD-3-Clause | A | 41 | Claude Code, Codex |
| argent-react-native-app-workflowsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| argent-react-native-optimizationsoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 71 | Claude Code, Codex |
| argent-metro-debuggersoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 104 | Claude Code, Codex |
| argent-native-profilersoftware-mansion/argent | Skill | 3.2k | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| compose-performancechrisbanes/skills | Skill | 1.1k | 2d ago | Apache-2.0 | A | 42 | Claude Code |
| extract-apkniki914/zafiro | Skill | 341 | 5d ago | MIT | A | 105 | Claude Code, Codex |