Skip to content
Mobile
Skill

/on-device-ai

Routes on-device AI tasks in React Native and Expo apps to the react-native-executorch skill. Use when building offline chat, vision, speech, embeddings or retrieval features, choosing pre-exported models, or integrating custom ExecuTorch models and pipelines.

From plugin
skills
30527 skills

Claude Code

$ npx -y skills add software-mansion-labs/skills --skill on-device-ai --agent claude-code

SKILL.md

on-device-ai.SKILL.md
name: on-device-ai
description: >-
  Routes on-device AI tasks in React Native and Expo apps to the react-native-executorch skill.
  Use when building offline chat, vision, speech, embeddings or retrieval features, choosing
  pre-exported models, or integrating custom ExecuTorch models and pipelines.

On-device AI with React Native ExecuTorch

Use the `react-native-executorch` skill for app setup, model selection, inference, resource lifetime, custom models and troubleshooting. It covers both ready-made task hooks with pre-exported models and custom PyTorch models with TypeScript pipelines.

If the skill is not available, install it from the app's project directory, selecting the coding agent in use when prompted:

npx skills add software-mansion-labs/skills -s react-native-executorch

Then read its `SKILL.md` and the references relevant to the task before implementing the integration.

For direct guidance, read [Getting Started](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/getting-started.md) and use documentation matching the app's installed version. Fetch the relevant task and API pages as needed. Follow [ExecuTorch Export Recipes](https://github.com/software-mansion-labs/executorch-export-recipes) for exporting custom models. Verify the app's runtime and backend compatibility before integration.

@software-mansion-labs
Ships withskills

Software Mansion's set of skills for AI-assisted React Native development.

Stars on GitHub

Momentum

stars in total
305
Star history of software-mansion-labs/skills on GitHub, a chart by star-history.com

Other skills on skills.

fishjam

fishjam

Software Mansion's Fishjam — hosted WebRTC platform for video, audio, one-to-many livestreaming, and compositions. MUST USE…

composition

composition

Fishjam compositions: server-side, real-time mixing of several live streams (room peers, WHIP, RTMP, MP4) into new output streams…

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo12d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens4w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about on-device-ai.

Which coding agents can use on-device-ai?
on-device-ai installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.