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 rcosteira79/android-skills --skill gradle-build-performancegit clone --depth 1 https://github.com/rcosteira79/android-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/rcosteira79/android-skills/gradle-build-performance)<a href="https://agentmods.dev/skills/rcosteira79/android-skills/gradle-build-performance"><img src="https://agentmods.dev/badge/skills/rcosteira79/android-skills/gradle-build-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.
<a href="https://agentmods.dev/skills/rcosteira79/android-skills/gradle-build-performance"><img src="https://agentmods.dev/badge/skills/rcosteira79/android-skills/gradle-build-performance.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.00044 | $0.00737 |
| Opus 5.5 | $0.00018 | $0.00295 |
| Sonnet 5.5 | $0.00009 | $0.00147 |
| Haiku 4.5 | $0.00004 | $0.00074 |
Grade A, and why
gradle-build-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 23d 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 — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gradle Build Performance
This reference covers the workflow discipline plus the patterns that move the needle and are easy to get wrong, not the standard knobs (org.gradle.caching, org.gradle.parallel, org.gradle.jvmargs, android.nonTransitiveRClass, kapt → ksp).
Workflow: measure a baseline (clean + incremental) → ./gradlew assembleDebug --scan (or --profile for a no-upload report) → find the slow phase (configuration / execution / dependency resolution) in the Build Scan timeline → apply one optimization at a time → measure again. Batching changes means you never learn what helped.
Configuration phase — the cheapest wins
- Configuration cache (
org.gradle.configuration-cache=true, AGP 8+) skips the entire configuration phase when inputs are unchanged. Start withorg.gradle.configuration-cache.problems=warn, move tofailonce clean. - No I/O during configuration. A
file("version.txt").readText(), a network call, orexec {}at configuration time breaks the configuration cache and slows every build — defer it to execution:providers.fileContents(layout.projectDirectory.file("version.txt")).asText. - Lazy task registration —
tasks.register("x") { … }(configured only if it's in the execution graph), nevertasks.create("x") { … }(eager). - Convention plugins, not
subprojects {}/allprojects {}— those root-build blocks eagerly evaluate every subproject. Move shared config into convention plugins (seeandroid-skills:android-gradle-logic).
kapt → KSP (mandatory on AGP 9)
KSP is ~2× faster than kapt, and AGP 9 makes the migration mandatory — it has built-in Kotlin support and org.jetbrains.kotlin.kapt is incompatible with it. Migrate to KSP (AGP 9 needs KSP 2.3.6+ and Hilt 2.59.2+; Room and Moshi support KSP too), or fall back to com.android.legacy-kapt (same version as AGP) for annotation processors with no KSP equivalent. The step-by-step migration is in Google's agp-9-upgrade skill; see JetBrains' kotlin-tooling-agp9-migration skill for the broader AGP 9 mechanics.
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.
- 23d ago Changed 77985a5ea729
- 3mo ago First seen · 37 lines · 44 tokens per session scan A 54028baac667
gradle-build-performance is a skill published in the GitHub repository rcosteira79/android-skills (185 stars, last pushed 23d ago), licensed MIT. It adds 44 tokens to every session and 737 once invoked, about $0.0002 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.
gradle-build-performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gradle-build-performancercosteira79/android-skills | Skill | 185 | 23d ago | MIT | A | 44 | Claude Code |
| repair-github-ciTracer-Cloud/opensre | Skill | 18k | today | Apache-2.0 | A | 40 | Claude Code, Codex |
| mcore-create-issueNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 26 | Claude Code |
| operating-github-ci-fixerTracer-Cloud/opensre | Skill | 18k | today | Apache-2.0 | A | 48 | Claude Code, Codex |
| debug-taskmoonrepo/moon | Skill | 4.2k | today | MIT | A | 203 | Claude Code |
| meta-long-running-build-watchdogopensquilla/opensquilla | Skill | 7.2k | 7d ago | Apache-2.0 | A | 131 | Claude Code |
| analyze-cibenchflow-ai/skillsbench | Skill | 1.9k | today | Apache-2.0 | A | 15 | Claude Code |