android-profiler

android-profiler is a skill for Claude Code, Codex from arindamxd/camerax-android. It costs 91 tokens per session (452 once invoked), scanned A, a copy of android-profiler, Apache-2.0.

Guidance for recording and analyzing Android app performance data, including traces, heap dumps, method recordings, call-stack samples, and memory allocations.

In plain words
What is it for?
Use it to plan or perform Android performance recordings and analyze bottlenecks, excessive memory use, leaks, or slow launches.
Why use it?
It helps locate slow code, screen stuttering, memory leaks, and startup problems by routing each request to the appropriate profiling workflow.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/arindamxd/camerax-android/android-profiler
Any agent
npx skills add arindamxd/camerax-android --skill android-profiler
Clone the repo
git clone --depth 1 https://github.com/arindamxd/camerax-android

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 android-profiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/arindamxd/camerax-android/android-profiler.svg)](https://agentmods.dev/skills/arindamxd/camerax-android/android-profiler)
Your own site
<a href="https://agentmods.dev/skills/arindamxd/camerax-android/android-profiler"><img src="https://agentmods.dev/badge/skills/arindamxd/camerax-android/android-profiler.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00091 $0.00452
Opus 5 $0.00046 $0.00226
Sonnet 5 $0.00018 $0.00090
Haiku 4.5 $0.00009 $0.00045

Measured 4d ago against content hash 6385aeb41e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

android-profiler 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 4d 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

100% identical to android-profiler — 0 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/android-profiler/SKILL.md · 57 lines

What it actually says

Android Profiler Orchestrator

Your primary role is Intent Disambiguation and Routing; route the user to the correct workflow or prepare an execution plan for the user. Work with the user to finalize the plan and then proceed with the plan execution, addressing singular as well as composite needs.

Prerequisites and Setup

Before executing any workflows, read references/env_setup.md (it sits next to this file in the skill root). It defines what to set $SKILL_ROOT to - the anchor every other path in this skill is written against.

Intent Disambiguation

Do not guess the user's intent. If the user request is not clear, ask the user what they want to do before proceeding.

Recording

Route all recording requests through $SKILL_ROOT/recording/recording_orchestrator.md. This defines guidelines and pre-flight checks or dependency checks that apply to all recording workflows, and ensures you have the necessary setup to proceed. Read the orchestrator and execute the plan it describes based on what the user wants to record (for example, a system trace or a heap dump).

Analysis

Route all analysis requests through $SKILL_ROOT/analysis/analysis_orchestrator.md.

Files

What ships with it

26 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. 4d ago First seen · 57 lines · 91 tokens per session scan A 6385aeb41e96

Subscribe to this mod's changes

android-profiler is a skill published in the GitHub repository arindamxd/camerax-android (132 stars, last pushed 6d ago), licensed Apache-2.0. It adds 91 tokens to every session and 452 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to android-profiler, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

implementing-android-code

This skill should be used when implementing Android code in Bitwarden. Covers critical patterns, gotchas, and anti-patterns unique to this codebase. Triggered by "How do I implement a ViewModel?", "Create a new screen", "Add navigation", "Write a repository", "BaseViewModel pattern", "State-Action-Event", "type-safe…

bitwarden/android · 169 tokens

testing-android-code

This skill should be used when writing or reviewing tests for Android code in Bitwarden. Triggered by "BaseViewModelTest", "BitwardenComposeTest", "BaseServiceTest", "stateEventFlow", "bufferedMutableSharedFlow", "FakeDispatcherManager", "expectNoEvents", "assertCoroutineThrows", "createMockCipher", "createMockSend"…

bitwarden/android · 111 tokens

interacting-with-android-device

Instructions for capturing UI state, comparing with mocks, and interacting with an Android device using MCP tools backed by ADB.

bitwarden/android · 31 tokens

planning-android-implementation

Architecture design and phased implementation planning for Bitwarden Android. Use when planning implementation, designing architecture, creating file inventories, or breaking features into phases. Triggered by "plan implementation", "architecture design", "implementation plan", "break this into phases", "what files do…

bitwarden/android · 68 tokens

evaluating-sdk-internal-updates

Evaluates a bitwarden/android "Update SDK to" PR against the sdk-internal commit range for compile-time and runtime breaking changes, maps affected symbols to Android call sites, and applies clear in-scope fixes. Use when reviewing an SDK bump PR, a bitwardenSdk version change, or triaging sdk-internal breaking…

bitwarden/android · 75 tokens

reviewing-changes

Android-specific code review checklist and MVVM/Compose pattern validation for Bitwarden Android — use this for any review task, even if the user doesn't explicitly ask for a "checklist". Detects change type automatically and loads the right review strategy (feature additions, bug fixes, UI refinements, refactoring…

bitwarden/android · 134 tokens