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 AnilBurcu/claude-code-react-native --skill supabase-mobile-authgit clone --depth 1 https://github.com/AnilBurcu/claude-code-react-nativeWrote 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/anilburcu/claude-code-react-native/supabase-mobile-auth)<a href="https://agentmods.dev/skills/anilburcu/claude-code-react-native/supabase-mobile-auth"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/supabase-mobile-auth/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/anilburcu/claude-code-react-native/supabase-mobile-auth"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/supabase-mobile-auth.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.00048 | $0.01091 |
| Opus 5.5 | $0.00019 | $0.00436 |
| Sonnet 5.5 | $0.00010 | $0.00218 |
| Haiku 4.5 | $0.00005 | $0.00109 |
Grade A, and why
supabase-mobile-auth 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 — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase in a mobile app, the parts the docs gloss over
Native sign-in beats browser redirects
On mobile, prefer token-based native flows over web OAuth redirects. The user stays in the app, there is no browser handoff to break, and no deep-link dance:
- Apple: the native Sign in with Apple sheet returns an identity token; pass it to
signInWithIdToken. Hash the nonce (SHA-256) into the Apple request and pass the raw nonce to Supabase, and remember Apple only returns the user's name on the FIRST authorization, so persist it immediately or lose it. - Google: the native Google sign-in SDK returns an id token for
signInWithIdToken. Check whether your chosen Google sign-in library supports a nonce parameter. Some do not, and then Supabase's nonce check fails; the "skip nonce check" switch in the Supabase dashboard exists for exactly that case. Prefer a nonce-capable library when starting fresh, and treat the skip switch as a documented tradeoff rather than a mystery setting. - Email: OTP codes (
signInWithOtpthenverifyOtp) avoid deep links entirely, which on mobile removes a whole class of "the magic link opened the wrong thing" support tickets.
With only native flows, no URL detection is needed: detectSessionInUrl: false, and deep-link handling stays out of the auth path entirely.
Session storage and refresh
- Supply an explicit storage adapter. Working choices: encrypted MMKV (fast, sturdy), AsyncStorage or an encrypted wrapper over it (Supabase's documented default), or SecureStore with care, since sessions are larger than what some iOS releases historically accepted per value.
- Refresh needs the app-state pattern: start auto-refresh when the app becomes active, stop it in the background. A refresh that fires while the app is suspended can rotate the token without persisting the result, and the next launch presents a stale refresh token, which trips refresh-token-reuse detection and signs the user out.
- Serialize concurrent refreshes. Two simultaneous
getSessioncalls both trying to refresh is another reuse-detection trigger; a simple in-process mutex around refresh ends it. - On sign-out, also clear the persisted session storage explicitly. Belt and suspenders, but a cached session resurrecting a signed-out account is a real bug class and clearing storage is one line.
- Copy-ready wiring for all of the above (storage adapter, refresh lifecycle, serial lock, fetch timeout) is in reference.md.
What ships with it
1 file 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.
- 2mo ago Changed · -16 tokens per session 08f315a4a4d6
- 3mo ago First seen · 48 lines · 64 tokens per session scan A f477a1f8343c
supabase-mobile-auth is a skill published in the GitHub repository AnilBurcu/claude-code-react-native (2 stars, last pushed 25d ago), licensed MIT. It adds 48 tokens to every session and 1,091 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.
supabase-mobile-auth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| supabase-mobile-authAnilBurcu/claude-code-react-native | Skill | 2 | 25d ago | MIT | A | 48 | Claude Code |
| expo-56mahdi-salmanzade/expo56-skill | Skill | 2 | 4mo ago | MIT | A | 391 | Claude Code |
| expoericrisco/rsc-harness | Skill | 691 | 6d ago | MIT | A | 79 | Claude Code, Codex |
| rn-module-addlukedj78/dev-flow | Skill | 5 | 2d ago | MIT | A | 256 | Claude Code |
| fec-pwa-implementationbovinphang/frontend-craft | Skill | 24 | 14d ago | MIT | A | 87 | Claude Code |
| rn-backendlukedj78/dev-flow | Skill | 5 | 2d ago | MIT | A | 178 | Claude Code |
| rn-data-fetchinglukedj78/dev-flow | Skill | 5 | 2d ago | MIT | A | 141 | Claude Code |