Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

expo-module

Skill by openai

Guide for writing Expo native modules and views with the Expo Modules API in Swift, Kotlin and TypeScript. It is for developers building or changing native code for Expo apps.

  • Score 87
  • 8.6k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install expo-module

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/expo/skills/expo-module ~/.claude/skills/expo-module

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install expo-module in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference guide for building native modules and views with the Expo Modules API. It covers Swift for iOS, Kotlin for Android, and TypeScript. The guide explains the module definition DSL, native view components, shared objects, config plugins, lifecycle hooks, autolinking, and the type system. It is split into reference files for each topic.

The skill tells the assistant to scaffold new modules with create-expo-module before editing the generated code. It describes which generated files to remove for module-only or view-only modules. It also covers the expo-module.config.json file, which lists the iOS class names and Android fully-qualified class names. It is aimed at developers who need to add native functionality, such as camera, sensors, or system APIs, to an Expo app.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scaffold a local moduleGuides use of create-expo-module to generate a native module with correct podspec, build.gradle, and module config.
  • Module definition DSLCovers Name, Function, AsyncFunction, Property, Constant, and Events in the module definition.
  • Native viewsExplains View, Prop, EventDispatcher, view lifecycle, and ref-based functions for native view components.
  • Shared objectsCovers shared objects as part of the Expo Modules API reference.
  • Config pluginsExplains modifying Info.plist and AndroidManifest.xml and reading values in native code.
  • Lifecycle hooksCovers module hooks, iOS app and AppDelegate hooks, and Android activity and application listeners.
  • Autolinking and module configDocuments expo-module.config.json fields and how autolinking finds modules.

What you need

  • An existing Expo app for local modules
  • CocoaPods for iOS builds (pod install)
  • npx to run create-expo-module

Try asking

  • Scaffold a local Expo module called KeyValueStore with a Swift and Kotlin implementation.
  • Add an AsyncFunction to my Expo module that reads device sensor data.
  • Explain how to set up expo-module.config.json for iOS and Android modules.

Good to know

  • In non-interactive CI mode the scaffold creates the directory as modules/my-module, so it must be renamed.
  • After renaming, run pod install in the ios folder or iOS builds can fail.
  • Web files and the web platform entry should be removed if the module is native-only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/expo/skills/expo-module/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • agents/openai.yaml367 B
  • references/config-plugin.md2 KB
  • references/lifecycle.md4 KB
  • references/module-config.md1 KB
Show all 7 files
  • references/native-module.md6 KB
  • references/native-view.md4 KB

Alternatives to expo-module

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

expo-module: common questions

What is the Expo Modules API?

The Expo Modules API is the way to write native modules and views for Expo apps. This skill documents it for Swift, Kotlin and TypeScript.

Does this skill cover both iOS and Android?

Yes. The guide covers Swift for iOS and Kotlin for Android, with TypeScript for the JavaScript side.

Can I use it to build only a native view without module functions?

Yes. The source describes a view-only setup where you remove the Function, AsyncFunction, Constant, and Events blocks and keep Name and View.

How do I install expo-module?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is expo-module free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is expo-module safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to expo-module?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

expo-module Install

Add to stack

Loading.