DroidconKotlin CLAUDE.md

DroidconKotlin CLAUDE.md is an instructions file for coding agents from touchlab/DroidconKotlin. It costs 397 tokens per session, scanned A, original, Apache-2.0.

Project instructions for DroidconKotlin, a Kotlin Multiplatform app with Android, iOS, and web versions. They describe shared UI and logic, build and test commands, libraries, and coding conventions.

In plain words
What is it for?
Building or testing the Android, iOS, and web apps, checking Kotlin style, formatting code, and working with shared Compose UI, Koin dependency injection, and repository-based data access.
Why use it?
They show developers how to build and check each part of the project while keeping shared code consistent across platforms. They also document the required formatting and architecture patterns.

Instructions file

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.

agentmods
npx agentmods add instructions/touchlab/droidconkotlin/claude-md
Clone the repo
git clone --depth 1 https://github.com/touchlab/DroidconKotlin

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 DroidconKotlin CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/touchlab/droidconkotlin/claude-md.svg)](https://agentmods.dev/instructions/touchlab/droidconkotlin/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/touchlab/droidconkotlin/claude-md"><img src="https://agentmods.dev/badge/instructions/touchlab/droidconkotlin/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 397 This file is loaded in full into every session.
When invoked 397 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00397 $0.00397
Opus 5 $0.00198 $0.00198
Sonnet 5 $0.00079 $0.00079
Haiku 4.5 $0.00040 $0.00040

Measured 4d ago against content hash fd3b42857f27, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

DroidconKotlin CLAUDE.md 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 4d 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.md · 46 lines

What it actually says

DroidconKotlin Development Guide

Build Commands

  • Build: ./gradlew build
  • Clean build: ./gradlew clean build
  • Check (includes lint): ./gradlew check
  • Android lint: ./gradlew lint
  • Run tests: ./gradlew test
  • ktlint check: ./gradlew ktlintCheck
  • ktlint format: ./gradlew ktlintFormat
  • Build ios: cd /Users/kevingalligan/devel/DroidconKotlin/ios/Droidcon && xcodebuild -scheme Droidcon -sdk iphonesimulator

Modules

  • android: The Android app
  • ios: The iOS app
  • web: The Kotlin/JS web app
  • shared: Shared logic code
  • shared-ui: UI implemented with Compose Multiplatform and used by Android, iOS, and web

Libraries

  • Hyperdrive: KMP-focused architecture library. It is open source but rarely used by other apps. See docs/HyperDrivev1.md

Code Style

  • Kotlin Multiplatform project (Android/iOS/Web)
  • Use ktlint for formatting (version 1.4.0)
  • Follow dependency injection pattern with Koin
  • Repository pattern for data access
  • Compose UI for shared UI components
  • Class/function names: PascalCase for classes, camelCase for functions
  • Interface implementations: Prefix with Default (e.g., DefaultRepository)
  • Organize imports by package, no wildcard imports
  • Type-safe code with explicit type declarations
  • Coroutines for asynchronous operations
  • Proper error handling with try/catch blocks

Claude Document Formats and Instructions

See APISummaryFormat.md and StructuredInstructionFormats.md

Architecture Notes

  • App startup logic is handled in co.touchlab.droidcon.viewmodel.ApplicationViewModel

Current Task

Cleaning up the app and prepping for release

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. 4d ago First seen · 46 lines · 397 tokens per session scan A fd3b42857f27

Subscribe to this mod's changes

DroidconKotlin CLAUDE.md is an instructions file published in the GitHub repository touchlab/DroidconKotlin (1,146 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 397 tokens to every session, about $0.0020 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.