Agent skill · Audited from source
Android Agp Upgrade
skill · HoangNguyen0403/agent-skills-standardMIT licenceAudited 14 Oct 2026 · source 6f5be687a268
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 6f5be687a268 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Cite
Cite this page
ModelsAtlas. “Android Agp Upgrade (HoangNguyen0403/agent-skills-standard)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/hoangnguyen0403/android-agp-upgrade
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 6f5be687a268 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherHoangNguyen0403 GitHub userOwner of the repository this skill is read from
- Source folderHoangNguyen0403/agent-skills-standard/skills/android/android-agp-upgradeThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict6f5be687a268A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
---
name: android-agp-upgrade
description: Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
metadata:
triggers:
files:
- 'build.gradle.kts'
- 'build.gradle'
- 'settings.gradle.kts'
- 'gradle.properties'
keywords:
- AGP 9
- AGP upgrade
- Gradle plugin
- built-in Kotlin
- new DSL
- migrate AGP
upstream:
- name: agp
source: manual
pinned: "9.0.0"
reviewed: "2026-07-09"
---
# AGP 9 Upgrade Workflow
## **Priority: P1 (HIGH)**
Step-by-step workflow for upgrading an Android project to AGP 9.
## Prerequisites
- Check current AGP version. If below 8.x, recommend running the AGP Upgrade Assistant in Android Studio first.
- Do NOT use this skill for Kotlin Multiplatform (KMP) projects.
- Verify Gradle, JDK, and Kotlin version compatibility with AGP 9 release notes.
## Step 1: Update dependencies
- If KSP (`com.google.devtools.ksp`) is used, ensure version 2.3.6+.
- If Hilt is used, ensure version 2.59.2+.
- Update AGP to the latest stable 9.x version in the project's build files.
## Step 2: Migrate to built-in Kotlin
AGP 9 includes built-in Kotlin support — the `org.jetbrains.kotlin.android` plugin is no longer needed.
See [migration guide](references/built-in-kotlin.md) for detailed steps.
## Step 3: Migrate to the new AGP DSL
AGP 9 introduces a new DSL for `android {}` blocks. Key changes include namespace handling, build type configuration, and source set declarations.
See [DSL migration](references/dsl-migration.md) for before/after examples.
## Step 4: Migrate kapt to KSP or legacy-kapt
If the project uses `kapt`:
- Prefer migrating to KSP where annotation processors support it (Room, Hilt, Moshi).
- For processors without KSP support, use `legacy-kapt` as a bridge.
## Step 5: Update BuildConfig
If any module uses custom `BuildConfig` fields, update to the new AGP 9 syntax.
## Step 6: Clean up gradle.properties
Remove these flags after migration:
1. `android.builtInKotlin`
2. `android.newDsl`
3. `android.uniquePackageNames`
4. `android.enableAppCompileTimeRClass`
## Guidelines
- Never write or run Python scripts for build migration.
- Never add `android.disallowKotlinSourceSets=false` to `gradle.properties`.
- Do not run `clean` task when verifying — it wastes time.
## Verification
1. `./gradlew help` succeeds.
2. `./gradlew build --dry-run` succeeds.
3. Gradle IDE sync succeeds.
## References
- [Built-in Kotlin Migration](references/built-in-kotlin.md)
- [DSL Migration Guide](references/dsl-migration.md)Excerpt, first 2,669 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6f5be68
git clone https://github.com/HoangNguyen0403/agent-skills-standard git -C agent-skills-standard checkout 6f5be687a268
The author documents no install command, so this uses the repository directly. Our verdict covers commit 6f5be687a268 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
6f5be687a268
Similar skills
HoangNguyen0403/agent-skills-standard
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF…
HoangNguyen0403/agent-skills-standard
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM…
HoangNguyen0403/agent-skills-standard
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation…
HoangNguyen0403/agent-skills-standard
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
HoangNguyen0403/agent-skills-standard
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData…
HoangNguyen0403/agent-skills-standard
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Questions about Android Agp Upgrade
What does the Android Agp Upgrade skill do?
Is Android Agp Upgrade safe to install?
What can Android Agp Upgrade access on my machine?
How current is this page?
Sources
- github.com/HoangNguyen0403/agent-skills-standard/tree/develop/sk — the audited source at commit 6f5be687a268 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Android Agp Upgrade skill do?
- Is Android Agp Upgrade safe to install?
- What can Android Agp Upgrade access on my machine?