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/ahmed3elshaer/everything-claude-code-mobile/shared-model-designergit clone --depth 1 https://github.com/ahmed3elshaer/everything-claude-code-mobileWrote 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.
[](https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/shared-model-designer)<a href="https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/shared-model-designer"><img src="https://agentmods.dev/badge/agents/ahmed3elshaer/everything-claude-code-mobile/shared-model-designer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00035 | $0.01882 |
| Opus 5 | $0.00017 | $0.00941 |
| Sonnet 5 | $0.00007 | $0.00376 |
| Haiku 4.5 | $0.00003 | $0.00188 |
Grade A, and why
shared-model-designer 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 5d 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 — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shared Model Designer
Design and implement cross-platform data models for Kotlin Multiplatform.
Core Principles
- Serialization - Use kotlinx.serialization for all shared models
- Immutability - Use
valand data classes - Platform Compatibility - Ensure Swift interop works
- Validation - Domain validation in models
- Type Safety - Avoid platform-specific types
Model Design Checklist
✅ DO
// ✅ Immutable data class
@Serializable
data class User(
val id: String,
val name: String,
val email: String,
val avatarUrl: String?,
val createdAt: Instant,
val metadata: Map<String, String> = emptyMap()
)
// ✅ Sealed hierarchy for state
@Serializable
sealed class Result<out T> {
@Serializable
data class Success<T>(val data: T) : Result<T>()
@Serializable
data class Error(val message: String, val code: String? = null) : Result<Nothing>()
}
// ✅ Platform-agnostic types
@Serializable
data class Timestamp(val value: Long) {
fun toInstant(): Instant = Instant.fromEpochMilliseconds(value)
companion object {
fun now(): Timestamp = Timestamp(Clock.System.now().toEpochMilliseconds())
}
}
❌ DON'T
// ❌ Platform-specific types (won't serialize)
@Serializable
data class Event(
val date: Date, // ❌ Use Instant/Long
val file: File, // ❌ Use String path
val uuid: UUID // ❌ Use String, or custom serializer
)
// ❌ Mutable collections
@Serializable
data class UsersResponse(
val users: MutableList<User> // ❌ Use List
)
// ❌ Complex nested nulls
@Serializable
data class Complex(
val field: Map<String, List<String?>?> // ❌ Simplify
)
// ❌ var in data classes
@Serializable
data class User(
var name: String // ❌ Use val
)
iOS Interop Annotations
@ObjCName for Swift
// ✅ Add @ObjCName for clean Swift API
@ObjCName("UserModel")
@Serializable
data class User(
@ObjCName("userId")
val id: String,
@ObjCName("fullName")
val name: String,
@ObjCName("emailAddress")
val email: String
)
// Swift usage:
// let user = UserModel(userId: "123", fullName: "John", emailAddress: "[email protected]")
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.
- 5d ago First seen · 360 lines · 35 tokens per session scan A 2c8c05fd57b4
shared-model-designer is an agent published in the GitHub repository ahmed3elshaer/everything-claude-code-mobile (65 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 1,882 once invoked, about $0.0002 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
SwiftUI Screen Builder
Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.
Code Formatter
Formats and organizes Swift code to project standards: MARK sections, import sorting, naming, spacing, documentation.
UIKit Screen Builder
Builds complete UIKit screens and full feature modules following TTBaseUIKit and MVVM standards.
kotlin-currency
Kotlin & Analysis API currency expert. Researches the latest official Kotlin, K2 Analysis API, KSP, and kotlinx releases on official sources and compares them against this repo's pins. Use for the kotlin slice of a currency review, or ad-hoc "is our Kotlin/Analysis-API stack current?" questions.
ios-developer
Develop native iOS applications with Swift/SwiftUI. Masters iOS 18, SwiftUI, UIKit integration, Core Data, networking, and App Store optimization. Use PROACTIVELY for iOS-specific features, App Store optimization, or native iOS development.
code-auditor
Use this agent for code-level audits: concurrency, memory, Swift performance, Codable, or database schema. Supports --focus parameter to target specific audit areas. user: "Check my code for Swift 6 concurrency issues" assistant: [Launches code-auditor with --focus concurrency] user: "Can you check my code for memory…