Minitask: Skill for Claude Code

.agents/skills/compose-recomposition-performance/SKILL.md

compose-recomposition-performance is a skill for Claude Code, Codex from costular/Minitask. It costs 65 tokens per session (365 once invoked), scanned A, a copy of compose-recomposition-performance, Apache-2.0.

A troubleshooting guide for slow or excessive recomposition in Jetpack Compose, Android's toolkit for building user interfaces. It helps distinguish unstable inputs from reading changing state at an inefficient stage of rendering.

In plain words
What is it for?
Use it when Compose compiler reports, recomposition counts, or frame-rate behavior suggest a rendering performance problem.
Why use it?
It prevents unrelated performance causes from being mixed together. The guide routes the investigation toward parameter stability, compiler reports, or the phase where state is read.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is costular/Minitask's own configuration. It tells Claude Code and Codex how to work on Minitask itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Minitask configures →

Reuse

Borrowing it

Nothing to install: this file belongs to costular/Minitask. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/costular/Minitask/main/.agents/skills/compose-recomposition-performance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/costular/Minitask

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for compose-recomposition-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/costular/minitask/compose-recomposition-performance/github.svg)](https://agentmods.dev/skills/costular/minitask/compose-recomposition-performance)
Your own site
<a href="https://agentmods.dev/skills/costular/minitask/compose-recomposition-performance"><img src="https://agentmods.dev/badge/skills/costular/minitask/compose-recomposition-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.

agentmods 80×15 button for compose-recomposition-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/costular/minitask/compose-recomposition-performance"><img src="https://agentmods.dev/badge/skills/costular/minitask/compose-recomposition-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00365
Opus 5.5 $0.00026 $0.00146
Sonnet 5.5 $0.00013 $0.00073
Haiku 4.5 $0.00006 $0.00036

Measured 1mo ago against content hash abe925425971, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compose-recomposition-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 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.

Origin

This is a copy

95% identical to compose-recomposition-performance — 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.

.agents/skills/compose-recomposition-performance/SKILL.md · 35 lines

What it actually says

Compose recomposition performance

Router only — deep fixes live in compose-stability-diagnostics and compose-state-deferred-reads.

Two axes

  1. Parameter stability / skipping — can Compose skip this restartable composable; are arguments stable and comparable?
  2. Where State is read — is frame-rate State read during composition vs layout/draw?

Either axis can dominate; they combine independently.

Route here → focused skill

Primary suspicion Next skill
Skipping, unstable params, compiler/composables.txt churn compose-stability-diagnostics
Frame-rate State read phase (composition vs layout/draw) compose-state-deferred-reads
Evidence for both Apply both skills in parallel

Review order

  1. Decide which axis fits the evidence; open the matching skill.
  2. If unclear, sample both — stability churn vs composition-phase reads of fast State.
  3. Re-measure after changes.

When NOT to apply

  • Recomposition tracks real data changes, or the bug is correctness not cost.
  • No profiler / compiler signal suggests a problem.
Changes

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.

  1. 1mo ago First seen · 35 lines · 65 tokens per session scan A abe925425971

Subscribe to this mod's changes

compose-recomposition-performance is a skill published in the GitHub repository costular/Minitask (12 stars, last pushed 6d ago), licensed Apache-2.0. It adds 65 tokens to every session and 365 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to compose-recomposition-performance, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens

argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.

software-mansion/argent · 71 tokens

argent-native-profiler

Native profiling for CPU hotspots, UI hangs, memory issues. iOS via xctrace; Android via Perfetto. Use when diagnosing native-level performance issues.

software-mansion/argent · 37 tokens

compose-performance

Use when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable parameters, frame-rate State reads, cross-phase snapshot back-writing, or @ReadOnlyComposable contracts.

chrisbanes/skills · 42 tokens

extract-apk

A workflow for finding an Android app on a connected device, exporting its APK, and turning it into searchable decompiled source files. An APK is the installable package used by Android apps.

niki914/zafiro · 105 tokens

assistant-add-support

A workflow for adapting an Android voice assistant integration to a new app version. It examines the updated app package, checks whether the integration points changed, and creates and verifies a matching configuration.

niki914/zafiro · 61 tokens