# Choosing charcoal styling

> Choosing charcoal styling is an open-source agent skill for developer tools. Guides agents to pick and correctly set up pixiv's charcoal-ui styling routes. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/pixiv/charcoal/tree/main/skills/choosing-charcoal-styling
- **Repository:** https://github.com/pixiv/charcoal
- **GitHub stars:** 380
- **License:** Apache-2.0
- **Skill name:** choosing-charcoal-styling
- **Collection:** https://github.com/pixiv/charcoal
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill helps an agent choose between the CSS variables, Tailwind and styled-components approaches for pixiv's @charcoal-ui design system, then points out the setup steps that are commonly missed. It explains the layers of the library (tokens, utilities and prebuilt components) so the agent knows which parts are fixed and which are a real decision.

The skill centers on Design Token 2.0, which is opt-in on every route. It lists the exact files to load, the class that must be applied to the root element, and the flags needed for the Tailwind preset. It also warns about outdated official documentation and recommends checking installed package contents or registry metadata instead of web search results.

No scripts are bundled; the skill is a single SKILL.md of instructions. Working with it assumes a project that uses or plans to use @charcoal-ui packages, and it refers to sibling setup skills for Tailwind, styled-components and plain CSS.

## When your agent uses it

> Use before writing or editing any code that imports @charcoal-ui, and whenever a project's charcoal setup is unverified or incomplete. Decides between the CSS variables, Tailwind and styled-components routes, and names the setup steps that are silently missing in most projects.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/pixiv/charcoal/tree/HEAD/skills/choosing-charcoal-styling)
- [License: Apache-2.0](https://github.com/pixiv/charcoal/tree/HEAD/skills/choosing-charcoal-styling)

## Features

- **Styling route selection:** Guides the choice between CSS variables, Tailwind and styled-components for custom markup.
- **Design Token 2.0 setup:** Lists the stylesheets, root class and flags needed to enable the v2 tokens.
- **Missing setup detection:** Flags common mistakes such as loading only the component CSS without the token files.
- **Component layer clarity:** Explains that prebuilt components need no styling library or provider in most cases.
- **Package status notes:** Notes which charcoal packages are deprecated or lack v2 support.

## Good for

- Set up charcoal-ui tokens in a new plain CSS project
- Enable Design Token 2.0 in an existing Tailwind app
- Fix a page where charcoal components render without colors
- Decide whether to migrate off styled-components for charcoal styling
- Check whether a Modal needs CharcoalProvider

## Install

### Claude Code

This skill ships in the `charcoal` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pixiv/charcoal
/plugin install charcoal@charcoal
```

Or copy only this skill to `~/.claude/skills/choosing-charcoal-styling`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/choosing-charcoal-styling &&
cp -R "$tmp/skills/choosing-charcoal-styling" ~/.claude/skills/choosing-charcoal-styling &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/choosing-charcoal-styling` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/choosing-charcoal-styling` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/choosing-charcoal-styling &&
cp -R "$tmp/skills/choosing-charcoal-styling" ~/.agents/skills/choosing-charcoal-styling &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/choosing-charcoal-styling` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/choosing-charcoal-styling` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/choosing-charcoal-styling &&
cp -R "$tmp/skills/choosing-charcoal-styling" ~/.cursor/skills/choosing-charcoal-styling &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/choosing-charcoal-styling` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/pixiv/charcoal.git --path skills/choosing-charcoal-styling
```

Or copy the folder to `~/.gemini/skills/choosing-charcoal-styling` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/choosing-charcoal-styling`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pixiv/charcoal.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/choosing-charcoal-styling &&
cp -R "$tmp/skills/choosing-charcoal-styling" ~/.copilot/skills/choosing-charcoal-styling &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/choosing-charcoal-styling` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pixiv/charcoal.git
```

Then copy `charcoal/skills/choosing-charcoal-styling` into your agent's skills folder as `choosing-charcoal-styling`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Choosing charcoal styling trigger?

It is meant to be used before writing or editing code that imports @charcoal-ui, and whenever a project's charcoal setup seems unverified or incomplete.

### Why do my charcoal components show no colors?

The skill explains that the v2 token CSS must be loaded and the ch-token-v2 class must be on html or an ancestor; without them no tokens are defined.

### Does @charcoal-ui/react require Tailwind or styled-components?

No. The skill states that using the React components does not require either library, since the component styles are plain CSS.

### Should I rely on the official docs?

The skill says the GitHub docs site is outdated and recommends trusting the installed package contents over search results.

### How do I install Choosing charcoal styling in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/choosing-charcoal-styling to use it in all your projects, or to .claude/skills/choosing-charcoal-styling in one project. Or install the charcoal plugin, which includes it: /plugin marketplace add pixiv/charcoal, then /plugin install charcoal@charcoal.

### Does Choosing charcoal styling run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Choosing charcoal styling?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Choosing charcoal styling?

The closest alternatives to Choosing charcoal styling are Setting up charcoal CSS variables, Choosing charcoal tokens, Setting up charcoal tailwind, Setting up charcoal styled and Design system.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Setting up charcoal CSS variables](https://ai-powered.com/skills/setting-up-charcoal-css-variables): Setting up charcoal CSS variables is an open-source agent skill for developer tools.
- [Choosing charcoal tokens](https://ai-powered.com/skills/choosing-charcoal-tokens): Choosing charcoal tokens is an open-source agent skill for developer tools.
- [Setting up charcoal tailwind](https://ai-powered.com/skills/setting-up-charcoal-tailwind): Setting up charcoal tailwind is an open-source agent skill for developer tools.
- [Setting up charcoal styled](https://ai-powered.com/skills/setting-up-charcoal-styled): Setting up charcoal styled is an open-source agent skill for developer tools.
- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [Design kit](https://ai-powered.com/skills/design-kit): Design kit is an open-source agent skill for design and media.
- [Design](https://ai-powered.com/skills/design): Design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/choosing-charcoal-styling
