android-library-pro

android-library-pro is a skill for Claude Code from kelvinkosbab/AppBootstrapAI. It costs 114 tokens per session (943 once invoked), scanned A, original, MIT.

A skill for building, checking, and publishing Android and Kotlin library modules. A library module is reusable code that other Android apps include, often packaged as an AAR file.

In plain words
What is it for?
Use it to set up a library module, review public API and binary compatibility changes, configure consumer rules for code shrinking, or publish signed artifacts with metadata and documentation.
Why use it?
It helps prevent app upgrades from breaking compilation or runtime behaviour when a library changes. It also checks that published libraries contain only intended content and that releases are signed, documented, and reproducible.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to set up a library module, review public API and binary compatibility changes, configure consumer rules for code shrinking, or publish signed artifacts with metadata and documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kelvinkosbab/appbootstrapai/android-library-pro
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 kelvinkosbab/AppBootstrapAI --skill android-library-pro
Clone the repo
git clone --depth 1 https://github.com/kelvinkosbab/AppBootstrapAI

Made for: Claude Code.

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 android-library-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-library-pro/github.svg)](https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-library-pro)
Your own site
<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-library-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-library-pro/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 android-library-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/android-library-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/android-library-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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.00114 $0.00943
Opus 5.5 $0.00046 $0.00377
Sonnet 5.5 $0.00023 $0.00189
Haiku 4.5 $0.00011 $0.00094

Measured 10d ago against content hash 56dffc817ea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-library-pro 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 10d 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.

.claude/skills/android-library-pro/SKILL.md · 39 lines

How it starts

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

Keep an Android library safe to depend on: apps upgrade without compile or runtime breaks, the AAR adds nothing consumers didn't ask for, and every release is signed, documented, and reproducible. This is the deep companion to the always-on android-library-authoring.md rule. android-gradle-architecture-pro reviews build-logic and convention plugins; r8-shrink-pro owns keep-rule syntax and is the authority for consumer-rules.pro content. Report only genuine problems.

Pick the mode from the request:

  • Review a change: classify every public-API and ABI-dump difference (references/api-and-abi.md) and name the required version bump.
  • Set up a module: produce the library build.gradle.kts, explicit API, ABI validation, and consumer rules (references/module-setup.md).
  • Publish: wire signing and the Central Portal, POM, sources and docs jars, and the release workflow (references/publishing.md).
  • Audit: run the checklist below over the whole library.

Load only the reference you need:

  • references/module-setup.md — com.android.library configuration, namespace, SDK levels without targetSdk, resourcePrefix, non-transitive R, aarMetadata, Kotlin apiVersion / coreLibrariesVersion floors, api vs implementation, JVM vs Android vs Multiplatform modules, consumer rules and lintPublish, test fixtures and sample apps, Compose libraries.
  • references/api-and-abi.md — explicit API mode, what breaks source vs binary compatibility in Kotlin, data classes, default parameters and @JvmOverloads, sealed and enum growth, inline functions and @PublishedApi, @RequiresOptIn, Java interop annotations, ABI dumps with binary-compatibility-validator or KGP abiValidation, deprecation levels.
  • references/publishing.md — Maven Central through the Central Portal, namespace verification, signing with in-memory keys, the com.vanniktech.maven.publish plugin and plain maven-publish, POM requirements, Dokka for docs and Javadoc jars, BOMs, versioning, GitHub Packages for internal libraries, and a release workflow.

Review Checklist

  1. Module: com.android.library, namespace, no applicationId or targetSdk, resourcePrefix, not minified, consumer-rules.pro wired.
  2. Floors: minSdk, Kotlin apiVersion / languageVersion, coreLibrariesVersion, and Java bytecode target chosen for consumers, not for the build machine.
  3. Dependencies: api only for types in public signatures; no SNAPSHOT or dynamic versions; nothing pulled in that only the sample uses.
  4. API: explicitApi() on; internal by default; no public data classes; experimental API behind @RequiresOptIn; Java callers covered.
  5. ABI: dump committed, CI fails on unreviewed changes, version bump matches the dump diff.
  6. Deprecation: removals went through WARNING → ERROR → HIDDEN with ReplaceWith.
  7. Publishing: signed, sources and docs jars, complete POM, Gradle Module Metadata, released from CI on a tag.
  8. Docs and samples: KDoc on every public symbol, Dokka builds, a sample app that uses only the public API.

Read the full file on GitHub · 39 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 39 lines · 114 tokens per session scan A 56dffc817ea8

Subscribe to this mod's changes

android-library-pro is a skill published in the GitHub repository kelvinkosbab/AppBootstrapAI (8 stars, last pushed yesterday), licensed MIT. It adds 114 tokens to every session and 943 once invoked, about $0.0005 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-11-21.

Related

android-library-pro compared with skills from other repositories

android-library-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-library-prokelvinkosbab/AppBootstrapAISkill8yesterdayMITA114Claude Code
compose-animationschrisbanes/skillsSkill1.2k2d agoApache-2.0A67Claude Code
compose-focus-navigationchrisbanes/skillsSkill1.2k2d agoApache-2.0A41Claude Code
kotlin-androidericrisco/rsc-harnessSkill6915d agoMITA78Claude Code, Codex
compose-multiplatformericrisco/rsc-harnessSkill6915d agoMITA80Claude Code, Codex
ios-slim-bindingsdotnet/maui-labsSkill244todayMITA97Claude Code, Codex
mapkitTalissonVitorino/kmp-ios-skillsSkill16todayMITA246Claude Code, Codex