Agent skill

Claude Android Ninja

by Drjacky in Drjacky/claude-android-ninja

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

Apache-2.0Auto-check passedMobile

Install Claude Android Ninja

skills CLI
$ npx skills add Drjacky/claude-android-ninja --skill claude-android-ninja -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Drjacky/claude-android-ninja claude-android-ninja --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-android-ninja
GitHub stars
124
Token cost
~5.2k tokens
SKILL.md length
858 words
Files
101 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

  • Works in 4 steps: This file (SKILL.md) - routing, stop… → references/*-quick.md when listed below… → One target section in the full… → …
  • Compose screens and ViewModels
  • SKILL.md covers Quick Reference, Examples and Troubleshooting
  • Runs Shell and Python scripts from its folder; calls adb

What it does

Claude Android Ninja is an agent skill from Drjacky/claude-android-ninja. Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring, offline-first sync, and version-catalog alignment. Not for iOS, Flutter, React Native, KMP-only shared code without an Android app module, or backend-only APIs with no Android client.

Its SKILL.md is about 5.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 104 other files, including scripts, reference files and assets (for example `.github/FUNDING.yml`, `.github/ISSUE_TEMPLATE/bug_report.md` and `.github/ISSUE_TEMPLATE/feature_request.md`). Compatibility notes: JDK 17+. Android Studio with Android SDK installed. Network access for Gradle dependency downloads. Version pins in assets/templates follow the repo catalog…

It sits in Mobile, covering Android development and Cross-platform mobile apps. It works with Android, Kotlin, Jetpack Compose and Gradle. The repository describes itself as: Agent Skill for Android development with Kotlin and Jetpack Compose, covering modular architecture, Navigation3, Gradle conventions, dependency management, and testing best… The licence is Apache-2.0.

When your agent uses it

  • Compose screens and ViewModels
  • Room 3 and RemoteMediator
  • API 37 / targetSdk migration
  • Play Integrity client wiring

Example prompts

  • “/claude-android-ninja”

Requirements

  • Python 3
  • A Bash shell
  • Compatibility (from SKILL.md): JDK 17+. Android Studio with Android SDK installed. Network access for Gradle dependency downloads. Version pins in assets/templates follow the repo catalog; align AGP/Kotlin/KSP with the user project before applying upgrades.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. This file (SKILL.md) - routing, stop rules, examples.
  2. references/*-quick.md when listed below - required/forbidden + section links (~40 lines).
  3. One target section in the full references/*.md - code samples and checklists only.
  4. INDEX-sections.md - anchor dump only when quick routing is insufficient.

What it can do on your machine

Read from SKILL.md and the folder at commit 5d40f86. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell and Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • adb

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    JDK 17+. Android Studio with Android SDK installed. Network access for Gradle dependency downloads. Version pins in assets/templates follow the repo catalog; align AGP/Kotlin/KSP with the user project before applying upgrades.

    From compatibility in the SKILL.md frontmatter.

Context cost

Claude Android Ninja loads about 5.2k tokens when it runs, and up to ~381k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 858 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~129
When it runs · the whole SKILL.md, loaded when a task matches
~5.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~381k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Drjacky/claude-android-ninja at commit 5d40f86, republished under its Apache-2.0 licence (© Drjacky). 858 words, ~5,195 tokens.

Download SKILL.mdSave it as .claude/skills/claude-android-ninja/SKILL.md (or your agent's skills folder). This skill also uses 100 other files; get the full folder from GitHub.
name
claude-android-ninja
description
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring, offline-first sync, and version-catalog alignment. Not for iOS, Flutter, React Native, KMP-only shared code without an Android app module, or backend-only APIs with no Android client.
compatibility
JDK 17+. Android Studio with Android SDK installed. Network access for Gradle dependency downloads. Version pins in assets/templates follow the repo catalog; align AGP/Kotlin/KSP with the user project before applying upgrades.
license
Apache-2.0
metadata.author
DrJacky
metadata.version
1.0.0
metadata.documentation
https://github.com/Drjacky/claude-android-ninja
metadata.tags
android, kotlin, compose, mvvm, hilt, room, room3, datastore, paging, gradle, mobile

Android Kotlin Compose Development

Context ladder (smaller load first; full references stay complete):

  1. This file (SKILL.md) - routing, stop rules, examples.
  2. references/*-quick.md when listed below - required/forbidden + section links (~40 lines).
  3. One target section in the full references/*.md - code samples and checklists only.
  4. INDEX-sections.md - anchor dump only when quick routing is insufficient.

Forbidden: load INDEX-sections.md or an entire multi-thousand-line reference when one section or a quick file covers the task.

Route tasks through the Quick Reference table. When no row matches, or the task needs greenfield bootstrap: workflows.md. Full file list: INDEX.md.

Required:

  • Existing project: read settings.gradle.kts, gradle/libs.versions.toml, and the app module build file before copying from assets/ - dependencies.md, modularization.md. Stack migrations: migration.md.
  • Greenfield: workflows.md → "Creating a new project?"
  • After module, DI, navigation, Room schema, or AGP/Kotlin/KSP changes: ./gradlew help then :app:assembleDebug (use the real app module name) - gradle-setup.md.

Outside-repo stop rules (do not substitute repo edits): Play upload, tracks, rollout, versionCode - android-ci-cd.md; Play Integrity prerequisites (Console/Cloud setup) - android-security-quick.md; production adb install / pm clear - testing.md.

Quick Reference

Rare or niche topics not listed here are in INDEX.md (complete file list).

TaskReference
Task not in table, greenfield bootstrap, multi-topic setupworkflows.md
Optional Android CLI project discovery, Studio checks, preview, and test-device inspectionworkflows.md ("Using the optional Android CLI for agent workflows?")
Full index of all reference filesINDEX.md
Version catalog, pins, alpha policy, brownfield alignmentdependencies.md
Adding or updating dependencies (catalog aliases)dependencies.md
Multi-module dependenciesdependencies.md
Project structure and modulesmodularization.md
MVVM layers, repositories, DIarchitecture.md
Retrofit / OkHttp, NetworkModule, nullable DTOs, AuthInterceptorarchitecture.md; dependencies.md
DataStore (preferences, typed), Room vs DataStore rulesarchitecture.md
Code formatting (Spotless, spotlessCheck / spotlessApply)assets/convention/QUICK_REFERENCE.md; gradle-setup.md
Compose patterns, motion, animation, modifiers, stabilitycompose-patterns-quick.md
Paging 3 + Room + network (RemoteMediator, remote keys, initialize)compose-patterns.md
Accessibility, TalkBack, label copy, live regions, Espresso a11yandroid-accessibility-quick.md
Notifications, foreground services, MediaStyle, PiP, sharesheetandroid-notifications.md
Media: API 37 background playback, Media3, picking, FileProvider, sharesheetandroid-media.md
Data sync and offline-first patternsandroid-data-sync-quick.md
Material 3 theming, spacing tokens, dynamic colorsandroid-theming-quick.md
Navigation3, deep links, App Links, adaptive layoutsandroid-navigation-quick.md
Kotlin patterns, View lifecycle interopkotlin-patterns.md
Coroutine patterns (StateFlow, Channel, callbackFlow)coroutines-patterns-quick.md
Gradle, product flavors, BuildConfig, build performance, R8gradle-setup.md
Code quality (Detekt convention plugin, CI)code-quality.md
Testing approach (unit, instrumented, Compose UI)testing-quick.md
Internationalization and localizationandroid-i18n.md
Runtime permissions, Photo Picker, API 37 location privacyandroid-permissions.md
Kotlin delegation patternskotlin-delegation.md
Crash reporting (Firebase / Sentry interfaces, PII scrubbing)crashlytics.md
Design patterns (GoF-style, Room FTS)design-patterns-quick.md
Performance, Play Vitals, startup, recomposition, jank, APA, Perfettoandroid-performance.md
Android 17 QPR2 memory budgets on constrained devices (optional)android-performance.md
Debugging, Logcat, ANR, Gradle errors, R8 mapping, memory leaksandroid-debugging.md
Migrations (XML, RxJava, Navigation, Compose, Room 2→3, API 37, 16 KB native, Compose-XML interop)migration.md; 16 KB page size; Compose-XML interop
Show full SKILL.md (408 more words)Show less

Examples

Greenfield Android app with convention plugins

User goal: new repo matching the skill stack.

Actions: copy assets/settings.gradle.kts.template, assets/libs.versions.toml.template, assets/convention/ into build-logic/ per assets/convention/QUICK_REFERENCE.md; wire includeBuild("build-logic"); read modularization.md and gradle-setup.md.

Result: root + app + core modules with version catalog and convention plugins applied.

New feature screen (Compose + ViewModel)

User goal: one new flow in a feature module.

Actions: modularization.md for module naming and dependency direction; compose-patterns-quick.md for Screen, state, effects; kotlin-patterns.md + coroutines-patterns-quick.md for StateFlow / events; architecture.md for domain vs data boundaries.

Result: feature module with Screen composable, ViewModel, UiState, and DI aligned to existing graphs.

Offline-first list with Room 3 and remote API

User goal: cached list + network refresh.

Actions: compose-patterns.md for Paging 3 + RemoteMediator; architecture.md for repository placement; Room 3 + SQLiteDriver per workflows.md (Working with databases) and migration.md if upgrading.

Result: single source of truth in Room, UI driven by PagingData or equivalent pattern from the guide.

Target SDK / compile SDK bump (e.g. API 37)

User goal: migrate toolchain and platform requirements.

Actions: walk migration.md; pin AGP/Kotlin/KSP using gradle-setup.md and dependencies.md; cross-check edge-to-edge, media, security per workflows.md (Migrating to target SDK 37).

Result: compileSdk / targetSdk raised with manifest, Gradle, and feature code adjusted per the migration doc.

Troubleshooting

SymptomLikely causeFix
Gradle sync fails, plugin not found, or version catalog errorsMissing google() / mavenCentral(), wrong plugin id, or catalog alias driftgradle-setup.md; align with assets/libs.versions.toml.template when bootstrapping
KSP errors on Room, or Room 3 builder rejects missing driverRoom 3 (template 3.0.3) expects setDriver(BundledSQLiteDriver()) (or project equivalent)migration.md; modularization.md; architecture.md
Unresolved @TypeConverter, or a DAO return type is rejectedRoom 3 renamed it to @ColumnTypeConverter; non-Flow/suspend return types need @DaoReturnTypeConvertersmigration.md
Release-only crash while the class is listed in seeds.txtAGP 9 strictFullModeForKeepRules: -keep class A no longer keeps its constructorandroid-debugging.md; gradle-setup.md
Gradle sync fails right after bumping Compose, nav3, or androidx.hiltThose libraries compile against compileSdk 37 and require AGP >= 9.2.0migration.md; gradle-setup.md
LAN device discovery or a local HTTP call silently fails at target 37ACCESS_LOCAL_NETWORK is required, or use the permissionless NsdManager pickerandroid-permissions.md; migration.md
Background audio is silent with no exceptionAPI 37 audio hardening - no MediaSession, or no mediaPlayback FGSandroid-media.md
Compose runtime warnings about unstable / skippable recompositionsUnstable parameter types or state held incorrectlycompose-patterns-quick.md; android-performance.md; kotlin-patterns.md
Release build crashes, ClassNotFoundException, or missing R8 rulesShrinking removed reflective or JNI entry pointsandroid-debugging.md; gradle-setup.md
ANR or jank claims without evidenceMain-thread or measurement assumptionsandroid-performance.md or Perfetto before architecture changes

© Drjacky, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 100 other files (scripts, references, assets) in the repository root of Drjacky/claude-android-ninja.

  • SKILL.md
  • .github/FUNDING.yml
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/scripts/check-skill-ergonomics.sh
  • .github/scripts/check-skill-index-line-counts.sh
  • .github/scripts/check-skill-links.sh
  • .github/scripts/check-skill-typography.sh
  • .github/scripts/check-skill-voice.sh
  • .github/scripts/check_skill_ergonomics.py
  • .github/scripts/check_skill_index_line_counts.py
  • .github/scripts/check_skill_links.py
  • .github/scripts/check_skill_typography.py
  • .github/scripts/check_skill_voice.py
  • .github/scripts/normalize_reference_links.py
  • .github/scripts/validate-skill.sh
  • .github/workflows/validate-skill.yml
  • … and 84 more

Open the folder on GitHubat commit 5d40f86

Compare with similar skills

Claude Android Ninja next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude Android Ninja compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Android Ninja this skillDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Android Native DevHHU3637kr/skills145—~5.6kAutomated safety check: PassMIT
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Android Audio E2Ehyochan/react-native-nitro-sound961—~814Automated safety check: PassMIT
Clerk Androidgeekskai/blog1031 repos~2.1kAutomated safety check: PassMIT
Upgrade React NativeShopify/flash-list7.2k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Android Native Dev

    HHU3637kr/skills

    A skill your agent uses when the user is developing, reviewing, or troubleshooting a native Android app, especially Kotlin/Compose, Material Design 3, Gradle project setup, Android accessibility…

    145 GitHub stars~5.6k tokensUpdated 15 days ago
    MobileAuto-check passed
  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Android Audio E2E

    hyochan/react-native-nitro-sound

    Build and run device-backed Android end-to-end checks for react-native-nitro-sound permissions, recording, playback, listeners, pause/resume, seek, speed, audio focus, lifecycle behavior, and rapid…

    961 GitHub stars~814 tokensUpdated 9 days ago
    MobileAuto-check passed
  • Clerk Android

    geekskai/blog

    Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns.

    103 GitHub starsUsed in 1 repo~2.1k tokens
    MobileAuto-check passed
  • Upgrade React Native

    Shopify/flash-list

    Official

    Upgrade the React Native fixture app to a new version. An agent skill from Shopify/flash-list.

    7.2k GitHub stars~1.9k tokensUpdated 7 days ago
    MobileAuto-check passed
  • Developing Mobile Apps

    telagod/code-abyss

    Mobile development knowledge reference covering iOS (SwiftUI), Android (Jetpack Compose), React Native, and Flutter.

    243 GitHub stars~258 tokensUpdated 2 mo ago
    MobileAuto-check passed

Categories

Questions about Claude Android Ninja

What does Claude Android Ninja do?

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Claude Android Ninja is an agent skill from Drjacky/claude-android-ninja. Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

When should I use Claude Android Ninja?

Claude Android Ninja fits situations like: compose screens and ViewModels; room 3 and RemoteMediator; API 37 / targetSdk migration; play Integrity client wiring.

How do I install Claude Android Ninja in Claude Code?

Run `npx skills add Drjacky/claude-android-ninja --skill claude-android-ninja -a claude-code`. Or copy the skill folder (the Drjacky/claude-android-ninja repository) into .claude/skills/claude-android-ninja in your project. Claude Code loads it when a task matches its description.

How do I install Claude Android Ninja in Codex?

Run `npx skills add Drjacky/claude-android-ninja --skill claude-android-ninja -a codex`. Or copy the skill folder (the Drjacky/claude-android-ninja repository) into .agents/skills/claude-android-ninja in your project. Codex loads it when a task matches its description.

Can I use Claude Android Ninja in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Drjacky/claude-android-ninja --skill claude-android-ninja -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-android-ninja, .gemini/skills/claude-android-ninja, .github/skills/claude-android-ninja and .opencode/skills/claude-android-ninja in your project.

What does Claude Android Ninja need to run?

Going by SKILL.md and its folder, Claude Android Ninja needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (adb). Our summary lists: Python 3; A Bash shell. Compatibility (from SKILL.md): JDK 17+. Android Studio with Android SDK installed. Network access for Gradle dependency downloads. Version pins in assets/templates follow the repo catalog; align AGP/Kotlin/KSP with the user project before applying upgrades..

Does Claude Android Ninja access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude Android Ninja safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Claude Android Ninja use?

Claude Android Ninja is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude Android Ninja use?

About 5.2k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 376k tokens, read only when the agent opens those files.

What are the alternatives to Claude Android Ninja?

Skills that share tags, products or a category with Claude Android Ninja: Android Native Dev (HHU3637kr/skills, 145 stars), Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars), Android Audio E2E (hyochan/react-native-nitro-sound, 961 stars) and Clerk Android (geekskai/blog, 103 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Android Ninja?

Drjacky (a GitHub user) maintains it in Drjacky/claude-android-ninja, which has 124 GitHub stars. The repository was last updated on September 29, 2026.

Source: Drjacky/claude-android-ninja on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.