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.
npx skills add cmaranho/rn-agent-skills --skill rn-architecturegit clone --depth 1 https://github.com/cmaranho/rn-agent-skillsWrote 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.
[](https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-architecture)<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-architecture"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-architecture/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.
<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-architecture"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.01164 |
| Opus 5.5 | $0.00022 | $0.00466 |
| Sonnet 5.5 | $0.00011 | $0.00233 |
| Haiku 4.5 | $0.00006 | $0.00116 |
Grade A, and why
rn-architecture 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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Native — Arquitetura
Objetivo
Aplicar uma arquitetura em camadas, testável e escalável para features React Native, com fluxo de dados previsível da fonte de dados à UI.
Quando utilizar
- Criar um módulo ou feature novo.
- Decidir onde colocar lógica (UI, estado, caso de uso, dados).
- Refatorar código com regra de negócio na UI ou chamada de API no componente.
Conhecimentos necessários
- Clean Architecture e a regra de dependência (dependências apontam para dentro).
- Padrões Repository, Use Case e Mapper/Helper.
- Injeção de dependência simples (construtor/factory).
- Diferença entre transformação de shape (mapper) e cálculo/estado (helper).
Fluxo de execução
- Modele o contrato de dados: DTOs de entrada/saída e models de domínio.
- Implemente o repositório: encapsula IO/HTTP e retorna resultado tipado (sucesso/erro), sem lançar exceção crua.
- Implemente o caso de uso: orquestra repositório + mappers/helpers e retorna estado tipado (
{ type: 'SUCCESS' | 'ERROR' }). - Exponha estado via store/hook que consome o caso de uso (nunca o repositório direto).
- Conecte a UI por um hook de tela (
use-*-screen); mantenha a tela fina. - Escreva testes por camada.
Tela → hook de tela → estado → caso de uso → repositório → cliente HTTP
↘ mappers / helpers ↗
Estrutura de pastas
Reflita as camadas na organização física. Os nomes são convenção — adapte ao seu projeto, preservando os papéis. Separe código de domínio (modules/) de código compartilhado (common/).
Módulo / feature
modules/{module}/
├── dtos/ ← contratos de dados da API (request/response)
├── models/ ← models de domínio
├── repositories/ ← acesso a dados/IO; retorna resultado tipado (sem exceção crua)
├── use-cases/ ← orquestra repositório + mappers/helpers (obrigatório)
├── mappers/ ← transformação de shape (DTO ↔ Model ↔ Request) — puro
├── helpers/ ← cálculos e transformações imutáveis de estado — puro
├── stores/ ← estado do módulo (slices por domínio)
├── hooks/ ← hooks de tela (use-*-screen) e reutilizáveis do módulo
├── ui/ ← componentes de UI do módulo (tokens/tema)
├── factories/ ← montagem/registro de telas e dependências
├── screens/ ← telas finas
└── index.ts ← barrel público (API do módulo)
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.
- 2mo ago First seen · 105 lines · 55 tokens per session scan A 61a6795d9870
rn-architecture is a skill published in the GitHub repository cmaranho/rn-agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 1,164 once invoked, about $0.0002 per session on Opus 5.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.
rn-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rn-architecturecmaranho/rn-agent-skills | Skill | 2 | 4mo ago | MIT | A | 55 | Claude Code, Codex |
| agent-spec-mobile-react-nativeruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 22 | Claude Code |
| expo-native-uiexpo/skills | Skill | 4.1k | yesterday | MIT | A | 63 | Claude Code, Codex |
| expo-brownfieldexpo/skills | Skill | 4.1k | yesterday | MIT | A | 70 | Claude Code, Codex |
| react-native-testingcallstack/react-native-testing-library | Skill | 3.4k | yesterday | MIT | A | 134 | Claude Code, Codex |
| truesheet-usagelodev09/react-native-true-sheet | Skill | 2.1k | yesterday | MIT | A | 171 | Claude Code, Codex |
| vercel-react-native-skillsfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 57 | Claude Code |