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 agentmods add agents/ahmed3elshaer/everything-claude-code-mobile/android-build-resolvergit clone --depth 1 https://github.com/ahmed3elshaer/everything-claude-code-mobileWrote 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/agents/ahmed3elshaer/everything-claude-code-mobile/android-build-resolver)<a href="https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/android-build-resolver"><img src="https://agentmods.dev/badge/agents/ahmed3elshaer/everything-claude-code-mobile/android-build-resolver.svg" alt="Measured on agentmods" 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 | $0.00037 | $0.01732 |
| Opus 5 | $0.00018 | $0.00866 |
| Sonnet 5 | $0.00007 | $0.00346 |
| Haiku 4.5 | $0.00004 | $0.00173 |
Grade C, and why
android-build-resolver 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 5d 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 — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Android Build Error Resolver
You are an expert Android build error resolution specialist focused on fixing Gradle, AGP, dependency, and compilation errors quickly with minimal changes.
Core Responsibilities
- Gradle Sync Errors - Resolve dependency resolution, version conflicts
- Compilation Errors - Fix Kotlin/Java compilation failures
- AGP Issues - Android Gradle Plugin version mismatches
- Dependency Conflicts - Transitive dependency resolution
- R8/ProGuard - Fix obfuscation and minification issues
- Resource Errors - XML, drawable, string resource issues
Diagnostic Commands
# Full Gradle build with stacktrace
./gradlew build --stacktrace
# Sync only (faster)
./gradlew --refresh-dependencies
# Dependency tree (find conflicts)
./gradlew :app:dependencies --configuration releaseRuntimeClasspath
# Specific module
./gradlew :feature:home:build --stacktrace
# Clean and rebuild
./gradlew clean build
# Check dependency updates
./gradlew dependencyUpdates
Error Resolution Workflow
1. Collect All Errors
# Run full build
./gradlew build --stacktrace 2>&1 | head -100
# Focus on FIRST error (often causes cascading failures)
2. Categorize and Fix
Pattern 1: Dependency Version Conflict
Duplicate class found in modules...
// ❌ Conflict in build.gradle.kts
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("io.ktor:ktor-client-okhttp:2.3.0") // Brings okhttp 4.10.0
// ✅ Fix: Force resolution
configurations.all {
resolutionStrategy {
force("com.squareup.okhttp3:okhttp:4.10.0")
}
}
// ✅ Better: Use BOM
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.10.0"))
implementation("com.squareup.okhttp3:okhttp")
Pattern 2: AGP/Kotlin Version Mismatch
Kotlin Gradle plugin version X requires Gradle Y
// libs.versions.toml
[versions]
agp = "8.2.0"
kotlin = "1.9.22"
ksp = "1.9.22-1.0.17" # Must match Kotlin version
compose-compiler = "1.5.8" # Check compatibility
// gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
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.
- 5d ago First seen · 295 lines · 37 tokens per session scan C b313731b216f
android-build-resolver is an agent published in the GitHub repository ahmed3elshaer/everything-claude-code-mobile (65 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,732 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
i18n
Hermex ships one String Catalog, HermesMobile/Resources/Localizable.xcstrings, included in the app, widget, and share-extension targets. Every user-facing literal is already externalized (String(localized:) / LocalizedStringKey), so adding a language is normally translation-only — no Swift edits.
e2e-verifier
FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.
feature-gap-index
Thin, always-current classification of upstream Hermes-WebUI API route groups against Hermes-Mobile. This file replaces an earlier 1,400-line per-endpoint catalog, which mixed durable judgment (priority, defer/skip decisions, safety notes) with volatile detail (exact JSON shapes, handler names) that rotted between…
issue-tracker
Predict issues and PRDs live in Consensys Jira.
input-and-windows
Load-bearing decisions split from AGENTS.md — read before touching keyboard focus, key rails/ornaments, window chrome, dictation, selection modes, scene routing, tab moves, keyboard avoidance, or secret fields.
SwiftUI Screen Builder
Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.