mobile-games

A set of guidelines for building mobile games, including touch controls, battery use, heat, different screen sizes, interruptions, and app-store requirements.

In plain words
What is it for?
Use it when designing touch interactions, responsive game screens, performance limits, battery behavior, pause handling, and store submissions.
Why use it?
It helps account for restrictions that do not apply in the same way on desktop computers or game consoles.

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

Made for: Claude Code, Codex.

Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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.00018 $0.00521
Opus 5 $0.00009 $0.00260
Sonnet 5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

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

Security

Grade A, and why

mobile-games 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 3d 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.

Origin

This is a copy

100% identical to mobile-games — 0 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/game-development/mobile-games/SKILL.md · 109 lines

How it starts

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

Mobile Game Development

Platform constraints and optimization principles.


1. Platform Considerations

Key Constraints

Constraint Strategy
Touch input Large hit areas, gestures
Battery Limit CPU/GPU usage
Thermal Throttle when hot
Screen size Responsive UI
Interruptions Pause on background

2. Touch Input Principles

Touch vs Controller

Touch Desktop/Console
Imprecise Precise
Occludes screen No occlusion
Limited buttons Many buttons
Gestures available Buttons/sticks

Best Practices

  • Minimum touch target: 44x44 points
  • Visual feedback on touch
  • Avoid precise timing requirements
  • Support both portrait and landscape

3. Performance Targets

Thermal Management

Action Trigger
Reduce quality Device warm
Limit FPS Device hot
Pause effects Critical temp

Battery Optimization

  • 30 FPS often sufficient
  • Sleep when paused
  • Minimize GPS/network
  • Dark mode saves OLED battery

4. App Store Requirements

iOS (App Store)

Requirement Note
Privacy labels Required
Account deletion If account creation exists
Screenshots For all device sizes

Android (Google Play)

Requirement Note
Target API Current year's SDK
64-bit Required
App bundles Recommended

5. Monetization Models

Model Best For
Premium Quality games, loyal audience
Free + IAP Casual, progression-based
Ads Hyper-casual, high volume
Subscription Content updates, multiplayer

6. Anti-Patterns

❌ Don't ✅ Do
Desktop controls on mobile Design for touch
Ignore battery drain Monitor thermals
Force landscape Support player preference
Always-on network Cache and sync

Read the full file on GitHub · 109 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. 3d ago First seen · 109 lines · 18 tokens per session scan A 43db8fb50830

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

building-mobile-game

Build mobile games and game-like interactive experiences in React Native and Expo. Use when Codex is creating or refactoring arcade, puzzle, casual, action, physics-based, or animation-heavy gameplay, including Expo game setup with the with-reanimated template, sprite-sheet generation and extraction, frame-based…

Intelligent-Internet/ii-agent · 91 tokens

gamified-app

A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style…

linyeping/Metis · 117 tokens

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

writing

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

bojieli/ai-agent-book · 27 tokens

serve-sim

Control and stream a running iOS, iPad, or Apple Watch Simulator with npx serve-sim. Use for simulator preview, taps, gestures, hardware buttons, rotation, camera injection, permissions, accessibility, and CoreAnimation debug.

EvanBacon/serve-sim · 52 tokens