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 skydoves/compose-performance-skills --skill understanding-stability-inferencegit clone --depth 1 https://github.com/skydoves/compose-performance-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/skydoves/compose-performance-skills/understanding-stability-inference)<a href="https://agentmods.dev/skills/skydoves/compose-performance-skills/understanding-stability-inference"><img src="https://agentmods.dev/badge/skills/skydoves/compose-performance-skills/understanding-stability-inference/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/skydoves/compose-performance-skills/understanding-stability-inference"><img src="https://agentmods.dev/badge/skills/skydoves/compose-performance-skills/understanding-stability-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00184 | $0.04016 |
| Opus 5.5 | $0.00074 | $0.01606 |
| Sonnet 5.5 | $0.00037 | $0.00803 |
| Haiku 4.5 | $0.00018 | $0.00402 |
Grade A, and why
understanding-stability-inference 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.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Understanding Stability Inference — read the compiler's mind
Stability is decided by a 12-phase algorithm baked into the Compose compiler. This skill teaches Claude how the algorithm walks a type so it can explain why a report says what it says, and predict classifications before the report is even generated. Pair this with ../diagnosing-compose-stability/SKILL.md (which generates the report) and ../stabilizing-compose-types/SKILL.md (which fixes obvious unstable types). Reach for this skill when the simpler skills produce a verdict that surprises the developer.
When to use this skill
- The developer asks "why is
Fooclassified asruntime stableand notstable?" - A report shows
runtimeorunknownfor a class that "looks fine". - Generics involved:
Box<T>,Wrapper<A, B>,Pair<String, Int>,ImmutableList<User>. - The class lives in another module and ships as a
.class/.kotlin_metadataartifact. - The developer asks about the
$stable: Intfield,@StabilityInferred, or cross-module classification. - A self-referential type (
class Node(val children: List<Node>)) is unstable for non-obvious reasons. - A Java type, an interface, or an abstract base appears in a parameter list and surprises the developer.
When NOT to use this skill
- The fix is mechanical (
var→val,List→ImmutableList,Flowparameter removal). Use../stabilizing-compose-types/SKILL.md. - No report exists yet. Run
../diagnosing-compose-stability/SKILL.mdfirst. - The developer wants CI enforcement of stability. Use
../enforcing-stability-in-ci/SKILL.md.
Prerequisites
- Compose Compiler reports already generated, or at least one
<module>-classes.txtand<module>-composables.txtavailable inbuild/compose_compiler/. - The developer understands the basic stability vocabulary:
stable,unstable,skippable,restartable,@Stable,@Immutable. - Kotlin 2.0+ with the Compose compiler plugin (Strong Skipping default ON).
Workflow — diagnostic question and answer tree
What ships with it
2 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.
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 · 230 lines · 184 tokens per session scan A 84c1e7314e64
understanding-stability-inference is a skill published in the GitHub repository skydoves/compose-performance-skills (536 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 184 tokens to every session and 4,016 once invoked, about $0.0007 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-08-30.
understanding-stability-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| understanding-stability-inferenceskydoves/compose-performance-skills | Skill | 536 | 5mo ago | Apache-2.0 | A | 184 | Claude Code, Codex |
| compose-performancechrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 42 | Claude Code |
| media-playback-footgunsmaxrave-dev/kotlin-footguns | Skill | 2.9k | 1mo ago | GPL-3.0 | A | 58 | Claude Code |
| webview-footgunsmaxrave-dev/kotlin-footguns | Skill | 2.9k | 1mo ago | GPL-3.0 | A | 58 | Claude Code |
| compose-stability-diagnosticsashtanko/compose-android-template | Skill | 14 | 5d ago | MIT | A | 43 | Claude Code, Codex |
| claude-android-ninjaDrjacky/claude-android-ninja | Skill | 143 | 2mo ago | Apache-2.0 | A | 123 | Claude Code, Codex |
| compose-recomposition-performanceashtanko/compose-android-template | Skill | 14 | 5d ago | MIT | A | 78 | Claude Code, Codex |