code-android-app: Agent for Claude Code

.claude/agents/module-scaffolder.md

module-scaffolder is an agent for Claude Code from code-payments/code-android-app. It costs 216 tokens per session (1,402 once invoked), scanned A, original, MIT.

An Android project assistant that creates the standard files and folders for a new feature, shared, or library module. A module is a separate part of an Android project that can contain its own code and build settings.

In plain words
What is it for?
Use it when adding a new Android feature area, shared module, or library module to the project.
Why use it?
Creating modules by hand is repetitive and it is easy to omit build configuration, package folders, navigation registration, or the project settings entry.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is code-payments/code-android-app's own configuration. It tells Claude Code how to work on code-android-app itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything code-android-app configures →

Reuse

Borrowing it

Nothing to install: this file belongs to code-payments/code-android-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/code-payments/code-android-app/code/cash/.claude/agents/module-scaffolder.md
Clone the repo
git clone --depth 1 https://github.com/code-payments/code-android-app

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 module-scaffolder

README.md
[![agentmods](https://agentmods.dev/badge/agents/code-payments/code-android-app/module-scaffolder/github.svg)](https://agentmods.dev/agents/code-payments/code-android-app/module-scaffolder)
Your own site
<a href="https://agentmods.dev/agents/code-payments/code-android-app/module-scaffolder"><img src="https://agentmods.dev/badge/agents/code-payments/code-android-app/module-scaffolder/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 module-scaffolder

Your own site · 80×15
<a href="https://agentmods.dev/agents/code-payments/code-android-app/module-scaffolder"><img src="https://agentmods.dev/badge/agents/code-payments/code-android-app/module-scaffolder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,402 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.00216 $0.01402
Opus 5.5 $0.00086 $0.00561
Sonnet 5.5 $0.00043 $0.00280
Haiku 4.5 $0.00022 $0.00140

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

Security

Grade A, and why

module-scaffolder 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 1mo 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/agents/module-scaffolder.md · 172 lines

How it starts

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

You are a module scaffolding specialist for a 100+ module Android project using convention plugins.

Your Mission

When asked to create a new module, generate the complete skeleton following the project's established patterns exactly.

Module Types

Feature Module (apps/flipcash/features/<name>/)

build.gradle.kts:

plugins {
    alias(libs.plugins.flipcash.android.feature)
}

android {
    namespace = "${Gradle.flipcashNamespace}.features.<name>"
}

dependencies {
    // Add feature-specific dependencies here
}

The flipcash.android.feature plugin automatically provides: Compose, Hilt, KSP, Parcelize, and project deps (:libs:logging, :ui:core, :ui:components, :ui:navigation, :ui:resources, :ui:theme, :apps:flipcash:core).

Directory structure:

apps/flipcash/features/<name>/
  build.gradle.kts
  src/main/kotlin/com/flipcash/app/<name>/
    <Name>Screen.kt                    ← Public composable entry point
    internal/
      <Name>ViewModel.kt              ← @HiltViewModel, internal class
      <Name>ScreenContent.kt          ← Internal layout composable

Package: com.flipcash.app.<name>

Shared Module (apps/flipcash/shared/<name>/)

Same plugin (flipcash.android.feature), different namespace and purpose:

build.gradle.kts:

plugins {
    alias(libs.plugins.flipcash.android.feature)
}

android {
    namespace = "${Gradle.flipcashNamespace}.shared.<name>"
}

dependencies {
    // Add shared-specific dependencies here
}

Package: com.flipcash.app.<name>

Library Module (libs/<name>/)

Uses the base library plugin:

build.gradle.kts:

plugins {
    alias(libs.plugins.flipcash.android.library)
}

android {
    namespace = "com.getcode.<name>"
}

dependencies {
    // Add library dependencies here
}

If Compose is needed, use flipcash.android.library.compose instead.

Required Steps

  1. Create build.gradle.kts with the correct convention plugin and namespace
  2. Create the package directory with the correct path
  3. Generate entry-point files following the patterns above
  4. Add to settings.gradle.kts — insert the include() line in the correct alphabetical position within the existing include block
  5. For feature modules, also:
    • Add a @Serializable data object (or data class with params) to AppRoute in apps/flipcash/core/src/main/kotlin/com/flipcash/app/core/AppRoute.kt
    • Add an annotatedEntry<AppRoute.Your.Route> to the appEntryProvider in apps/flipcash/app/src/main/kotlin/com/flipcash/app/internal/ui/navigation/AppScreenContent.kt
    • If deeplink-reachable: add URL pattern to AppRouter in apps/flipcash/shared/router/

Read the full file on GitHub · 172 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. 1mo ago Changed · +2 lines 1b3c57232517
  2. 2mo ago First seen · 170 lines · 216 tokens per session scan A 1395c3977b01

Subscribe to this mod's changes

module-scaffolder is an agent published in the GitHub repository code-payments/code-android-app (23 stars, last pushed today), licensed MIT. It adds 216 tokens to every session and 1,402 once invoked, about $0.0009 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-30.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens

crash-classifier-ios

Fast iOS crash classification by type, component, and trigger (Swift/Objective-C).

IvanLutsenko/awac-ai-agent-plugins · 24 tokens

code-reviewer

Senior Android code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, performance. Use for thorough code review before merge.

GuillemRoca/agent-skills-android · 33 tokens