tw-migrate

tw-migrate is a skill for Claude Code, Codex from RoninForge/roninforge-tailwind-v4. It costs 48 tokens per session (774 once invoked), scanned A, original, MIT.

A migration-planning guide for moving a Tailwind CSS project from version 3 to version 4. Tailwind CSS is a tool for styling websites with reusable utility classes.

In plain words
What is it for?
Use it to inspect package and build configuration, compare Tailwind versions, review CSS entry points, find version-3 classes and settings in HTML or component files, and plan the upgrade.
Why use it?
It identifies old configuration, CSS, build settings, and template patterns that may need changing during the upgrade. It turns those findings into a prioritized checklist with exact replacement commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect package and build configuration, compare Tailwind versions, review CSS entry points, find version-3 classes and settings in HTML or component files, and plan the upgrade.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roninforge/roninforge-tailwind-v4/tw-migrate
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 RoninForge/roninforge-tailwind-v4 --skill tw-migrate
Clone the repo
git clone --depth 1 https://github.com/RoninForge/roninforge-tailwind-v4

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 tw-migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-migrate/github.svg)](https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-migrate)
Your own site
<a href="https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-migrate"><img src="https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-migrate/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 tw-migrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-migrate"><img src="https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 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 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.00048 $0.00774
Opus 5.5 $0.00019 $0.00310
Sonnet 5.5 $0.00010 $0.00155
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

tw-migrate 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 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.

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/tw-migrate/SKILL.md · 57 lines

How it starts

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

Tailwind v3 to v4 Migration

When to Use

Use this skill when:

  • Upgrading an existing Tailwind CSS v3 project to v4
  • You encounter v3 patterns in a project that should be on v4
  • A project has version mixing (some v3, some v4 patterns)

Instructions

  1. Read the project's package.json to identify installed Tailwind version and related packages (tailwindcss, autoprefixer, postcss-import, @tailwindcss/typography, @tailwindcss/forms, @tailwindcss/container-queries)

  2. Read the CSS entry point file (usually src/index.css, src/app.css, src/globals.css, or styles/globals.css) and check for @tailwind directives vs @import "tailwindcss"

  3. Check for tailwind.config.js or tailwind.config.ts and read its contents. Note: theme customizations, plugins, content paths, and any advanced config (safelist, corePlugins, separator)

  4. Read postcss.config.js, postcss.config.mjs, or postcss.config.cjs if it exists

  5. Read vite.config.ts, vite.config.js, or the equivalent build tool config

  6. Search template files (.html, .jsx, .tsx, .vue, .svelte, .blade.php, .erb) for these v3 patterns:

    • bg-opacity-, text-opacity-, border-opacity-, ring-opacity-, divide-opacity-, placeholder-opacity-
    • shadow-sm (will need rename to shadow-xs)
    • blur-sm (will need rename to blur-xs)
    • rounded-sm (will need rename to rounded-xs)
    • outline-none (will need rename to outline-hidden)
    • overflow-ellipsis (will need rename to text-ellipsis)
    • flex-grow, flex-shrink (will need rename to grow, shrink)
    • transform (the transform class prefix, no longer needed)
    • ! at the beginning of utility classes (needs to move to end)
    • [-- for arbitrary CSS variable syntax (needs to become (--)
  7. Check browser support requirements. v4 requires Safari 16.4+, Chrome 111+, Firefox 128+. If the project needs older browser support, warn that migration may not be appropriate.

  8. Generate a migration report with:

    • Dependency changes - exact npm commands to run
    • Config changes - what to convert from JS to CSS @theme, what @config bridge is needed
    • CSS changes - import syntax, custom utilities, custom variants
    • Template changes - count of each v3 pattern found, with exact find-and-replace commands
    • Build tool changes - PostCSS or Vite config updates
    • Risk assessment - which changes are safe to automate vs need manual review
    • Post-migration verification - what to visually check

Read the full file on GitHub · 57 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. 3mo ago First seen · 57 lines · 48 tokens per session scan A 3393fa6116dc

Subscribe to this mod's changes

tw-migrate is a skill published in the GitHub repository RoninForge/roninforge-tailwind-v4 (2 stars, last pushed 5mo ago), licensed MIT. It adds 48 tokens to every session and 774 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-31.

Related

tw-migrate compared with skills from other repositories

tw-migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tw-migrateRoninForge/roninforge-tailwind-v4Skill25mo agoMITA48Claude Code, Codex
brand-landingpagewshobson/agentsSkill43k6d agoMITA112Claude Code
css-protipsPyModel/css-pro-tipsSkill342mo agoMITA55Claude Code, Codex
uikit-expertzinxj/uikit-expert-skillSkill71mo agoMITA95Claude Code, Codex
ui-designjaansokk/cursor_toolsSkill110d agoMITA50Codex
Responsive Layout ReviewerNotysoty/openagentskillsSkill93mo agoMITA25Claude Code, Codex
Dark Mode Testing PatternsPramodDutta/qaskillsSkill25227d agoMITA32Claude Code, Codex