mobile-ai-agents
CLAUDE.md29 starsChanged 6 months agoMITView on GitHub
This file is read automatically by Claude Code when the repo is opened. It tells Claude how to navigate, use, and contribute to this toolkit. The complete AI dev team for mobile engineers. 19 personality-driven agents, 35 composable skills, and 13 end-to-end workflows for Android, iOS, Flutter, React Native, Unity, and Unreal. Each agent has a name, a personality, a mission, and a real worked example. Drop any agent into Claude Code as a system prompt and it works immediately.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 108
Follow the Input Format
- Very specific: line 120
Add to your Claude Code config (~/.claude/settings.json):
- Distinctive: line 213
Check New Architecture compatibility on all new code
- Distinctive: line 218
Update() / Tick() logic that can be event-driven = WARNING findings
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — Mobile AI Agents
This file is read automatically by Claude Code when the repo is opened. It tells Claude how to navigate, use, and contribute to this toolkit.
What This Repo Is
The complete AI dev team for mobile engineers. 19 personality-driven agents, 35 composable skills, and 13 end-to-end workflows for Android, iOS, Flutter, React Native, Unity, and Unreal.
Each agent has a name, a personality, a mission, and a real worked example. Drop any agent into Claude Code as a system prompt and it works immediately.
Quick Start
# Install everything
./install.sh
# Install by platform
./install.sh android
./install.sh ios
./install.sh flutterRepo Map
mobile-ai-agents/
├── agents/ ← 19 personality-driven agents
│ ├── android/axiom/ ← AXIOM (Android architect)
│ ├── android/anr-investigation/ ← FREEZE (ANR investigator)
│ ├── android/compose-navigation/ ← NAVIGATOR (Compose navigation)
│ ├── android/memory-leak-analyzer/ ← RETAINER (memory leaks)
│ ├── ios/swift/ ← SWIFT (iOS engineer)
│ ├── flutter/dart/ ← DART (Flutter specialist)
│ ├── react-native/bridge/ ← BRIDGE (RN optimizer)
│ ├── gaming/
│ │ ├── forge/ ← FORGE (Unity architect)
│ │ └── unreal/ ← UNREAL (Unreal specialist)
│ └── cross-platform/
│ ├── appforge/ ← APPFORGE (idea-to-store)
│ ├── crasher/ ← CRASHER (crash investigator)
│ ├── sentinel/ ← SENTINEL (security auditor)
│ ├── launchpad/ ← LAUNCHPAD (ASO writer)
│ ├── mobile-harness/ ← MOBILE-HARNESS (build/test/verify)
│ ├── mobile-memory/ ← Mobile Memory (context preservation)
│ ├── pipeline/ ← PIPELINE (CI/CD)
│ ├── perf/ ← PERF (performance)
│ ├── scribe/ ← SCRIBE (release notes)
│ └── figma/ ← FIGMA (design-to-code)
├── skills/ ← 35 composable skill modules
│ ├── android/ ← ANR, memory leak, TDD, Compose review, ...
│ ├── ios/ ← ios-tdd, swiftui-review, swift-concurrency, ...
│ ├── flutter/ ← flutter-tdd, flutter-review, widget-extract, ...
│ ├── react-native/ ← rn-tdd, rn-review, new-arch-migrate, ...
│ ├── gaming/ ← unity-tdd, shader-gen, game-perf, blueprint-to-cpp
│ └── cross-platform/ ← grill-mobile, crash-triage, perf-audit, ...
├── workflows/ ← 13 end-to-end process guides
├── mobile-karpathy.md ← 4 rules that prevent AI mobile mistakes (standalone)
├── examples/ ← Real input/output pairs for each agent
├── templates/ ← Scaffold for new agents / skills / workflows
├── scripts/ ← install-claude.sh, install-cursor.sh, ...
└── docs/ ← Extended guidesAgent Roster
| Agent | Path | Platform | Mission |
| AXIOM | agents/android/axiom/ | Android | Clean Architecture + Kotlin + Compose review |
| FREEZE | agents/android/anr-investigation/ | Android | ANR traces + thread dumps + main-thread blocking fixes |
| NAVIGATOR | agents/android/compose-navigation/ | Android | Type-safe Compose routes, graphs, deep links, and back stack |
| RETAINER | agents/android/memory-leak-analyzer/ | Android | LeakCanary traces + heap retention + lifecycle leak fixes |
| SWIFT | agents/ios/swift/ | iOS | Memory safety + SwiftUI + async/await review |
| DART | agents/flutter/dart/ | Flutter | Widget tree efficiency + state management review |
| BRIDGE | agents/react-native/bridge/ | React Native | Bridge calls + re-renders + New Architecture |
| FORGE | agents/gaming/forge/ | Unity | C# performance + frame budget + architecture |
| UNREAL | agents/gaming/unreal/ | Unreal | Blueprint → C++ + performance + GC safety |
| APPFORGE | agents/cross-platform/appforge/ | All | Rough app idea → PRD → tasks → QA → Play Store |
| MOBILE-HARNESS | agents/cross-platform/mobile-harness/ | All | Build and verify mobile work; enterprise mode adds policy gates, risk, rollback, and auditable evidence |
| CRASHER | agents/cross-platform/crasher/ | All | Crash log → root cause → fix |
| SENTINEL | agents/cross-platform/sentinel/ | All | OWASP Mobile Top 10 security audit |
| Mobile Memory | agents/cross-platform/mobile-memory/ | All | Mobile knowledge graph + context preservation |
| LAUNCHPAD | agents/cross-platform/launchpad/ | All | Play Store + App Store ASO-optimized copy |
| PIPELINE | agents/cross-platform/pipeline/ | All | GitHub Actions / Bitrise / Fastlane generation |
| PERF | agents/cross-platform/perf/ | All | Frame budget + profiling + optimization |
| SCRIBE | agents/cross-platform/scribe/ | All | Git log → polished release notes |
| FIGMA | agents/cross-platform/figma/ | All | Figma spec → Compose / SwiftUI / Flutter / RN |
How to Use an Agent
Option A — Paste the System Prompt
- Open any
agents/<platform>/<name>/agent.md - Copy the System Prompt block
- Paste it at the start of your Claude Code session
- Follow the Input Format
Option B — Install and reference
./install.sh # copies agents to ~/.claude/agents/Then in any session: "Use the AXIOM agent to review this file: [paste code]"
Option C — Slash command
Add to your Claude Code config (~/.claude/settings.json):
{
"customSlashCommands": [
{
"name": "axiom",
"description": "AXIOM — Android architect review",
"prompt": "$(cat agents/android/axiom/agent.md)"
},
{
"name": "crasher",
"description": "CRASHER — crash log investigation",
"prompt": "$(cat agents/cross-platform/crasher/agent.md)"
}
]
}How to Create a New Agent
- Copy
templates/agent-template.md→agents/<platform>/<name>/agent.md - Give the agent a personality — not just a function, but a character
- Fill every section — no placeholders
- The Example section is mandatory: one real input → one real output
- Submit a PR — see
CONTRIBUTING.md
Minimum bar for a merged agent:
- System prompt ≤ 600 tokens
- Output format is deterministic and parseable
- Example uses real code, not toy pseudocode
- Personality is clear in the system prompt
How to Create a New Skill
- Copy
templates/skill-template.md→skills/<platform>/<slug>.md - One skill = one concern (e.g., "detect recomposition issues", not "review entire file")
- Include a slash command name
How to Create a New Workflow
- Copy
templates/workflow-template.md→workflows/<name>.md - List the agents and skills used
- Each step must reference a specific agent or skill
Conventions
Naming
- Agent folders: personality code name, lowercase (
axiom,crasher,swift) - Agent file: always
agent.md - Skill files:
kebab-case.mdwith a/slash-commandname - Workflow files:
kebab-case.md
Agent system prompts
- Open with the agent's name and personality in first person
- State exact output format
- ≤ 600 tokens
- End: "Output MUST follow the exact format specified. Do not add extra sections or omit any section."
Severity levels
CRITICAL— crashes, memory leaks, data loss, security vulnerabilitiesWARNING— technical debt, bad practice, will cause pain at scaleINFO— minor improvement, style, optional enhancement
Tested with
- Note the model(s) validated on (e.g., Claude Sonnet 4.6)
Platform Notes
Android
- MVVM + Clean Architecture by default
- StateFlow + collectAsStateWithLifecycle over LiveData in new code
- GlobalScope, !! operators, repository-in-ViewModel = CRITICAL findings
iOS
- Swift 5.9+, SwiftUI by default
- Retain cycles, force unwraps, MainActor misuse = CRITICAL findings
Flutter
- Dart 3.x, null safety enabled
- setState in large widgets, missing const constructors = WARNING findings
React Native
- Check New Architecture compatibility on all new code
- Bridge calls in hot paths = CRITICAL findings
Unity / Unreal
- Mobile = tight frame budget, measure everything
- Update() / Tick() logic that can be event-driven = WARNING findings
The Viral Files
mobile-karpathy.md— 4 rules that stop AI coding agents making mobile mistakes Share this file independently. It has viral potential on its own.
Questions / Contributing
Open a GitHub Discussion or Issue. PRs are always welcome.
See CONTRIBUTING.md for the full guide.
Release Process
For npm releases, follow docs/release-process.md. Do not run npm publish manually. Update package.json, commit, create a local vX.Y.Z tag, push main, then push the tag so GitHub Actions publishes npm.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

