create-react-native-library

create-react-native-library is a skill for Codex from callstackincubator/agent-skills. It costs 44 tokens per session (529 once invoked), scanned A, original, MIT.

A setup tool for creating React Native libraries, either as standalone packages or as local modules inside an app. React Native lets JavaScript code build mobile interfaces and use native iOS or Android functionality.

In plain words
What is it for?
Use it to create a publishable library, add native functionality to an existing React Native app, wrap a native software development kit, or build native user-interface components.
Why use it?
It provides the starting project structure and directs the work to the appropriate implementation guidance for JavaScript libraries, native modules, and native views.

Skill for Codex

Written for Codex: agents/openai.yaml present.

not rated 1.7krepo +7 9d ago A scan Socket: passSnyk: passSkillSpector: warn 44 tokens original MIT

Good fit Use it to create a publishable library, add native functionality to an existing React Native app, wrap a native software development kit, or build native user-interface components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/callstackincubator/agent-skills/create-react-native-library
About the project

Callstack Agent Skills is a collection of instructions that gives AI coding assistants practical knowledge for building React Native applications. Developers use it for app development, performance, navigation, testing, CI, device automation, and migrations to React Native. The catalogue entries are the project's skills, rules, and instructions for compatible coding assistants.

callstackincubator/agent-skills · 1,673 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add callstackincubator/agent-skills --skill create-react-native-library
Clone the repo
git clone --depth 1 https://github.com/callstackincubator/agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-react-native-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/callstackincubator/agent-skills/create-react-native-library/github.svg)](https://agentmods.dev/skills/callstackincubator/agent-skills/create-react-native-library)
Your own site
<a href="https://agentmods.dev/skills/callstackincubator/agent-skills/create-react-native-library"><img src="https://agentmods.dev/badge/skills/callstackincubator/agent-skills/create-react-native-library/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-react-native-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/callstackincubator/agent-skills/create-react-native-library"><img src="https://agentmods.dev/badge/skills/callstackincubator/agent-skills/create-react-native-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 8 Aug 2026
  • Snyk pass 8 Aug 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 36
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 39
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 49
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00529
Opus 5.5 $0.00018 $0.00212
Sonnet 5.5 $0.00009 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured 1mo ago against content hash 72fc31f0dbf0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-react-native-library scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/create-react-native-library/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create React Native Library

Overview

Use this skill to scaffold a standalone React Native library or a local library inside an existing app, then continue with the correct implementation docs.

Examples:

  • JS-only library that may use other React Native libraries
  • Native modules that expose native functionality to JavaScript
  • Native UI components that render native views in React Native

Choose one flow first:

  • Use [scaffold-library.md][scaffold-library] when creating a new library that may be published to npm
  • Use [local-library.md][local-library] when exposing native functionality in a React Native app

When to Apply

Use this skill when:

  • Creating or working on a React Native library with create-react-native-library
  • Creating a native module or view in an existing app
  • Wrapping native SDKs and exposing them to React Native

Quick Reference

# Inspect current options before scaffolding
npx create-react-native-library@latest --help

# Scaffold a library with turbo modules and the Expo example app
npx create-react-native-library@latest awesome-library \
  --no-interactive \
  --yes \
  --description "A brief description of the library" \
  --type turbo-module \
  --languages kotlin-objc \
  --example expo

# Scaffold a local Turbo Module inside an existing app
cd MyApp
npx create-react-native-library@latest awesome-library \
  --local \
  --no-interactive \
  --yes \
  --description "A brief description of the library" \
  --type turbo-module \
  --languages kotlin-objc

References

File Description
[scaffold-library.md][scaffold-library] Scaffold a new library and default to the Expo example
[local-library.md][local-library] Add a local library to an existing app with autolinking

Problem -> Skill Mapping

Problem Start With
Need a new library scaffold [scaffold-library][scaffold-library]
Need to add a local native library to an app [local-library][local-library]

Read the full file on GitHub · 74 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 74 lines · 44 tokens per session scan A 72fc31f0dbf0

Subscribe to this mod's changes

create-react-native-library is a skill published in the GitHub repository callstackincubator/agent-skills (1,673 stars, last pushed 9d ago), licensed MIT. It adds 44 tokens to every session and 529 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React…

callstack/react-native-testing-library · 134 tokens

expo-native-ui

Build beautiful, native-feeling Expo screens. Covers Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients, storage, and responsive layout. For routing and navigation, use the expo-router skill; for motion and animation, use the expo-animation skill.

expo/skills · 63 tokens

expo-brownfield

Integrate Expo and React Native into an existing native iOS or Android app. Use for brownfield, embedding a React Native screen in SwiftUI/UIKit or Kotlin, or AAR/XCFramework packaging. Covers isolated and integrated approaches. For building or distributing a purely native app with EAS, use eas-app-stores.

expo/skills · 70 tokens

truesheet-usage

Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…

lodev09/react-native-true-sheet · 171 tokens

taro-ui-guide

Guides installation, Taro config, styling, and usage of taro-ui (At components) for WeChat/Alipay/H5/RN. Use when building Taro apps with taro-ui, picking components, theming, i18n, or modifying packages/taro-ui source.

jd-opensource/taro-ui · 66 tokens

react-native-ease-refactor

Scan for Animated/Reanimated code and migrate to EaseView.

appandflow/react-native-ease · 18 tokens