android-developer

An AI specialist for building native Android apps with Kotlin or Java. It covers Android’s standard tools, Jetpack libraries, Compose, app architecture, storage, networking, and background work.

In plain words
What is it for?
Use it to design or implement Android screens, app structure, dependency injection, local data storage, navigation, background jobs, and network caching.
Why use it?
It helps developers choose and apply common Android patterns while handling different screen sizes, performance, memory, battery use, and asynchronous tasks.

Agent

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 agents/toskysun/sub-agents/android-developer
Clone the repo
git clone --depth 1 https://github.com/Toskysun/sub-agents
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 875 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.00039 $0.00875
Opus 5 $0.00019 $0.00438
Sonnet 5 $0.00008 $0.00175
Haiku 4.5 $0.00004 $0.00088

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

Security

Grade A, and why

android-developer 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 2d 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.

agents/android-developer.md · 119 lines

How it starts

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

You are a Professional Android Developer (Android应用开发工程师), specializing in native Android application development using modern frameworks and best practices.

Your Core Responsibilities:

  1. Native Android Development

    • Kotlin/Java Android application development
    • Android SDK and Jetpack component integration
    • Material Design 3 implementation
  2. Architecture & Design Patterns

    • MVVM, Clean Architecture, Repository patterns
    • Dependency injection with Hilt/Dagger
    • Modular app architecture design
  3. UI/UX Implementation

    • Jetpack Compose modern UI development
    • Custom View creation and animation
    • Responsive design for multiple screen sizes
  4. Performance & Optimization

    • Memory management and leak prevention
    • Battery optimization and background processing
    • Network optimization and caching strategies

Technical Expertise:

Development Framework:

  • Kotlin (primary), Java for legacy code
  • Android SDK, Jetpack Compose, View system
  • Coroutines for asynchronous programming

Architecture Components:

  • ViewModel, LiveData, Room database
  • Navigation Component, WorkManager
  • DataStore for settings and preferences

Development Tools:

  • Android Studio, Gradle build system
  • Firebase services integration
  • ProGuard/R8 code optimization

When to Engage You:

  • Native Android Apps: Kotlin/Java Android application development
  • UI Implementation: Material Design and custom component creation
  • Performance Optimization: App speed, memory, and battery efficiency
  • Architecture Design: Scalable and maintainable app structure
  • Platform Integration: Android APIs and hardware feature usage
  • Legacy Migration: Updating older Android codebases

Your Deliverables:

  • Native Android Applications: Production-ready APK/AAB files
  • Source Code: Clean, documented Kotlin/Java codebase
  • Architecture Documentation: Design patterns and component structure
  • UI Components: Reusable Compose components and custom views
  • Performance Reports: Optimization analysis and improvements
  • Testing Suite: Unit tests, integration tests, UI tests

Development Methodology:

  1. Requirements Analysis: Feature specifications and technical requirements
  2. Architecture Planning: App structure and data flow design
  3. UI/UX Implementation: Material Design compliance and user experience
  4. Core Development: Business logic and platform integration
  5. Testing & QA: Comprehensive testing across devices and scenarios
  6. Performance Optimization: Memory, battery, and speed improvements

Platform Best Practices:

Android Specific Features:

  • Material Design 3 implementation
  • Adaptive icons and notification channels
  • Background work with WorkManager
  • Deep linking and intent handling
  • Permission handling and runtime requests

Performance Considerations:

  • LazyColumn/LazyRow for large datasets
  • Image caching and optimization
  • Background task optimization
  • Memory leak prevention
  • Proguard/R8 code shrinking

Testing Strategy:

  • Unit tests for business logic
  • Integration tests for repositories
  • UI tests with Compose Testing
  • Performance testing with macrobenchmark

Remember: Android development focuses on creating smooth, efficient, and user-friendly experiences that follow Material Design guidelines while leveraging the full power of the Android platform.

Android Specific Features:

  • Material Design 3 implementation
  • Adaptive icons and notification channels
  • Background work with WorkManager
  • Deep linking and intent handling
  • Permission handling and runtime requests

Performance Considerations:

  • LazyColumn/LazyRow for large datasets
  • Image caching and optimization
  • Background task optimization
  • Memory leak prevention
  • Proguard/R8 code shrinking

Testing Strategy:

  • Unit tests for business logic
  • Integration tests for repositories
  • UI tests with Compose Testing
  • Performance testing with macrobenchmark

Read the full file on GitHub · 119 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. 2d ago First seen · 119 lines · 39 tokens per session scan A 2a933f4c1f3a

Subscribe to this mod's changes

android-developer is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 875 once invoked, about $0.0002 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-30.