android-gradle-expert

android-gradle-expert is a skill for Claude Code, Codex from prasad-vennam/Awesome-Android-AI-Agent-Skills. It costs 22 tokens per session (1,240 once invoked), scanned A, original, MIT.

A skill for configuring Android builds with Gradle, the tool that assembles Android applications and manages their libraries. It covers dependencies, app variants, modular projects, build speed, code shrinking, and release signing.

In plain words
What is it for?
Use it to manage Gradle dependencies, configure build types and product flavors, split apps into modules, improve build performance, and prepare signed APK or app-bundle releases.
Why use it?
It helps organize complex Android builds and reduces errors in library versions, modules, build settings, and release setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to manage Gradle dependencies, configure build types and product flavors, split apps into modules, improve build performance, and prepare signed APK or app-bundle releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert
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 prasad-vennam/Awesome-Android-AI-Agent-Skills --skill android-gradle-expert
Clone the repo
git clone --depth 1 https://github.com/prasad-vennam/Awesome-Android-AI-Agent-Skills

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-gradle-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert/github.svg)](https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert)
Your own site
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert/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-gradle-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-gradle-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 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.00022 $0.01240
Opus 5 $0.00011 $0.00620
Sonnet 5 $0.00004 $0.00248
Haiku 4.5 $0.00002 $0.00124

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

Security

Grade A, and why

android-gradle-expert 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 12d 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/android-gradle-expert/SKILL.md · 130 lines

How it starts

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

Android Gradle Expertise 🐘💎

The ultimate guide to modern, efficient, and modular Android builds with Gradle Kotlin DSL and Version Catalogs.

⚡ When to Use

  • Dependency Management: Centralizing versions and libraries.
  • Build Types & Flavors: Implementing environments (staging, prod) or product variants.
  • Modularization: Splitting data, UI, or library modules.
  • Gradle Performance: Optimizing build times.
  • Code Optimization: Configuring R8, ProGuard, and shrinking.
  • Release Automation: Signing APKs/AABs.

🏗️ Foundational Build Files

Before starting any Gradle configuration, ensure the following core files are present and properly configured:

1. gradle-wrapper.properties (8.4+)

  • Rule: ALWAYS use a modern Gradle version (8.4+) to support Kotlin 1.9.x+ and modern AGP (8.3.x+).
  • Core Setting: distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip

2. gradle.properties (AndroidX & Performance)

  • Role: Enabling Modern Android support and build performance.

  • Mandatory:

    android.useAndroidX=true
    android.enableJetifier=true
    org.gradle.parallel=true
    org.gradle.caching=true
    

🏗️ Modern Build Standards

1. Version Catalogs (libs.versions.toml)

  • Rule: Never hardcode versions in build.gradle.kts. Use the catalog.

  • Structure:

    [versions]
    compose = "1.6.0"
    kotlin = "2.0.0"
    
    [libraries]
    compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "compose" }
    
    [plugins]
    android-app = { id = "com.android.application", version = "8.3.0" }
    

2. Kotlin DSL (.kts)

  • Consistently use Kotlin for build scripts for type-safety and IDE support.

3. Convention Plugins

  • For multi-module projects, use "Convention Plugins" (in build-logic) to share common build logic (e.g., Compose setup, Hilt, Room).

4. Crucial Dependencies (Often Missed)

When scaffolding a new Compose project, ensure these are added to prevent compilation/runtime errors:

  • Image Loading: io.coil-kt:coil-compose
  • Hilt Navigation: androidx.hilt:hilt-navigation-compose
  • Adaptive UI: androidx.compose.material3:material3-window-size-class
  • Security: androidx.biometric:biometric (use androidx, NOT android.hardware.biometrics for UI prompts)

Read the full file on GitHub · 130 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. 12d ago First seen · 130 lines · 22 tokens per session scan A af77c81de7d1

Subscribe to this mod's changes

android-gradle-expert is a skill published in the GitHub repository prasad-vennam/Awesome-Android-AI-Agent-Skills (9 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 1,240 once invoked, about $0.0001 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.