mobile-games

A guide to developing games for phones and tablets, where players use touch screens and devices have limits on battery, heat, screen size, and interruptions.

In plain words
What is it for?
Use it to design touch controls and gestures, adapt interfaces to different orientations, reduce battery and heat use, and prepare for app-store requirements.
Why use it?
It helps avoid controls, performance issues, and layouts that work on a computer but fail on mobile devices.

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

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 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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.00507
Opus 5 $0.00009 $0.00253
Sonnet 5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00051

Measured yesterday against content hash 8d46ae56c2fc, 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 yesterday.

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

94% identical to mobile-games — 1 line 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.

.opencode/skills/game-development/mobile-games/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 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 · 108 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. yesterday First seen · 108 lines · 18 tokens per session scan A 8d46ae56c2fc

Subscribe to this mod's changes

mobile-games is a skill published in the GitHub repository felipeslo/opencode-kit (2 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 507 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to mobile-games, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

google-mobile-ads-banner

Provides instructions to implement, integrate, or configure Google Mobile Ads (GMA) banner ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up banner ads in a mobile application. Don't use for other ad formats like interstitial or rewarded ads.

google/skills · 62 tokens

google-mobile-ads-get-started

Provides instructions for integrating the Google Mobile Ads (GMA) SDK. Use this skill when the user wants to get started with, install, integrate, set up, or configure the SDK for AdMob or Ad Manager, GMA Next-Gen SDK or mobile ads framework in an Android, iOS, or Unity application.

google/skills · 73 tokens

google-mobile-ads-interstitial

Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK interstitial ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up interstitial ads. Don't use for "rewarded interstitial" ads.

google/skills · 60 tokens

google-mobile-ads-rewarded

Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK rewarded ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up rewarded ads. Don't use for "rewarded interstitial" ads.

google/skills · 59 tokens

mobile-games

Mobile game development principles. Touch input, battery, performance, app stores.

vudovn/ag-kit · 18 tokens

hz-unity-meta-core-sdk

Meta XR Core SDK (com.meta.xr.sdk.core) for Unity XR development. Use when setting up VR/MR projects, configuring OVRManager, adding OVRCameraRig, enabling passthrough, hand tracking, spatial anchors, boundaryless mode, controller input, Scene API, or any Meta Quest XR feature. Covers OVRProjectSetup, AndroidManifest…

meta-quest/agentic-tools · 90 tokens