android-gradlew

android-gradlew is a skill for Claude Code, Codex from kaeawc/auto-mobile. It costs 34 tokens per session (686 once invoked), scanned C, original, Apache-2.0.

A helper for running Android’s Gradle build commands from the android/ folder. Gradle is the build system commonly used by Android projects.

In plain words
What is it for?
It helps run Android tests, lint checks, builds, and tasks for specific modules, often as part of broader validation workflows.
Why use it?
It prevents Android build and validation commands from being run in the wrong directory or with the wrong project setup.

Skill for Claude CodeCodex

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

Good fit It helps run Android tests, lint checks, builds, and tasks for specific modules, often as part of broader validation workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaeawc/auto-mobile/android-gradlew
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 kaeawc/auto-mobile --skill android-gradlew
Clone the repo
git clone --depth 1 https://github.com/kaeawc/auto-mobile

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-gradlew

README.md
[![agentmods](https://agentmods.dev/badge/skills/kaeawc/auto-mobile/android-gradlew/github.svg)](https://agentmods.dev/skills/kaeawc/auto-mobile/android-gradlew)
Your own site
<a href="https://agentmods.dev/skills/kaeawc/auto-mobile/android-gradlew"><img src="https://agentmods.dev/badge/skills/kaeawc/auto-mobile/android-gradlew/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-gradlew

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaeawc/auto-mobile/android-gradlew"><img src="https://agentmods.dev/badge/skills/kaeawc/auto-mobile/android-gradlew.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00034 $0.00686
Opus 5.5 $0.00014 $0.00274
Sonnet 5.5 $0.00007 $0.00137
Haiku 4.5 $0.00003 $0.00069

Measured 28d ago against content hash 29771bf7c7f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

android-gradlew scanned grade C with 2 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 28d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- build-brief is optional and third-party. The owner installs it with Homebrew, pinned: `brew install static-var/tap/build-brief` (pinned version: `<VERSION - owner fills in after installing>`). Never use a `curl | bash`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- build-brief is optional and third-party. The owner installs it with Homebrew, pinned: `brew install static-var/tap/build-brief` (pinned version: `<VERSION - owner fills in after installing>`). Never use a `curl | bash`
skills/android-gradlew/SKILL.md · 35 lines

How it starts

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

Android Gradle Wrapper

Run Android work from android/ via the Gradle wrapper. Never run Gradle tasks from the repo root.

Prerequisites

  • A new worktree needs android/local.properties copied from a working checkout. It is gitignored and Gradle cannot resolve the SDK without it. Never commit it.
  • Never read or print ~/.gradle/gradle.properties; it holds publishing credentials.

Running tasks

  • Default: bash scripts/android/gradlew_task.sh <task> [flags]. It works from any cwd, runs ./gradlew from android/ with the arguments unchanged, and returns Gradle's exit code. Combined stdout and stderr are shown and saved to scratch/gradlew-<UTC timestamp>-<pid>.log; the log path is printed to stderr before and after the run. -h or --help as the first argument prints usage.
  • Modes:
    • Plain (when build-brief is absent, CI is non-empty, or AUTOMOBILE_GRADLEW_NO_BUILD_BRIEF is non-empty): as above, full log shown and tee'd to scratch/.
    • build-brief (when build-brief is on PATH, CI is unset/empty and the opt-out is unset/empty): runs build-brief -- <args> from android/ with BUILD_BRIEF_LOG_DIR=<repo>/scratch. Only build-brief's summary reaches stdout (it prints the raw log path on failure); the wrapper adds no tee and, on a non-zero exit, prints the log directory to stderr. Exit code is Gradle's.
    • Opt out with AUTOMOBILE_GRADLEW_NO_BUILD_BRIEF=1 when you need the full Gradle output.
  • build-brief is optional and third-party. The owner installs it with Homebrew, pinned: brew install static-var/tap/build-brief (pinned version: <VERSION - owner fills in after installing>). Never use a curl | bash installer; agents must not install it.
  • Equivalent without the script: (cd android && ./gradlew <task>).
  • Use module-scoped tasks that match the request, for example :junit-runner:test, :playground:app:test or :auto-mobile-sdk:apiDump.
  • To reproduce CI's Detekt job run the type-resolved detektMain detektTest; a per-module :module:detekt run does not reproduce it.
  • Write long output to scratch/ (the script already does) and read excerpts instead of pasting full logs.

Read the full file on GitHub · 35 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. 28d ago Changed · +18 lines scan A → C 29771bf7c7f8
  2. 1mo ago Changed · +1 lines 99ebbd3ea289
  3. 2mo ago First seen · 16 lines · 34 tokens per session scan A bb94bd20aaa6

Subscribe to this mod's changes

android-gradlew is a skill published in the GitHub repository kaeawc/auto-mobile (55 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 686 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

android-gradlew compared with skills from other repositories

android-gradlew next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-gradlewkaeawc/auto-mobileSkill55todayApache-2.0C34Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill119ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill10k2d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill5.8ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.3ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
app_remixrome-os/romeSkill894todayMITA50Claude Code, Codex