mobile-fundamentals

mobile-fundamentals is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 104 tokens per session (3,881 once invoked), scanned A, original, Apache-2.0.

A guide to mobile-app concerns that apply across frameworks such as React Native, Flutter, and native iOS or Android. It covers navigation, links that open specific screens, offline syncing, notifications, background work, biometrics, app lifecycle, updates, and store review.

In plain words
What is it for?
Use it when adding navigation, deep links, offline behavior, push notifications, background tasks, biometric checks, lifecycle handling, over-the-air updates, or app-store preparation.
Why use it?
Mobile apps can lose network access, be closed by the operating system, or need device-specific security and store requirements that websites do not.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it when adding navigation, deep links, offline behavior, push notifications, background tasks, biometric checks, lifecycle handling, over-the-air updates, or app-store preparation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouroshez/coding-os/mobile-fundamentals
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.

Any agent
npx skills add kouroshez/coding-os --skill mobile-fundamentals
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mobile-fundamentals

README.md
[![agentmods](https://agentmods.dev/badge/skills/kouroshez/coding-os/mobile-fundamentals.svg)](https://agentmods.dev/skills/kouroshez/coding-os/mobile-fundamentals)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/mobile-fundamentals"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/mobile-fundamentals.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 289
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 293
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 289
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 371
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found 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.1 $0.00104 $0.03881
Opus 5 $0.00052 $0.01940
Sonnet 5 $0.00021 $0.00776
Haiku 4.5 $0.00010 $0.00388

Measured 7d ago against content hash 9a532dc65f85, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mobile-fundamentals 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 7d 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.

src/core/skills/mobile-fundamentals/SKILL.md · 407 lines

How it starts

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

Mobile Fundamentals — Cross-Platform Concerns

The mobile-specific concerns that any framework (React Native, Flutter, native iOS/Android) has to address. Stack-agnostic patterns; concrete recipes target the project's React Native client.

When to Use This Skill

  • Adding navigation (stack / tab / drawer / modal) to a screen.
  • Setting up deep links / universal links / app links.
  • Implementing offline-first behavior (queue mutations, sync on reconnect).
  • Adding push notifications (FCM + APNs).
  • Wiring background tasks (sync, geofence, scheduled refresh).
  • Gating sensitive ops with biometrics (Face ID / Touch ID / fingerprint).
  • Handling app-state transitions (foreground / background / inactive).
  • Planning OTA (over-the-air) updates and the rules around them.
  • Preparing for App Store / Play Store review.

For RN-specific code patterns (component shapes, performance, native modules), see react-native-patterns.

The Mobile Constraints That Don't Exist on Web

  1. Network is unreliable. Cell signal drops; user goes through tunnels; offline is the steady state for some users.
  2. App can be killed at any moment. iOS aggressively suspends; Android kills background processes.
  3. Multiple lifecycle states beyond foreground/background — inactive, locked, swiped-away, terminated.
  4. Storage is shared with the OS — running out of disk wedges your app.
  5. Battery is precious — anything you do in background is metered.
  6. App store review is a real release gate, not a CI step.
  7. Update install rate is slow — 30 days to reach 90% adoption is normal.

Designing for these is the difference between "works in dev" and "actually ships".

Picking the Right Container

Pattern Use when Avoid when
Stack Linear flows (sign-in → onboarding → home) UI has 3+ peer destinations
Tab 2–5 top-level destinations, accessible at all times Flow has clear forward/back direction
Drawer 6+ destinations, secondary navigation <5 items (use tabs)
Modal Self-contained task that closes back to where you were Multi-step with deep nav

Read the full file on GitHub · 407 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 407 lines · 104 tokens per session scan A 9a532dc65f85

Subscribe to this mod's changes

mobile-fundamentals is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 104 tokens to every session and 3,881 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

graph-mutation-plan

Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.

potpie-ai/potpie · 51 tokens

potpie-cli

Use when the task is centered on running, explaining, configuring, or troubleshooting the potpie command: doctor, login, pot management, source registration, search, graph workbench reads/writes, and pot scope behavior.

potpie-ai/potpie · 50 tokens

potpie-change-timeline

Use when an agent needs recent or historical change context: what changed recently, regressions, merged PRs, tickets, docs, incidents, deployments, releases, and source-history ingestion.

potpie-ai/potpie · 43 tokens

potpie-infra-architecture

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

potpie-ai/potpie · 43 tokens

potpie-project-preferences

Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project preference should be recorded.

potpie-ai/potpie · 63 tokens

phone-harness

Control the user's phone — iPhone through the Mac's iPhone Mirroring window, or an Android over adb: open apps, tap, type, swipe, read the screen.

ShawnPana/phone-harness · 40 tokens