build-kotlin-android

build-kotlin-android is a skill for Claude Code from gaelic-ghost/socket. It costs 66 tokens per session (1,010 once invoked), scanned A, original, Apache-2.0.

A workflow for making changes to Android apps and libraries written mainly in Kotlin. It covers both Jetpack Compose, Android’s newer UI toolkit, and traditional XML-based screens.

In plain words
What is it for?
Use it to add or update screens, activities, fragments, services, background work, navigation, persistence connections, and related validation.
Why use it?
It helps changes fit the existing app structure, lifecycle, state handling, accessibility, resources, tests, and build checks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Part of the android-dev-skills plugin — 6 skills shipped together

Good fit Use it to add or update screens, activities, fragments, services, background work, navigation, persistence connections, and related validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gaelic-ghost/socket/build-kotlin-android
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.

Any agent
npx skills add gaelic-ghost/socket --skill build-kotlin-android
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code.

Or install android-dev-skills, the plugin that ships this one along with the rest of its 6 skills.

Wrote 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.

agentmods badge for build-kotlin-android

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/build-kotlin-android/github.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/build-kotlin-android)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/build-kotlin-android"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/build-kotlin-android/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.

agentmods 80×15 button for build-kotlin-android

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/build-kotlin-android"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/build-kotlin-android.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00066 $0.01010
Opus 5.5 $0.00026 $0.00404
Sonnet 5.5 $0.00013 $0.00202
Haiku 4.5 $0.00007 $0.00101

Measured 3mo ago against content hash 93edaf814ea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-kotlin-android 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 3mo 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.

plugins/android-dev-skills/skills/build-kotlin-android/SKILL.md · 97 lines

How it starts

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

Build Kotlin Android

Purpose

Implement Kotlin-first Android changes while preserving the repository's architecture, UI system, resources, and validation path.

The skill should be deep enough for common Compose and XML UI work without pretending to replace future specialized UI skills.

Source Check

Use repo-local Android files, checked-out dependency sources, and Dash.app docsets opportunistically when they cover exact Gradle, Java, or local command questions. Use official documentation as authority for Android APIs, Compose, AndroidX, lifecycle, resources, accessibility, and version-sensitive behavior:

Translate documentation into repository-specific code, resource, lifecycle, or validation decisions.

Implementation Workflow

  1. Inspect existing conventions:
    • package structure and module boundaries
    • activities, fragments, services, receivers, workers, or navigation owners
    • Compose versus XML/AppCompat ownership
    • ViewModel, state holder, repository, dependency injection, persistence, and background-work patterns
    • resource naming, theming, strings, dimensions, and accessibility conventions
    • existing tests and lint baselines
  2. Preserve architecture:
    • keep UI, state, domain, persistence, and platform boundaries consistent
    • add shared helpers only when they remove real duplication or match an existing local pattern
    • avoid new architecture layers unless the current shape cannot support the requested work
  3. Implement common Compose tasks:
    • compose screens from small functions with explicit state and callbacks
    • preserve state hoisting and unidirectional data flow
    • update previews when the repo already uses them
    • use modifiers, lists, forms, theming, and semantics consistently
    • keep navigation touchpoints aligned with existing navigation owners
  4. Implement common XML/AppCompat tasks:
    • update layouts, resources, themes, strings, and accessibility labels together
    • use view binding or data binding only when the repo already does
    • keep RecyclerView, adapter, fragment, and activity wiring aligned with existing code
    • avoid mixing Compose into XML screens unless the repo already has an interop pattern or the user approves it
  5. Implement platform work:
    • keep lifecycle-aware coroutines scoped correctly
    • keep permissions, manifests, and background work explicit
    • preserve nullability and Java interop annotations for public APIs
  6. Validate narrowly:
    • compile or assemble the affected module
    • run targeted unit tests
    • run lint for affected variants when UI/resources/platform APIs changed
    • hand off emulator/device checks to the Android testing plugin when needed

Read the full file on GitHub · 97 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. 3mo ago First seen · 97 lines · 66 tokens per session scan A 93edaf814ea8

Subscribe to this mod's changes

build-kotlin-android is a skill published in the GitHub repository gaelic-ghost/socket (12 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,010 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

build-kotlin-android compared with skills from other repositories

build-kotlin-android next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-kotlin-androidgaelic-ghost/socketSkill123mo agoApache-2.0A66Claude Code
swiftui-maxDev869/swift-tothemaxSkill75mo agoMITA271Claude Code
apple-engineer-superpowerspiemonte/apple-engineer-superpowersSkill309mo agoMITA82Claude Code
apple-dev-conductorDev869/swift-tothemaxSkill75mo agoMITA156Claude Code
kotlin-specialistJeffallan/claude-skillsSkill13ktodayMITA86Claude Code
swift-expertJeffallan/claude-skillsSkill13ktodayMITA98Claude Code
build-android-binarymicrosoft/power-platform-skillsSkill1.2ktodayMITA150Claude Code