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 lukedj78/dev-flow --skill rn-backendgit clone --depth 1 https://github.com/lukedj78/dev-flowWrote 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/lukedj78/dev-flow/rn-backend)<a href="https://agentmods.dev/skills/lukedj78/dev-flow/rn-backend"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/rn-backend/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/lukedj78/dev-flow/rn-backend"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/rn-backend.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.00178 | $0.00902 |
| Opus 5.5 | $0.00071 | $0.00361 |
| Sonnet 5.5 | $0.00036 | $0.00180 |
| Haiku 4.5 | $0.00018 | $0.00090 |
Grade A, and why
rn-backend 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 3mo 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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rn-backend — provider-agnostic backend integration for RN/Expo
For the current Expo API and per-version details, verify against the Expo docs / MCP
mcp.expo.dev/expo/skills(see rn-fundamentals → Source of truth).
The 5 rules (non-negotiable, regardless of provider)
- Tokens in
expo-secure-store, neverAsyncStorageor plain in-memory. Tokens are bearer credentials — they go in Keychain (iOS) / Keystore (Android) encrypted at rest. - Auth state in a Zustand store + replicated in TanStack Query with key
["auth", "session"]. Zustand for synchronous reads in components and_layout.tsxredirect logic; TanStack Query for refetch-on-focus and revalidation. api()wrapper owns auth headers + refresh-on-401. Every fetch goes through it. Refresh flow is centralized — no per-call retry logic.- Auth gate via Expo Router groups:
(auth)/for public screens,(app)/for protected; the(app)/_layout.tsxchecks the store and<Redirect />if no user. - Sign-out clears EVERYTHING: secure-store token, Zustand store, TanStack Query cache (
queryClient.clear()). No "user signed out but still see old data" bugs.
Quick decision tree
- "Which provider? Supabase / Firebase / custom REST / tRPC?" →
references/decision-tree.md - "What's the shared client-auth architecture?" →
references/concepts.md - "How do I wire it up — store, middleware, gate?" →
references/patterns.md - "I picked Supabase. Specifics?" →
references/supabase.md - "I picked Firebase." →
references/firebase.md - "I'm bringing my own REST/JSON backend." →
references/custom-rest.md - "I want tRPC end-to-end typed." →
references/trpc.md
Common anti-patterns (NEVER do)
- ❌
AsyncStorage.setItem("token", token)— useSecureStore.setItemAsync("token", token). - ❌ Reading the token inside every
api()call from secure-store synchronously — cache it in the Zustand store, refresh from secure-store only on app start. - ❌ Stored "logged in" boolean in the client that drifts from the server token's actual validity — single source of truth is the token + a
/mequery. - ❌ Calling
signOut()and forgetting toqueryClient.clear()— next user sees previous user's posts in cache. - ❌ Hardcoding
Authorization: Bearer xxxin a single screen — wrap inapi(). - ❌ Vendor lock-in code scattered (
supabase.auth.signIn(...)in 12 components) — wrap inlib/auth.tsso swapping providers touches one file.
What ships with it
8 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.
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.
- 3mo ago First seen · 44 lines · 178 tokens per session scan A 1dd1846877e4
rn-backend is a skill published in the GitHub repository lukedj78/dev-flow (5 stars, last pushed 2d ago), licensed MIT. It adds 178 tokens to every session and 902 once invoked, about $0.0007 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-backend compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rn-backendlukedj78/dev-flow | Skill | 5 | 2d ago | MIT | A | 178 | Claude Code |
| sinch-in-app-callingsinch/skills | Skill | 11 | 4d ago | Apache-2.0 | A | 71 | Claude Code, Codex |
| supabase-mobile-authAnilBurcu/claude-code-react-native | Skill | 2 | 25d ago | MIT | A | 48 | Claude Code |
| push-notificationsAmpli-Group/agentic-mobile-blueprint | Skill | 4 | 3mo ago | MIT | A | 47 | Claude Code, Codex |
| agent-crdt-synchronizerruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| build-zoom-contact-center-appanthropics/knowledge-work-plugins | Skill | 37k | yesterday | Apache-2.0 | A | 48 | Claude Code |
| build-teaql-appteaql/teaql-agent-kit | Skill | 2.8k | 21d ago | MIT | A | 112 | Codex |