agents: Skill for Claude Code

.agents/skills/expo-tailwind-setup/SKILL.md

expo-tailwind-setup is a skill for Claude Code, Codex from mtnyilmaz/agents. It costs 23 tokens per session (3,196 once invoked), scanned A, a copy of expo-tailwind-setup, MIT.

A setup guide for using Tailwind CSS, a utility-based styling system, in Expo apps running on iOS, Android, and the web.

In plain words
What is it for?
Use it to install and configure Tailwind CSS, react-native-css, NativeWind, and related build settings in an Expo project.
Why use it?
It explains how Tailwind, React Native’s styling runtime, and NativeWind fit together across these platforms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mtnyilmaz/agents's own configuration. It tells Claude Code and Codex how to work on agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mtnyilmaz/agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mtnyilmaz/agents/main/.agents/skills/expo-tailwind-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mtnyilmaz/agents

Made for: Claude Code, 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 expo-tailwind-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtnyilmaz/agents/expo-tailwind-setup.svg)](https://agentmods.dev/skills/mtnyilmaz/agents/expo-tailwind-setup)
Your own site
<a href="https://agentmods.dev/skills/mtnyilmaz/agents/expo-tailwind-setup"><img src="https://agentmods.dev/badge/skills/mtnyilmaz/agents/expo-tailwind-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,196 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.
Origin 86% copy Near-identical to another mod 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.00023 $0.03196
Opus 5 $0.00012 $0.01598
Sonnet 5 $0.00005 $0.00639
Haiku 4.5 $0.00002 $0.00320

Measured 7d ago against content hash 4aeae5731a7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

expo-tailwind-setup 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 7d 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.

Origin

This is a copy

86% identical to expo-tailwind-setup — 21 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.

.agents/skills/expo-tailwind-setup/SKILL.md · 484 lines

How it starts

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

Tailwind CSS Setup for Expo with react-native-css

This guide covers setting up Tailwind CSS in Expo using react-native-css and NativeWind for universal styling across iOS, Android, and Web. Always install @latest versions — see universal/version-policy.md.

Overview

This setup uses:

  • Tailwind CSS - Modern CSS-first configuration
  • react-native-css - CSS runtime for React Native
  • NativeWind - Metro transformer for Tailwind in React Native
  • @tailwindcss/postcss - PostCSS plugin for Tailwind

Installation

Note: NativeWind is in preview. The versions below were correct at time of writing but may be outdated. Before installing, check the latest versions at https://www.nativewind.dev/getting-started/installation

# Install dependencies — check NativeWind docs for latest compatible versions
npx expo install tailwindcss@latest nativewind@latest react-native-css@latest @tailwindcss/postcss@latest tailwind-merge clsx

Add resolutions for lightningcss compatibility (check NativeWind docs for current version):

// package.json
{
  "resolutions": {
    "lightningcss": "1.30.1"
  }
}
  • autoprefixer is not needed in Expo because of lightningcss
  • postcss is included in expo by default

Configuration Files

Metro Config

Create or update metro.config.js:

// metro.config.js
const { getDefaultConfig } = require("expo/metro-config");
const { withNativewind } = require("nativewind/metro");

/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);

module.exports = withNativewind(config, {
  // inline variables break PlatformColor in CSS variables
  inlineVariables: false,
  // We add className support manually
  globalClassNamePolyfill: false,
});

PostCSS Config

Create postcss.config.mjs:

// postcss.config.mjs
export default {
  plugins: {
    "@tailwindcss/postcss": {},
  },
};

Global CSS

Create src/global.css:

@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/preflight.css" layer(base);
@import "tailwindcss/utilities.css";

/* Platform-specific font families */
@media android {
  :root {
    --font-mono: monospace;
    --font-rounded: normal;
    --font-serif: serif;
    --font-sans: normal;
  }
}

@media ios {
  :root {
    --font-mono: ui-monospace;
    --font-serif: ui-serif;
    --font-sans: system-ui;
    --font-rounded: ui-rounded;
  }
}

Read the full file on GitHub · 484 lines

Files

What ships with it

1 file 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. 7d ago First seen · 484 lines · 23 tokens per session scan A 4aeae5731a7e

Subscribe to this mod's changes

expo-tailwind-setup is a skill published in the GitHub repository mtnyilmaz/agents (6 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 3,196 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to expo-tailwind-setup, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

weapp-tailwindcss-react-native

Guidance for configuring weapp-tailwindcss with Expo and React Native, a framework for building mobile apps for Android and iOS with React. It covers compiling Tailwind classes into native style lookups through Metro, React Native’s build tool.

sonofmagic/weapp-tailwindcss · 104 tokens

mobile-ux-optimizer

Mobile-first UX optimization for touch interfaces, responsive layouts, and performance. Use for viewport handling, touch targets, gestures, mobile navigation. Activate on mobile, touch, responsive, dvh, viewport, safe area, hamburger menu. NOT for native app development (use React Native skills), desktop-only…

curiositech/some_claude_skills · 76 tokens

ionic

Ionic development guidelines for building cross-platform mobile applications with Angular, Cordova, and Firebase integration.

Mindrally/skills · 22 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens

lov-mobile-adapt

A mobile adaptation workflow for existing web projects. It adjusts desktop websites for phones by handling responsive layouts, overflow, safe areas around notches, browser viewport height, touch targets, and mobile navigation.

lovstudio/skills · 105 tokens