Automatically convert vanilla CSS files into Tailwind CSS utility classes using AI-driven mapping.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install css-to-tailwind
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install css-to-tailwind using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The CSS to Tailwind Converter is a specialized tool designed to bridge the gap between legacy styling and modern utility-first frameworks. As part of the broader ecosystem of Openclaw Skills, this tool automates the tedious process of manual refactoring by parsing standard CSS rules and translating them into their closest Tailwind equivalents. It is an essential asset for developers looking to modernize their tech stack without the manual overhead of rewriting thousands of lines of code.
By leveraging advanced mapping logic, the skill ensures that properties like flexbox, typography, and responsive media queries are handled with precision. Whether you are migrating a monolithic application or a small component library, these Openclaw Skills provide a zero-configuration solution that integrates seamlessly into your existing development workflow.
The CSS to Tailwind Converter requires Node.js 18 or higher and functions as a standalone CLI tool without the need for permanent installation. Use the following command to start a conversion:
npx ai-css-to-tailwind styles.css
For bulk processing, you can target entire directories:
npx ai-css-to-tailwind src/styles/
This skill organizes its output by creating a mapping of original CSS selectors to their new Tailwind representations. The data is typically structured as follows:
| Data Component | Description |
|---|---|
| Source Files | Standard .css files or glob patterns (e.g., "src/**/*.css"). |
| Mapping File | A generated reference showing the correlation between original selectors and Tailwind utility classes. |
| Utility Output | Standard Tailwind CSS strings compatible with Tailwind v3+ specifications. |
| Prefix Logic | Responsive prefixes (md:, lg:, etc.) mapped directly from original @media rules. |
Loading
An automated utility to analyze web resources and generate secure Content Security Policy headers to mitigate XSS vulnerabilities.

Transform natural language descriptions into precise cron syntax with AI-powered validation and next-run previews.

An automated tool that scans source code to identify coverage gaps and generates ready-to-run unit tests.

An AI-powered CLI tool that generates customized, role-specific cover letters in seconds.

A high-performance, zero-dependency CLI toolkit for filtering, transforming, merging, and analyzing CSV data at scale.

An automated tool that injects dark mode support into React components using CSS variables or Tailwind prefixes.








































