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.
npx skills add khalilbenaz/claude-skills-collection --skill android-kotlin-advisorgit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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/khalilbenaz/claude-skills-collection/android-kotlin-advisor)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/android-kotlin-advisor"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/android-kotlin-advisor/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/khalilbenaz/claude-skills-collection/android-kotlin-advisor"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/android-kotlin-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00100 | $0.01997 |
| Opus 5 | $0.00050 | $0.00999 |
| Sonnet 5 | $0.00020 | $0.00399 |
| Haiku 4.5 | $0.00010 | $0.00200 |
Grade A, and why
android-kotlin-advisor 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Android Kotlin Advisor
1. Choix d'architecture
| Contexte | Pattern recommandé |
|---|---|
| App simple, 1–3 écrans | MVVM + Repository (StateFlow) |
| App Compose multi-écrans | MVI (état immuable, sealed class UiState) |
| Large équipe / multi-feature | Clean Architecture + multi-module Gradle |
Structure recommandée multi-module :
app/
feature/home/
feature/profile/
core/data/
core/domain/
core/ui/
build-logic/ ← convention plugins partagés
2. UI avec Jetpack Compose
Toujours préférer les composables stateless (state hoisting) :
// BON : state hissé, composable testable et réutilisable
@Composable
fun LoginForm(
state: LoginUiState,
onEmailChange: (String) -> Unit,
onSubmit: () -> Unit,
) { ... }
// MAUVAIS : état caché dans le composable, non testable
@Composable
fun LoginForm() {
var email by remember { mutableStateOf("") }
...
}
Checklist Compose :
- Material 3 BOM :
implementation(platform("androidx.compose:compose-bom:2025.05.00")) - Dynamic Color (Android 12+) :
dynamicLightColorScheme(context) - Navigation :
NavHost+NavController, arguments typés viaNavType - Éviter
LocalContext.currentprofondément imbriqué → passer en paramètre
3. State management
// ViewModel pattern recommandé
@HiltViewModel
class HomeViewModel @Inject constructor(
private val repo: PostRepository
) : ViewModel() {
private val _uiState = MutableStateFlow<HomeUiState>(HomeUiState.Loading)
val uiState: StateFlow<HomeUiState> = _uiState.asStateFlow()
init { loadPosts() }
private fun loadPosts() = viewModelScope.launch {
repo.getPosts()
.catch { _uiState.value = HomeUiState.Error(it.message) }
.collect { _uiState.value = HomeUiState.Success(it) }
}
}
sealed class HomeUiState {
object Loading : HomeUiState()
data class Success(val posts: List<Post>) : HomeUiState()
data class Error(val msg: String?) : HomeUiState()
}
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.
- 8d ago First seen · 251 lines · 100 tokens per session scan A 6d3853c87f16
android-kotlin-advisor is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 18d ago), licensed MIT. It adds 100 tokens to every session and 1,997 once invoked, about $0.0005 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-09-03.
Other skills, from other repositories
kotlin-patterns
Kotlin: coroutines, Flow, sealed/data classes, null safety, Ktor, Compose, KMP. Triggers: Kotlin, coroutine, Flow, suspend, Ktor, Jetpack Compose, KMP, kotlinx.
swift-patterns
Swift/iOS: SwiftUI, Combine, async/await, actors, SPM, Core Data, UIKit interop. Triggers: Swift, SwiftUI, Combine, iOS, Xcode, actor, Core Data, @MainActor, @State.
swift-rules
Swift coding rules: style, patterns, security, testing. Triggers: .swift, Package.swift, .xcodeproj, SwiftUI, Combine, async/await, XCTest.
agent-flutter-expert
Expert Flutter specialist mastering Flutter 3+ with modern architecture patterns. Specializes in cross-platform development, custom animations, native integrations, and performance optimization with focus on creating beautiful, native-performance applications.
generators
Code generator skills that produce production-ready Swift code for common app components. Use when user wants to add logging, analytics, onboarding, review prompts, networking, authentication, paywalls, settings, persistence, error monitoring, CI/CD pipelines, localization, push notifications, deep linking, testing…
android-development
Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.