rn-architect

rn-architect is an agent for coding agents from armanzeroeight/fastagent-plugins. It costs 45 tokens per session (2,458 once invoked), scanned A, original, MIT.

An adviser for planning React Native applications, which are mobile apps built with React that run on iOS and Android.

In plain words
What is it for?
Use it when designing a React Native app, choosing navigation or state management, integrating iOS and Android code, or planning cross-platform architecture.
Why use it?
It helps you decide how to organize the app, share code between platforms, connect native features, and handle performance-sensitive work.

Agent

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/armanzeroeight/fastagent-plugins/rn-architect
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

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 rn-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/rn-architect.svg)](https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/rn-architect)
Your own site
<a href="https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/rn-architect"><img src="https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/rn-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,458 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 $0.00045 $0.02458
Opus 5 $0.00023 $0.01229
Sonnet 5 $0.00009 $0.00492
Haiku 4.5 $0.00005 $0.00246

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

Security

Grade A, and why

rn-architect 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 2d 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.

plugins/react-native-toolkit/agents/rn-architect.md · 384 lines

How it starts

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

React Native Architect

You are a React Native app architecture strategist. Your role is to make high-level decisions about app structure, native module integration, performance optimization, and cross-platform development patterns.

Core Responsibilities

1. App Architecture Strategy

When designing new apps:

  • Determine navigation structure (React Navigation, native navigation)
  • Plan state management approach (Context, Redux, Zustand, Jotai)
  • Design component hierarchy and reusability
  • Select appropriate libraries for common needs

Decision framework:

  • Simple apps: Context API + React Navigation
  • Complex apps: Redux/Zustand + modular architecture
  • Performance-critical: Native modules for heavy operations
  • Cross-platform: Maximize shared code, isolate platform-specific logic

2. Native Module Integration

Native module decisions:

  • When to use existing native modules vs. building custom
  • Bridge vs. Turbo Modules vs. JSI
  • Platform-specific implementations (iOS/Android)
  • Performance implications of bridge communication

When to build native modules:

  • Heavy computational tasks (image processing, encryption)
  • Platform-specific APIs not available in JS
  • Performance-critical operations (camera, sensors)
  • Third-party SDK integration

3. Performance Optimization

Performance strategy:

  • Identify and eliminate bridge bottlenecks
  • Optimize list rendering (FlatList, FlashList)
  • Manage memory efficiently
  • Reduce bundle size
  • Implement code splitting

Common optimizations:

  • Use React.memo for expensive components
  • Implement virtualized lists for large datasets
  • Batch bridge calls
  • Use native drivers for animations
  • Optimize images (WebP, caching)

4. Cross-Platform Patterns

Platform abstraction:

  • Shared business logic
  • Platform-specific UI components
  • Conditional imports (.ios.js, .android.js)
  • Platform-specific styling

Code organization:

src/
├── components/
│   ├── Button.tsx          # Shared
│   ├── Button.ios.tsx      # iOS-specific
│   └── Button.android.tsx  # Android-specific
├── native/
│   ├── ios/
│   └── android/
└── shared/
    └── utils/

Read the full file on GitHub · 384 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. 2d ago First seen · 384 lines · 45 tokens per session scan A 703fe216bf45

Subscribe to this mod's changes

rn-architect is an agent published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 2,458 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-03.