macrobenchmark-baseline-profiles

macrobenchmark-baseline-profiles is a skill for Claude Code, Codex from GDvega/super-android-kotlin-firebase-skill. It costs 30 tokens per session (688 once invoked), scanned A, original, MIT.

An Android performance-testing guide for Macrobenchmark and Baseline Profiles. A Macrobenchmark measures release-like app behavior, while a Baseline Profile helps Android prepare frequently used code sooner.

In plain words
What is it for?
It is for benchmarking user journeys, generating or checking Baseline Profiles, and comparing performance changes in release-like builds.
Why use it?
It provides a way to measure startup, scrolling and jank before optimizing, under stated device and build conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit It is for benchmarking user journeys, generating or checking Baseline Profiles, and comparing performance changes in release-like builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles
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 GDvega/super-android-kotlin-firebase-skill --skill macrobenchmark-baseline-profiles
Clone the repo
git clone --depth 1 https://github.com/GDvega/super-android-kotlin-firebase-skill

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 macrobenchmark-baseline-profiles

README.md
[![agentmods](https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles/github.svg)](https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles)
Your own site
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles/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 macrobenchmark-baseline-profiles

Your own site · 80×15
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/macrobenchmark-baseline-profiles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 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.00030 $0.00688
Opus 5 $0.00015 $0.00344
Sonnet 5 $0.00006 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 10d ago against content hash 334555a5604e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

macrobenchmark-baseline-profiles 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 10d 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.

skills/macrobenchmark-baseline-profiles/SKILL.md · 111 lines

How it starts

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

Purpose

Measure real release-like performance and create Baseline Profiles for user-critical journeys.

When to use

  • Improving startup time.
  • Measuring scroll jank or Compose performance in release.
  • Adding a macrobenchmark module.
  • Generating or validating Baseline Profiles.
  • Comparing before/after performance changes.

Inputs to inspect

  • settings.gradle.kts
  • Benchmark module setup
  • App build types and profileable config
  • baseline-prof.txt
  • Startup path and critical screens
  • CI benchmark workflow

Required workflow

  1. Identify a real user journey to measure.
  2. Create or update macrobenchmark module.
  3. Run release/profileable benchmarks.
  4. Generate Baseline Profile for startup and critical paths.
  5. Report results and tradeoffs clearly.

Rules

  • Do not measure only debug builds.
  • Do not optimize without baseline numbers.
  • Do not benchmark unrealistic flows.
  • Keep benchmark code separate from production code.
  • Explain device and build conditions.

Local skills to invoke

  • compose-performance
  • gradle-build
  • play-store-release
  • testing

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • skydoves/android-testing-skills — use for deeper Android or Compose UI testing, semantics, assertions or test workflow guidance.
  • skydoves/compose-performance-skills — use for deeper Compose performance, recomposition, stability or release-mode measurement guidance.

Files commonly touched

  • benchmark/build.gradle.kts
  • settings.gradle.kts
  • app/build.gradle.kts
  • baseline-prof.txt
  • *Benchmark.kt
  • BaselineProfileGenerator.kt

Commands to validate

./gradlew connectedBenchmarkAndroidTest
./gradlew generateBaselineProfile
./gradlew assembleRelease

Common mistakes to avoid

  • Running benchmarks on debug.
  • Changing multiple variables before comparison.
  • Ignoring warmup and device state.
  • Failing to commit generated profile updates.

Read the full file on GitHub · 111 lines

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. 10d ago First seen · 111 lines · 30 tokens per session scan A 334555a5604e

Subscribe to this mod's changes

macrobenchmark-baseline-profiles is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 688 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 127 tokens

argent-test-ui-flow

Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.

software-mansion/argent · 64 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens

argent-create-flow

Create, record, edit, replay, or repair reusable Argent flow YAML files. Use when the user asks to record or replay a repeatable device path, set up profiling or an A/B comparison, or invoke the authoring engine behind argent-qa-flows. Also use before repeating three or more interactions. For one-off UI checks…

software-mansion/argent · 100 tokens

argent-ios-device-interact

Drive a physical iPhone through argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind "device") and ONLY then; never for a simulator. For cable, trust, or signing problems read argent-ios-device-setup.

software-mansion/argent · 59 tokens