android-memory-storage-pro

android-memory-storage-pro is a skill for Claude Code from kelvinkosbab/AppBootstrapAI. It costs 134 tokens per session (1,307 once invoked), scanned A, original, MIT.

A guide for finding memory leaks and device-storage problems in Android apps, including both Compose and traditional View interfaces.

In plain words
What is it for?
Use it to review Android ownership, listeners, fragments, bitmaps, caches, memory callbacks, files, preferences, databases, permissions, and backup rules.
Why use it?
It helps trace objects that prevent screens or contexts from being released, oversized image data, low-memory failures, and unsuitable storage choices.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to review Android ownership, listeners, fragments, bitmaps, caches, memory callbacks, files, preferences, databases, permissions, and backup rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro
Install

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.

Any agent
npx skills add kelvinkosbab/AppBootstrapAI --skill android-memory-storage-pro
Clone the repo
git clone --depth 1 https://github.com/kelvinkosbab/AppBootstrapAI

Made for: Claude Code.

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 android-memory-storage-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro/github.svg)](https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro)
Your own site
<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro/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 android-memory-storage-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-memory-storage-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,307 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 original No closer match found 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.00134 $0.01307
Opus 5.5 $0.00054 $0.00523
Sonnet 5.5 $0.00027 $0.00261
Haiku 4.5 $0.00013 $0.00131

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

Security

Grade A, and why

android-memory-storage-pro 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 today.

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.

.claude/skills/android-memory-storage-pro/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit Android code for memory and storage problems. This is the deep-review companion to the always-on android-memory-management.md and android-storage-management.md rules: the rules steer while writing; this skill traces ownership, footprint, and file placement across whole features and the manifest. Report only genuine problems.

Applies to Compose and View-based apps. If asked to fix rather than review, make the changes directly and summarize them in the same file-by-file format.

Review process:

  1. Leaks. For every long-lived object (singletons, objects, companion objects, ViewModels, Hilt @Singletons, services), check what it holds and what it registers, using references/leaks.md. Confirm the reference chain from a GC root before reporting.
  2. Footprint. Check image loading, in-memory caches, list loading, trim-memory handling, and manifest heap flags using references/memory-footprint.md.
  3. Storage. For every file write, preference, database, permission, and backup rule, check location, API, threading, size caps, and backup behavior using references/storage-layout.md.
  4. Evidence. When the user reports a symptom (OOM, LMK kills, ANRs on disk, storage growth), or before you claim a fix worked, use references/measuring.md to reproduce and confirm it with LeakCanary, the Memory Profiler, dumpsys, StrictMode, or ApplicationExitInfo.

For a partial review (only leaks, only storage), load only the matching reference.

Core Instructions

  • A leak finding names the chain: AnalyticsTracker (singleton) → listener → ProfileFragment → its view tree. "Might leak" without a chain isn't a finding.
  • Size findings in bytes: "decodes a 4000×3000 photo as ARGB_8888 for a 64dp avatar: ~48 MB" is actionable.
  • Storage findings name the consequence: Play rejection (broad storage or media permissions), restore crash (Keystore-encrypted file in backup), data loss (needed files in cacheDir), ANR (commit() on the main thread), or growth without bound.
  • Severity by user impact: crash or data loss (OOM on a common flow, restore crash, Play policy violation, secrets in plain files) > degraded (leaked screens, unbounded caches, main-thread I/O, backup bloat) > hygiene (no StrictMode in debug, missing cache cap on a small cache).
  • Cross-reference, don't duplicate: coroutine scope lifetime belongs to android-coroutines-pro; recomposition cost to android-compose-pro; R8 and resource shrinking to r8-shrink-pro; module placement of data sources to android-modularization-pro.

Read the full file on GitHub · 70 lines

Files

What ships with it

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

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. today First seen · 70 lines · 134 tokens per session scan A 1fd4a1acd1f4

Subscribe to this mod's changes

android-memory-storage-pro is a skill published in the GitHub repository kelvinkosbab/AppBootstrapAI (8 stars, last pushed today), licensed MIT. It adds 134 tokens to every session and 1,307 once invoked, about $0.0005 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-06.

Related

android-memory-storage-pro compared with skills from other repositories

android-memory-storage-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-memory-storage-prokelvinkosbab/AppBootstrapAISkill8todayMITA134Claude Code
kmp-glassmorphism-uiAks-4125/kmp-glassmorphism-skillSkill53mo agoMITA81Claude Code, Codex
argent-settings-permissionssoftware-mansion/argentSkill3.2kyesterdayApache-2.0A140Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.2kyesterdayApache-2.0A71Claude Code, Codex
mobile-automationmobile-next/mobile-mcpSkill10k4d agoApache-2.0A58Claude Code, Codex
sceneviewsceneview/sceneviewSkill1.4kyesterdayApache-2.0A156Codex
argent-tv-interactsoftware-mansion/argentSkill3.2kyesterdayApache-2.0A107Claude Code, Codex