Borrowing it
Nothing to install: this file belongs to Ohh-889/skyroc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Ohh-889/skyroc/master/.agents/skills/migrate-nativewind-to-uniwind/SKILL.mdgit clone --depth 1 https://github.com/Ohh-889/skyrocWrote 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.
[](https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind)<a href="https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind/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.
<a href="https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.06232 |
| Opus 5.5 | $0.00033 | $0.02493 |
| Sonnet 5.5 | $0.00016 | $0.01246 |
| Haiku 4.5 | $0.00008 | $0.00623 |
Grade C, and why
migrate-nativewind-to-uniwind scanned grade C with 1 finding 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 3mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
**Serialization Errors** (`Failed to serialize javascript object`): Clear caches: `watchman watch-del-all 2>/dev/null; rm -rf node_modules/.cache && npx expo start --clear`. Common causes: complex `@theme` configs, circu This is a copy
100% identical to migrate-nativewind-to-uniwind — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 735 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate NativeWind to Uniwind
Uniwind replaces NativeWind with better performance and stability. It requires Tailwind CSS 4 and uses CSS-based theming instead of JS config.
Pre-Migration Checklist
Before starting, read the project's existing config files to understand the current setup:
package.json(NativeWind version, dependencies)tailwind.config.js/tailwind.config.tsmetro.config.jsbabel.config.jsglobal.cssor equivalent CSS entry filenativewind-env.d.tsornativewind.d.ts- Any file using
cssInteroporremapPropsfromnativewind - Any file importing from
react-native-css-interop - Any ThemeProvider from NativeWind (
vars()usage)
Step 1: Remove NativeWind and Related Packages
Uninstall ALL of these packages (if present):
npm uninstall nativewind react-native-css-interop
# or
yarn remove nativewind react-native-css-interop
# or
bun remove nativewind react-native-css-interop
CRITICAL: react-native-css-interop is a NativeWind dependency that must be removed. It is commonly missed during migration. Search the entire codebase for any imports from it:
rg "react-native-css-interop" -g "*.{ts,tsx,js,jsx}"
Remove every import and usage found.
Step 2: Install Uniwind and Tailwind 4
npm install uniwind tailwindcss@latest
# or
yarn add uniwind tailwindcss@latest
# or
bun add uniwind tailwindcss@latest
Ensure tailwindcss is version 4+.
Step 3: Update babel.config.js
Remove the NativeWind babel preset:
// REMOVE this line from presets array:
// 'nativewind/babel'
No Uniwind babel preset is needed.
Step 4: Update metro.config.js
Replace NativeWind's metro config with Uniwind's. withUniwindConfig must be the outermost wrapper.
Before (NativeWind):
const { withNativeWind } = require('nativewind/metro');
module.exports = withNativeWind(config, { input: './global.css' });
After (Uniwind):
const { getDefaultConfig } = require('expo/metro-config');
// For bare RN: const { getDefaultConfig } = require('@react-native/metro-config');
const { withUniwindConfig } = require('uniwind/metro');
const config = getDefaultConfig(__dirname);
module.exports = withUniwindConfig(config, {
cssEntryFile: './global.css',
polyfills: { rem: 14 },
});
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.
- 3mo ago First seen · 735 lines · 82 tokens per session scan C 8eab2d66eb25
migrate-nativewind-to-uniwind is a skill published in the GitHub repository Ohh-889/skyroc (808 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 6,232 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to migrate-nativewind-to-uniwind, differing in 0 lines, and is treated as a copy.
migrate-nativewind-to-uniwind compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| migrate-nativewind-to-uniwindOhh-889/skyroc | Skill | 808 | 3mo ago | MIT | C | 82 | Claude Code, Codex |
| antdant-design/ant-design-pro | Skill | 39k | 13d ago | MIT | A | 69 | Claude Code |
| pro-upgradeant-design/ant-design-pro | Skill | 39k | 13d ago | MIT | C | 63 | Claude Code |
| expo-ui-full-referenceAlshehriAli0/agent-skills | Skill | 2 | 2mo ago | none | A | 170 | Claude Code |
| react-native-devMiniMax-AI/skills | Skill | 14k | 23d ago | MIT | A | 102 | Claude Code |
| expo-native-uiexpo/skills | Skill | 4.3k | today | MIT | A | 63 | Claude Code, Codex |
| vercel-react-native-skillsfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 57 | Claude Code |