Skip to content
Skills Library
Programming · Tool integration

react-native-ai-skills

/react-native-ai-skills

Provides integration recipes for the React Native AI @react-native-ai packages that wrap the Llama.rn (Llama.cpp), Apple Foundation and Apple Core AI backends. Use when integrating local on-device AI in React Native, setting up providers, model management.

Repository
ai ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
6
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Provides integration recipes for the React Native AI @react-native-ai packages that wrap the Llama.rn (Llama.cpp), Apple Foundation and Apple Core AI backends. Use when integrating local on-device AI in React Native, setting up providers, model management.

Original author description

Provides integration recipes for the React Native AI @react-native-ai packages that wrap the Llama.rn (Llama.cpp), Apple Foundation and Apple Core AI backends. Use when integrating local on-device AI in React Native, setting up providers, model management.

How it works

  1. Overview
  2. Path Selection Gate (Must Run First)
  3. Skill Format
  4. When to Apply
  5. Priority-Ordered Guidelines
  6. Quick Reference
  7. References
  8. Problem → Skill Mapping
Original SKILL.md headings · 115 lines, 653 words
SKILL.md preview
---
name: react-native-ai-skills
description: Provides integration recipes for the React Native AI @react-native-ai packages that wrap the Llama.rn (Llama.cpp), Apple Foundation and Apple Core AI backends. Use when integrating local on-device AI in React Native, setting up providers, model management.
license: MIT
metadata:
  author: Callstack
  tags: react-native, ai, llama, apple, core-ai, ncnn, vercel-ai-sdk, on-device
---

# React Native AI Skills

## Overview

Example workflow for integrating on-device AI in React Native apps using the @react-native-ai ecosystem. Available provider tracks (can be combined):

- **Apple** – Apple Intelligence (iOS 26+)
- **Core AI** – Apple Core AI model bundles exported with coreai-models (iOS 27+)
- **Llama** – GGUF models via llama.rn
- **NCNN** – Low-level NCNN inference wrapper (vision, custom models)

## Path Selection Gate (Must Run First)

Before selecting any reference file, classify the user request:

An explicit provider, model or bundle (for example Core AI, Parakeet or an `.aimodel`) takes precedence over a generic feature match.

1. Select **Apple**:
   - if you intend to build with: `apple`, `Apple Intelligence`, `Apple Foundation Models`
   - if you want features: `transcription`, `speech synthesis`, `embeddings` on Apple devices
   - optionally with capabilities: tool calling
2. Select **Core AI**:
   - if you intend to use: `Core AI`, `coreai-models`, `.aimodel` bundles
   - if you want features on iOS 27 with your own models: image generation, transcription with Parakeet, CLIP embeddings, object detection, segmentation, video tracking, super-resolution, classification, depth estimation
   - if you want video generation with Wan 2.1 on macOS 27 (it does not fit in iPhone memory yet)
3. Select **Llama**:
   - if you intend to use the following technologies: `llama`, `GGUF`, `llama.rn`, `HuggingFace`, `Qwen`
   - if you want to perform the following operations: `embedding model`, `rerank`, `speech model`
4. Select **NCNN**:
   - if you need to use run low-level inference on bare metal tensors
   - if you intend to run inference of custom models such as convolutional networks, multi-layer perceptrons, low-level inference, etc.
   - DO NOT select NCNN if the prompt mentions LLMs only, this use case is better solved by other providers

## Skill Format

Each reference file follows a strict execution format:

- Quick Command
- When to Use
- Prerequisites
- Step-by-Step Instructions
- Common Pitfalls
- Related Skills

Use the checklists exactly as written before moving to the next phase.

## When to Apply

Reference this package when:

- Integrating on-device AI in React Native apps
- Installing and configuring @react-native-ai providers
- Managing model downloads (llama)
- Wiring providers with Vercel AI SDK (generateText, streamText)
- Implementing SetupAdapter pattern for multi-provider apps
- Debugging native module or Expo plugin issues

## Priority-Ordered Guidelines

| Priority | Category                    | Impact | Start File                           |
| -------- | --------------------------- | ------ | ------------------------------------ |
| 1        | Path selection and baseline | N/A    | [quick-start][quick-start]           |
| 2        | Apple provider              | N/A    | [apple-provider][apple-provider]     |
| 3        | Core AI provider            | N/A    | [core-ai-provider][core-ai-provider] |
| 4        | Llama provider              | N/A    | [llama-provider][llama-provider]     |
| 5        | NCNN provider               | N/A    | [ncnn-provider][ncnn-provider]       |

## Quick Reference

```bash
npm install

# Provider-specific install
npm add @react-native-ai/apple
npm add @react-native-ai/core-ai @react-native-ai/apple
npm add @react-native-ai/llama llama.rn
npm add @react-native-ai/ncnn-wrapper
```

Route by path:

- Apple: [apple-provider][apple-provider]
- Core AI: [core-ai-provider][core-ai-provider]
- Llama: [llama-provider][llama-provider]
- NCNN: [ncnn-provider][ncnn-provider]

## References

| File                                 | Impact | Description                              |
| ------------------------------------ | ------ | ---------------------------------------- |
| [quick-start][quick-start]           | N/A    | Shared preflight                         |
| [apple-provider][apple-provider]     | N/A    | Apple Intelligence setup and integration |
| [core-ai-provider][core-ai-provider] | N/A    | Core AI bundles, tasks, hosted models    |
| [llama-provider][llama-provider]     | N/A    | GGUF models, llama.rn, model management  |
| [ncnn-provider][ncnn-provider]       | N/A    | NCNN wrapper, loadModel, runInference    |

## Problem → Skill Mapping

| Problem                              | Start With                                     |
| ------------------------------------ | ---------------------------------------------- |
| Need path decision first             | [quick-start][quick-start]                     |
| Integrate Apple Intelligence         | [apple-provider][apple-provider]               |
| Run Core AI models on iOS 27         | [core-ai-provider][core-ai-provider]           |
| Run GGUF models from HuggingFace     | [llama-provider][llama-provider]               |
| Use NCNN for custom inference        | [ncnn-provider][ncnn-provider]                 |
| Multi-provider app with SetupAdapter | [quick-start][quick-start] → provider-specific |
| Expo + native module setup           | Provider-specific (each has Expo notes)        |

[quick-start]: references/quick-start.md
[apple-provider]: references/apple-provider.md
[core-ai-provider]: references/core-ai-provider.md
[llama-provider]: references/llama-provider.md
[ncnn-provider]: references/ncnn-provider.md
Files in this package (6)
  • SKILL.md 6 KB
  • references/apple-provider.md 3 KB
  • references/core-ai-provider.md 6 KB
  • references/llama-provider.md 3 KB
  • references/ncnn-provider.md 2 KB
  • references/quick-start.md 2 KB

Versions

The database has no other skills named react-native-ai-skills.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version f89bc4910235 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100apple-on-device-ai
    On-device generative AI on Apple platforms (iOS 26+) — the Foundation Models framework (SystemLanguageModel.availability, LanguageModelSession, respond(to:)/streamResponse, @Generable + @Guide guided generation, the Tool protocol for tool-calling, instructions,…
  • 96react-native-skills
    Use when working with react-native-skills tasks or workflows
  • 95apple-on-device-ai
    Integrate on-device AI using Foundation Models framework, Core ML, and open-source LLM runtimes on Apple Silicon. Covers Foundation Models (LanguageModelSession, @Generable, @Guide, SystemLanguageModel, structured output, tool calling), Core ML (coremltools, model conversion,…
  • 100react-native-testing
    Test React Native components with Jest and React Native Testing Library. Use when writing Jest or React Native Testing Library tests for React Native components.
  • 100react-native-web-core
    Use when working with React Native Web projects. Provides core concepts, components, and cross-platform patterns for building web applications with React Native.
  • 95foundation-models
    On-device LLM integration using Apple's Foundation Models framework. Use when implementing AI text generation, structured output, or tool calling.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.