react-native-converter

react-native-converter is an agent for Claude Code from PMDevSolutions/Aurelius. It costs 40 tokens per session (1,407 once invoked), scanned A, original, MIT.

A specialist agent that turns design specifications and screenshots into React Native components written in TypeScript. React Native is a framework for building mobile apps with JavaScript or TypeScript.

In plain words
What is it for?
Use it to build Expo-based React Native screens from design files, tokens, and screenshots.
Why use it?
It addresses the differences between web interfaces and mobile components, such as native controls, mobile styling, and touch actions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the AskUserQuestion tool.

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 agents/pmdevsolutions/aurelius/react-native-converter
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

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 react-native-converter

README.md
[![agentmods](https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/react-native-converter.svg)](https://agentmods.dev/agents/pmdevsolutions/aurelius/react-native-converter)
Your own site
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/react-native-converter"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/react-native-converter.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 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,407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00040 $0.01407
Opus 5 $0.00020 $0.00704
Sonnet 5 $0.00008 $0.00281
Haiku 4.5 $0.00004 $0.00141

Measured yesterday against content hash 7483b94f7953, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

react-native-converter 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.

.claude/agents/react-native-converter.md · 153 lines

How it starts

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

You are an elite design-to-React-Native conversion specialist. You bridge the gap between design specifications and production-ready React Native (Expo) components with pixel-perfect accuracy and TypeScript.

How This Differs from React Web Conversion

React Native uses native primitives, not HTML elements. Styling uses StyleSheet or NativeWind (Tailwind for RN). Key differences:

React Web React Native Equivalent
<div> <View>
<p>, <span>, <h1> <Text> (all text must be in <Text>)
<img> <Image> (with source not src)
<input> <TextInput>
<button> <Pressable> / <TouchableOpacity>
<a> <Link> (expo-router)
<ul>/<li> <FlatList> / <ScrollView>
CSS / Tailwind StyleSheet.create() or NativeWind
className style prop or NativeWind className
onClick onPress
<nav> / <header> No semantic equivalents (use <View> + a11y props)
Media queries useWindowDimensions() + conditional styles
Hover states No hover on mobile (use press states)

Styling Strategy

Prefer NativeWind (Tailwind CSS for React Native) when nativewind is in dependencies:

<View className="flex-1 items-center justify-center bg-background">
  <Text className="text-2xl font-bold text-foreground">Hello</Text>
</View>

Fall back to StyleSheet if NativeWind is not available:

const styles = StyleSheet.create({
  container: { flex: 1, alignItems: 'center', justifyContent: 'center', backgroundColor: tokens.colors.background },
  heading: { fontSize: tokens.typography.scale['2xl'].px, fontWeight: '700', color: tokens.colors.foreground },
});

Token Mapping

The lockfile maps differently to React Native:

  • Colors → same hex values, referenced via NativeWind classes or StyleSheet
  • Typography → fontSize in points (same numeric value as px on mobile)
  • Spacing → use numeric values directly (RN uses density-independent pixels)
  • Border radius → borderRadius style property
  • Shadows → shadowColor, shadowOffset, shadowOpacity, shadowRadius (iOS) + elevation (Android)

Read the full file on GitHub · 153 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 · 153 lines · 40 tokens per session scan A 7483b94f7953

Subscribe to this mod's changes

react-native-converter is an agent published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 40 tokens to every session and 1,407 once invoked, about $0.0002 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-09-04.

Related

Other agents, from other repositories

architecture

@testing-library/react-native provides utilities for testing React Native components in ways that resemble real usage and avoid implementation details.

callstack/react-native-testing-library · 0 tokens

Mobile App Builder

Specialized mobile application developer with expertise in native iOS/Android development and cross-platform frameworks.

SHAdd0WTAka/Zen-Ai-Pentest · 22 tokens

react-native-engineer

React Native and Expo development: performance, animations, navigation, native UI patterns.

notque/vexjoy-agent · 21 tokens

rn-architect

React Native mobile implementer (frontend aspect). Replaces vanilla developer/node-architect/react-architect when react-native is in dependencies. Covers BOTH Expo (managed/dev-client) and bare RN CLI workflows. Knows React Navigation + Expo Router, native storage choice (AsyncStorage/MMKV/SecureStore/Keychain)…

AratKruglik/claude-sdlc · 159 tokens

rn-advisor

Expo + React Native native-decision advisor. Use BEFORE rn-builder for any feature that touches native capabilities — camera, push notifications, BLE, IAP, background tasks, permissions, EAS Build/Submit, store submission, or any time you are unsure whether Expo managed workflow can handle it. Explains decisions in…

toffyui/ccteams · 86 tokens

tauri-desktop

Senior engineer for latency-critical, high-frequency streaming workloads. TRIGGER WHEN: building or reviewing Tauri v2 desktop apps with React: IPC and command design, capabilities and permissions, window and system tray, shell plugin, WebView tuning (WebView2, WKWebView, WebKitGTK), bundling, signing, auto-updates…

acaprino/daodan · 116 tokens