gradle-agp-workflow

gradle-agp-workflow is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 74 tokens per session (1,093 once invoked), scanned A, original, Apache-2.0.

A workflow for maintaining Android builds with Gradle and the Android Gradle Plugin, the tools that compile, test, and package Android projects.

In plain words
What is it for?
Use it to change Gradle or plugin versions, Java toolchains, namespaces, dependencies, flavors, build variants, signing settings, version catalogs, or build-cache boundaries.
Why use it?
It helps identify which build files control versions, dependencies, SDK settings, variants, signing, and generated code.

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/gaelic-ghost/socket/gradle-agp-workflow
Any agent
npx skills add gaelic-ghost/socket --skill gradle-agp-workflow
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

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 gradle-agp-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/gradle-agp-workflow.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/gradle-agp-workflow)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/gradle-agp-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/gradle-agp-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,093 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00074 $0.01093
Opus 5 $0.00037 $0.00547
Sonnet 5 $0.00015 $0.00219
Haiku 4.5 $0.00007 $0.00109

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

Security

Grade A, and why

gradle-agp-workflow 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.

plugins/android-dev-skills/skills/gradle-agp-workflow/SKILL.md · 122 lines

How it starts

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

Android Gradle And AGP Workflow

Purpose

Keep Android build, dependency, variant, and packaging work grounded in the repository's real Gradle and Android Gradle Plugin configuration.

The practical decision is which Gradle files own the change, which Android modules and variants are affected, and which command proves the change without relying on machine-global state.

Source Check

Use repo-local Gradle files, checked-out dependency sources, and Dash.app Gradle or Java docsets opportunistically. Use official documentation as authority for Android-specific and version-sensitive behavior:

Translate documentation into concrete Gradle files, module names, variants, and commands.

Inspection Workflow

  1. Identify the Gradle owner:
    • settings.gradle or settings.gradle.kts
    • root build.gradle or build.gradle.kts
    • module build.gradle or build.gradle.kts
    • gradle/libs.versions.toml
    • gradle.properties
    • gradle/wrapper/gradle-wrapper.properties
  2. Identify Android plugin shape:
    • com.android.application
    • com.android.library
    • com.android.test
    • Kotlin Android plugin aliases or IDs
  3. Inspect toolchain and SDK policy:
    • AGP version
    • Gradle wrapper version
    • Kotlin plugin version
    • Java toolchain or source/target compatibility
    • compileSdk, minSdk, and target SDK policy
  4. Inspect variants and packaging:
    • build types
    • product flavors
    • signing configs
    • namespace and application ID
    • app bundles, APKs, ProGuard/R8, and generated outputs
  5. Inspect dependencies:
    • version catalogs
    • plugin management
    • dependency constraints
    • repositories
    • generated sources, annotation processors, KSP, KAPT, or codegen plugins

Read the full file on GitHub · 122 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. 4d ago First seen · 122 lines · 74 tokens per session scan A e90da9b23f7b

Subscribe to this mod's changes

gradle-agp-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 8d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,093 once invoked, about $0.0004 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.