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.
npx agentmods add agents/code-payments/code-android-app/module-scaffoldergit clone --depth 1 https://github.com/code-payments/code-android-appWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00216 | $0.01354 |
| Opus 5 | $0.00108 | $0.00677 |
| Sonnet 5 | $0.00043 | $0.00271 |
| Haiku 4.5 | $0.00022 | $0.00135 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 170 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
- Create
build.gradle.ktswith the correct convention plugin and namespace - Create the package directory with the correct path
- Generate entry-point files following the patterns above
- Add to
settings.gradle.kts— insert theinclude()line in the correct alphabetical position within the existing include block - For feature modules, also:
- Add a
@Serializable data object(ordata classwith params) toAppRouteinapps/flipcash/core/src/main/kotlin/com/flipcash/app/core/AppRoute.kt - Add an
annotatedEntry<AppRoute.Your.Route>to theappEntryProviderinapps/flipcash/app/src/main/kotlin/com/flipcash/app/internal/ui/navigation/AppScreenContent.kt - If deeplink-reachable: add URL pattern to
AppRouterinapps/flipcash/shared/router/
- Add a
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.
- 2d ago First seen · 170 lines · 216 tokens per session scan A 1395c3977b01
module-scaffolder is an agent published in the GitHub repository code-payments/code-android-app (23 stars, last pushed 2d ago), licensed MIT. It adds 216 tokens to every session and 1,354 once invoked, about $0.0011 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.
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. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…
apple-neural-performance-expert
Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…
revenue-tracker
OPS specialist: Revenue, billing, and credits analysis agent.
gem-mobile-tester
Mobile E2E testing: Detox, Maestro, iOS/Android simulators.
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.
aider
Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.