Rn AI Kit — AI skill for Claude Code
A React Native toolkit for integrating AI providers into Expo apps — with OAuth subscription support.
How to install Rn AI Kit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sugarforever/rn-ai-kit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Rn AI Kit does
A React Native toolkit for integrating AI providers into Expo apps — with OAuth subscription support.
Alternatives in AI
- CLI 代理 API — English 中文 一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器 19k ★
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Claw Empire — Command Your AI Agent Empire from the CEO Desk — A local-first AI agent office simulator that orchestrates CLI 1.1k ★
README
rn-ai-kit
A React Native toolkit for integrating AI providers into Expo apps — with OAuth subscription support.
Status: early development. APIs may change before 1.0.
Packages
| Package | Description |
|---|---|
| `@rn-ai-kit/auth` | OAuth and API key management for AI provider subscriptions. Claude Pro (Anthropic) and ChatGPT Plus/Pro (OpenAI Codex) enabled by default; provider configs for Gemini, GitHub Copilot, and Google Antigravity ship in the registry but are commented out pending re-enable. PKCE + device-code flows, token refresh, configurable SecureStore namespace. |
| `@rn-ai-kit/chatgpt-provider` | Vercel AI SDK LanguageModelV1 provider for ChatGPT subscription OAuth tokens. Routes through the ChatGPT backend API (chatgpt.com/backend-api). Supports image input and image generation via the built-in image_generation tool. |
| `@rn-ai-kit/sessions` | On-device conversation persistence with a pluggable SessionStore interface. Ships with SqliteSessionStore (expo-sqlite) and InMemorySessionStore, plus React hooks (useSessions, useSession). |
What it solves
- Sign in to Claude Pro or ChatGPT Plus/Pro directly from a React Native app — reuses the well-known Claude Code and Codex CLI OAuth client IDs.
- Use your ChatGPT subscription token with the Vercel AI SDK — not just the standard OpenAI API.
- Generate images via gpt-image-2 through the Responses API's built-in
image_generationtool, with photo attachments handled inline. - Persist multi-turn conversations on-device and rehydrate them across app restarts.
- Works with Expo SDK 55+ and React Native's new architecture.
Quick start
npm install @rn-ai-kit/auth @rn-ai-kit/chatgpt-provider @rn-ai-kit/sessions ai
Auth — Claude OAuth is a one-liner:
import { AuthManager, SecureStoreBackend } from '@rn-ai-kit/auth';
// Pass an app-specific namespace so your credentials don't collide with
Related Skills
SDK Skill
Agentskills.io-compatible skill that walks an AI agent through integrating the Amply SDK into a mobile app — R
Arc Skill
Provide architecture guidelines and code templates for AI agents to scaffold and maintain production-ready Rea
Morphkit
Semantic AI agent that converts TypeScript/React web apps to native SwiftUI iOS apps
Traffic Flow Optimization
Developed an AI-powered traffic optimization agent using PyTorch for intelligent route recommendations. Built
Openclaw Claude Bridge
HTTP bridge powering OpenClaw's AI agents via Claude Code CLI — manages persistent sessions, auto-resume, exte
Dsh Plugin Subscriptions
Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth logi
Related Agents
React Native Engineer
Use for building or modifying React Native apps on Expo: screens and components, Expo Router routes and layout
Expo Developer
Develop React Native apps with Expo SDK 50+, TypeScript, and modern architecture patterns. Masters Expo ecosys
Flutter GraphQL
Use this agent when integrating GraphQL APIs with Flutter apps. Specializes in graphql_flutter, query/mutation