Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/TalissonVitorino/kmp-ios-skillsnpx agentmods add skills/talissonvitorino/kmp-ios-skills/gradle-patternsWrote 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/talissonvitorino/kmp-ios-skills/gradle-patterns)<a href="https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/gradle-patterns"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/gradle-patterns/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/talissonvitorino/kmp-ios-skills/gradle-patterns"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/gradle-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00070 | $0.01882 |
| Opus 5.5 | $0.00028 | $0.00753 |
| Sonnet 5.5 | $0.00014 | $0.00376 |
| Haiku 4.5 | $0.00007 | $0.00188 |
Grade C, and why
gradle-patterns scanned grade C with 1 finding 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 21d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf ~/.gradle/caches How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gradle Build Patterns
Modern Gradle configuration for Android.
Version Catalog
# gradle/libs.versions.toml
[versions]
agp = "9.5.1" # AGP 9.x has built-in Kotlin — see [plugins] note; needs the matching Gradle — see the AGP release notes
kotlin = "2.4.21" # still versions KGP-family plugins (Compose compiler); kotlin-android itself is gone
ksp = "2.3.13" # KSP2 — decoupled from the Kotlin version number
compose-bom = "2026.09.00"
coroutines = "1.11.0"
koin = "4.2.2" # Koin 4.x (major bump from 3.x)
ktor = "3.6.1" # Ktor 3.x (major bump from 2.x)
# compose-compiler: removed. With Kotlin 2.0+ the Compose compiler ships as the
# org.jetbrains.kotlin.plugin.compose Gradle plugin (versioned with Kotlin) — see [plugins].
# A standalone compose-compiler catalog entry is obsolete.
[libraries]
# Compose BOM
compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
compose-ui = { module = "androidx.compose.ui:ui" }
compose-material3 = { module = "androidx.compose.material3:material3" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } # debugImplementation only — never ships in release
# Koin
koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" }
koin-compose = { module = "io.insert-koin:koin-androidx-compose", version.ref = "koin" }
# Ktor Client
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
ktor-serialization-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
# Build-logic classpath (convention plugins)
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "agp" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
# Testing
junit5 = { module = "org.junit.jupiter:junit-jupiter", version = "6.1.3" } # JUnit 6 / Jupiter 6 — requires Java 17+
mockk = { module = "io.mockk:mockk", version = "1.14.11" }
turbine = { module = "app.cash.turbine:turbine", version = "1.2.1" }
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
[bundles]
compose = ["compose-ui", "compose-material3", "compose-ui-tooling-preview"]
ktor = ["ktor-client-core", "ktor-client-okhttp", "ktor-client-content-negotiation", "ktor-serialization-json"]
testing = ["junit5", "mockk", "turbine", "coroutines-test"]
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
android-library = { id = "com.android.library", version.ref = "agp" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
# AGP 9 ships built-in Kotlin, enabled by default: do NOT apply org.jetbrains.kotlin.android —
# it fails with "Cannot add extension with name 'kotlin'". Temporary opt-out (removed in AGP 10):
# android.builtInKotlin=false + android.newDsl=false in gradle.properties.
# Kotlin 2.0+ Compose compiler plugin — still applied separately, versioned with Kotlin
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
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.
- 21d ago Changed 2c84d4f81604
- 3mo ago First seen · 215 lines · 70 tokens per session scan C 7384ec5323ce
gradle-patterns is a skill published in the GitHub repository TalissonVitorino/kmp-ios-skills (16 stars, last pushed 19d ago), licensed MIT. It adds 70 tokens to every session and 1,882 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gradle-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gradle-patternsTalissonVitorino/kmp-ios-skills | Skill | 16 | 19d ago | MIT | C | 70 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 80 | Claude Code, Codex |
| cmp-firebase-connectkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 195 | Claude Code |
| add-featurekvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 169 | Claude Code |
| cmp-auditkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 157 | Claude Code |
| add-screenkvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 202 | Claude Code |
| add-repositorykvdm-co-pilot/create-cmp | Skill | 0 | 7d ago | MIT | A | 181 | Claude Code |