VibeHarness: Command for Claude Code

.claude/commands/mobile.md

mobile is a command for Claude Code from ccivlcid/VibeHarness. It costs 0 tokens per session (1,103 once invoked), scanned A, original, MIT.

A React Native and Expo setup for building native iOS and Android apps, with file-based navigation and TypeScript.

In plain words
What is it for?
It helps create and organize native mobile MVPs using screens, navigation, and utility-style styling.
Why use it?
It gives non-developers a defined mobile project structure without requiring separate Xcode or Android Studio setup.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is ccivlcid/VibeHarness's own configuration. It tells Claude Code how to work on VibeHarness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything VibeHarness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ccivlcid/VibeHarness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ccivlcid/VibeHarness/main/.claude/commands/mobile.md
Clone the repo
git clone --depth 1 https://github.com/ccivlcid/VibeHarness

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ccivlcid/vibeharness/mobile/github.svg)](https://agentmods.dev/commands/ccivlcid/vibeharness/mobile)
Your own site
<a href="https://agentmods.dev/commands/ccivlcid/vibeharness/mobile"><img src="https://agentmods.dev/badge/commands/ccivlcid/vibeharness/mobile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile

Your own site · 80×15
<a href="https://agentmods.dev/commands/ccivlcid/vibeharness/mobile"><img src="https://agentmods.dev/badge/commands/ccivlcid/vibeharness/mobile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 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.
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.00000 $0.01103
Opus 5.5 $0.00000 $0.00441
Sonnet 5.5 $0.00000 $0.00221
Haiku 4.5 $0.00000 $0.00110

Measured 2mo ago against content hash 16fa26fab744, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile 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 2mo 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.

.claude/commands/mobile.md · 156 lines

How it starts

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

Mobile — React Native + Expo

This command is part of the VibeHarness framework. Verify stack matches PROJECT_RULES.md. Record architecture decisions in docs/ai-dev/.

Mobile stack for building non-developer MVPs as native apps. Mobile app projects only.

Tech Stack

  • React Native: Cross-platform native apps (iOS + Android)
  • Expo: Managed workflow — no Xcode/Android Studio setup needed
  • Expo Router: File-based navigation (like Next.js App Router)
  • TypeScript: Type safety
  • NativeWind: Tailwind CSS for React Native

Initial Setup

npx create-expo-app@latest my-app --template blank-typescript
cd my-app
npx expo install expo-router expo-linking expo-constants
npx expo install nativewind tailwindcss

Configure NativeWind (tailwind.config.js):

module.exports = {
  content: ['./app/**/*.{ts,tsx}', './components/**/*.{ts,tsx}'],
  presets: [require('nativewind/preset')],
  theme: { extend: {} },
  plugins: [],
};

Add to babel.config.js:

module.exports = function (api) {
  api.cache(true);
  return {
    presets: [
      ['babel-preset-expo', { jsxImportSource: 'nativewind' }],
      'nativewind/babel',
    ],
  };
};

Directory Structure

app/
├── _layout.tsx           # Root layout (navigation)
├── index.tsx             # Home screen
├── (tabs)/
│   ├── _layout.tsx       # Tab navigator
│   ├── home.tsx
│   └── profile.tsx
├── (auth)/
│   ├── login.tsx
│   └── signup.tsx
└── [id].tsx              # Dynamic route
components/
├── ui/                   # Reusable UI components
└── {feature}/            # Feature-specific components
lib/
├── api.ts                # API client (fetch)
└── storage.ts            # AsyncStorage helpers
types/
└── index.ts              # Shared types

Component Principles

  • One component = one role. Split if over 150 lines
  • Use React Native core components first (View, Text, Pressable, FlatList)
  • Define props with TypeScript interfaces
  • State management: useState/useReducer first, Zustand if complex
  • HTTP requests: use built-in fetch only. Do NOT install Axios
  • Navigation: Expo Router (file-based)

Read the full file on GitHub · 156 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. 2mo ago First seen · 156 lines · 0 tokens per session scan A 16fa26fab744

Subscribe to this mod's changes

mobile is a command published in the GitHub repository ccivlcid/VibeHarness (4 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,103 tokens. 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.