An automated tool that injects dark mode support into React components using CSS variables or Tailwind prefixes.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dark-mode-gen
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 dark-mode-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Dark Mode Generator is a specialized utility designed to streamline the process of theme implementation in modern web projects. By integrating this into your Openclaw Skills library, you can transform static light-mode components into adaptive, theme-aware UI elements without manual effort.
This tool is particularly valuable for developers who need to implement dark mode across hundreds of components quickly. It works by intelligently parsing your component files and applying the necessary CSS variables or Tailwind utility classes to handle dark mode transitions effectively, ensuring your project meets modern design standards with minimal overhead.
To get started with this skill, ensure you have Node.js 18+ installed and an OPENAI_API_KEY set in your environment variables. No permanent installation is required; simply execute via npx to leverage Openclaw Skills functionality:
# Set your API key
export OPENAI_API_KEY='your_api_key_here'
# Run on a single file
npx ai-dark-mode ./src/components/Card.tsx
# Run on a directory
npx ai-dark-mode ./src/components/
The Dark Mode Generator organizes its operations based on the existing file structure of your project. It primarily interacts with component and style files:
| Feature | Description |
|---|---|
| Supported Formats | .tsx, .jsx, .js, .css |
| Styling Engines | Tailwind CSS, Styled-Components, CSS Variables |
| Output Logic | In-place modification of files or dry-run terminal output |
| Dependency | Requires Node.js and OpenAI API for intelligent style mapping |
Loading
A high-performance, zero-dependency CLI toolkit for filtering, transforming, merging, and analyzing CSV data at scale.

Automatically convert vanilla CSS files into Tailwind CSS utility classes using AI-driven mapping.

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.

Automatically generate dark mode CSS and Tailwind variants for your UI components using AI.

A zero-config CLI utility that uses AI to generate complete ETL and data transformation scripts for seamless system migrations.








































