Premium skill
Wire streaming AI SDK chat into React Native and Expo
Backend proxy for keys, streaming transport from your installed Expo and RN versions, backgrounding resume, and an on-device checklist for iOS and Android.
Install
Install with skills CLIPremium skills install through a short-lived private link.
$ npx skills add … --skill ai-sdk-on-mobileOpen Premium install
Sign in with Premium to generate a fresh install link.
Filesystem
Browse the authored file tree — tools, references, and evals included. Source unlocks with Premium.
SKILL.mdmarkdownUnlock skill source
Browse every authored SKILL.md with premium.
File tree for ai-sdk-on-mobile stays visible so you can see the pack before unlocking.
Use this when
- 01An Expo app that needs useChat with a Next.js backend holding the keys.
- 02Streaming that works on web but arrives all at once on iOS.
- 03Generations that die when the user backgrounds the app mid-reply.
- 04A provider key found in EXPO_PUBLIC_ config that must move server side.
What you get
- Keeps keys on the server
- The app talks to your backend. A leak audit blocks completion until it is clean.
- Picks transport from versions
- expo/fetch, polyfill, or a non-streamed fallback from installed Expo, React Native, and AI SDK.
- Treats backgrounding as a state
- Server completes; the client reconciles from persisted messages.
- Verifies on device
- First token, mid-stream backgrounding, and airplane mode on iOS and Android.
Unlock the files
Available with Premium. The private install link expires; the downloaded skill does not. Generate a fresh link when you want to update it.
Other Premium skills
Lifecycle skills and UI craft skills
- PlanPlan AI SDK AgentBefore you write agent code
- BuildAISDK AgentsImplementing agents, chat apps, and streaming UIs
- EvaluateBuild AI SDK Agent EvalsProtecting critical agent journeys before you optimize
- ObserveObserve AI SDK AgentDebugging and attributing agent behavior in production
- OptimizeOptimize AI SDK AgentImproving quality, speed, cost, or reliability with proof
- InstructWrite Agent PromptsAgents that ignore instructions or run on folklore prompts
- InstructWrite Prompt ContractsAgents that pick the wrong tool or narrate a plan instead of acting
- Chat UIBetter Chat UIBuilding or reviewing the conversation surface
- Generative UIBetter Generative UITurning model output into interactive product UI
- PrototypeTest UI VariantsSurfaces where one polished mock would hide the real choice
- IngestIngest Messy DocumentsPDF, scan, and table-heavy corpora feeding RAG or extraction
- GroundGround AI SDK AgentMaking an agent answer from your data with proof
- MemoryAgent MemoryAgents that should remember users across sessions
- ExposeBuild MCP ServerMaking your product agent-accessible
- ExtractExtract Structured DataInvoices, resumes, contracts, forms, and free text to typed data
- ShipShip AI SDK on CloudflareGetting an AI SDK agent into production on Cloudflare
- ShipShip AI SDK on AWSGetting an AI SDK agent into production on AWS
- MigrateMigrate to AI SDKLeaving LangChain, the Assistants API, or hand-rolled LLM code