mobile-design

A design guide for building mobile apps for iOS and Android with touch interaction, platform conventions, performance, and offline use in mind.

In plain words
What is it for?
Use it when designing React Native, Flutter, or native mobile apps, especially for touch behavior, battery use, performance, and mobile testing.
Why use it?
It helps avoid treating a phone like a small desktop and focuses decisions on mobile constraints.

Skill for Claude CodeCodex

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 skills/diillson/chatcli/mobile-design
Any agent
npx skills add diillson/chatcli --skill mobile-design
Clone the repo
git clone --depth 1 https://github.com/diillson/chatcli

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.00047 $0.03605
Opus 5 $0.00023 $0.01802
Sonnet 5 $0.00009 $0.00721
Haiku 4.5 $0.00005 $0.00361

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

Security

Grade A, and why

mobile-design 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mobile_audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

98% identical to mobile-design — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agent/skills/mobile-design/SKILL.md · 395 lines

How it starts

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

Mobile Design System

Philosophy: Touch-first. Battery-conscious. Platform-respectful. Offline-capable. Core Principle: Mobile is NOT a small desktop. THINK mobile constraints, ASK platform choice.


🔧 Runtime Scripts

Execute these for validation (don't read, just run):

Script Purpose Usage
scripts/mobile_audit.py Mobile UX & Touch Audit python scripts/mobile_audit.py <project_path>

🔴 MANDATORY: Read Reference Files Before Working!

⛔ DO NOT start development until you read the relevant files:

Universal (Always Read)

File Content Status
mobile-design-thinking.md ⚠️ ANTI-MEMORIZATION: Forces thinking, prevents AI defaults ⬜ CRITICAL FIRST
touch-psychology.md Fitts' Law, gestures, haptics, thumb zone ⬜ CRITICAL
mobile-performance.md RN/Flutter performance, 60fps, memory ⬜ CRITICAL
mobile-backend.md Push notifications, offline sync, mobile API ⬜ CRITICAL
mobile-testing.md Testing pyramid, E2E, platform-specific ⬜ CRITICAL
mobile-debugging.md Native vs JS debugging, Flipper, Logcat ⬜ CRITICAL
mobile-navigation.md Tab/Stack/Drawer, deep linking ⬜ Read
mobile-typography.md System fonts, Dynamic Type, a11y ⬜ Read
mobile-color-system.md OLED, dark mode, battery-aware ⬜ Read
decision-trees.md Framework/state/storage selection ⬜ Read

🧠 mobile-design-thinking.md is PRIORITY! This file ensures AI thinks instead of using memorized patterns.

Platform-Specific (Read Based on Target)

Platform File Content When to Read
iOS platform-ios.md Human Interface Guidelines, SF Pro, SwiftUI patterns Building for iPhone/iPad
Android platform-android.md Material Design 3, Roboto, Compose patterns Building for Android
Cross-Platform Both above Platform divergence points React Native / Flutter

Read the full file on GitHub · 395 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. 2d ago First seen · 395 lines · 47 tokens per session scan A ec74cda5e195

Subscribe to this mod's changes

mobile-design is a skill published in the GitHub repository diillson/chatcli (89 stars, last pushed 3d ago), licensed Apache-2.0. It adds 47 tokens to every session and 3,605 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to mobile-design, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

pptx

从论文、大纲或结构化文本生成 PowerPoint (.pptx) 演示文稿。Use when 用户需要把一篇论文/文章/大纲做成幻灯片、slides、演示文稿、PPT、deck。Don't use when 只需纯文本总结、生成 Word/PDF、或修改已有 pptx 的单个像素级样式。.

bojieli/ai-agent-book · 84 tokens

imagegen-frontend-mobile

Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured…

Leonxlnx/taste-skill · 126 tokens

canvas

Display, present, and render HTML content on connected Otto nodes (Mac app, iOS, Android). Show on device, preview on mobile, push to screen, or navigate to a URL on any connected node. Use for games, visualizations, dashboards, interactive demos, and live-reloading development previews. Supports presenting, hiding…

elizaOS/eliza · 91 tokens

curly-quote-sft

Skill "curly-quote-sft" from bojieli/ai-agent-book, covering 中文技术文档符号与引用规范, 何时加载, 符号定义, 决策优先级 and 正反例约束.

bojieli/ai-agent-book · 0 tokens

writing

将共享历史中的已验证事实和计算结果整理成符合受众、格式与长度约束的成稿。.

bojieli/ai-agent-book · 27 tokens

data_analysis

基于已确认数据执行可审计的数学计算和描述统计。.

bojieli/ai-agent-book · 19 tokens