Agent skill

Retheme Theme Development

by duxweb in duxweb/ReTheme

Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app.

BSD-3-ClauseAuto-check passedFrontend & Design

Install Retheme Theme Development

skills CLI
$ npx skills add duxweb/ReTheme --skill retheme-theme-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install duxweb/ReTheme retheme-theme-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/duxweb/ReTheme.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/retheme-theme-development .claude/skills/retheme-theme-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
retheme-theme-development
GitHub stars
136
Token cost
~1.6k tokens
SKILL.md length
785 words
Files
11 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app.

  • Works in 10 steps: Establish inputs → Start from the template → Plan semantic tokens → …
  • Working with ReTheme manifest.json files
  • SKILL.md covers Required reading, Workflow and Completion standard
  • Runs JavaScript scripts from its folder; calls node

What it does

Retheme Theme Development is an agent skill from duxweb/ReTheme. Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app. Use when working with ReTheme manifest.json files, stable data-ct-slot CSS, light/dark palettes, zh-CN/en theme copy, home Hero or compact conversation Banner assets, local theme directories, community source ZIPs, or when deciding whether a visual defect belongs to a theme or the ReTheme engine.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/theme-template/manifest.json` and `references/banner-generation.md`).

It sits in Frontend & Design. It works with OpenAI. The repository describes itself as: 🎨 为 ChatGPT、Codex 桌面端打造的安全、可更新、社区驱动主题换肤软件。Open-source desktop theme manager and runtime for ChatGPT. The licence is BSD-3-Clause.

When your agent uses it

  • Working with ReTheme manifest.json files
  • Stable data-ct-slot CSS
  • Light/dark palettes
  • Zh-CN/en theme copy

Example prompts

  • “/retheme-theme-development”

Requirements

  • Node.js

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Establish inputs
  2. Start from the template
  3. Plan semantic tokens
  4. Plan assets
  5. Write Manifest
  6. Write CSS
  7. Validate continuously
  8. Test in ChatGPT
  9. Diagnose ownership
  10. Prepare community source

What it can do on your machine

Read from SKILL.md and the folder at commit 8431a91. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Retheme Theme Development loads about 1.6k tokens when it runs, and up to ~7.4k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 785 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from duxweb/ReTheme at commit 8431a91, republished under its BSD-3-Clause licence (© duxweb). 785 words, ~1,635 tokens.

Download SKILL.mdSave it as .claude/skills/retheme-theme-development/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
retheme-theme-development
description
Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app. Use when working with ReTheme manifest.json files, stable data-ct-slot CSS, light/dark palettes, zh-CN/en theme copy, home Hero or compact conversation Banner assets, local theme directories, community source ZIPs, or when deciding whether a visual defect belongs to a theme or the ReTheme engine.

ReTheme Theme Development

Build themes as declarative JSON, scoped CSS, and local images. Keep ChatGPT structure and behavior under engine ownership.

Required reading

Read these references before editing:

  1. Read references/protocol.md for package, Manifest, CSS, asset, localization, and security rules.
  2. Read references/slots.md before choosing or changing slots.
  3. Read references/qa.md before debugging or declaring completion.
  4. Read references/banner-generation.md before generating or editing a Hero, compact Banner, or transparent foreground.

Do not infer fields or slots from memory. Treat the bundled validator as the protocol authority.

Workflow

1. Establish inputs

Obtain or determine:

  • Globally unique lowercase reverse-domain theme ID.
  • Theme SemVer and real author identity.
  • Base language plus complete zh-CN and en copy.
  • Visual concept, palette, references, prohibited styles, and asset rights.
  • Required coverage: home, compact home, conversation, composer, sidebar, settings, and menu.
  • Target macOS/Windows and narrow/medium/wide/maximized test states.

Ask only for missing inputs that change protocol, identity, rights, or visual direction. Never invent author identity or asset ownership.

2. Start from the template

Copy assets/theme-template to a new directory. Keep manifest.json at the directory root.

Replace every example ID in Manifest and CSS. Do not copy layout workarounds or internal selectors from an existing complex theme.

3. Plan semantic tokens

Define light and dark values before component CSS:

  • App, main, sidebar, page, and settings backgrounds.
  • Surface, hover, active, selected, and disabled states.
  • Primary, secondary, muted, icon, link, and focus colors.
  • Border, strong border, separator, radius, and shadow.
  • Composer, card, menu, settings, code, diff, and terminal surfaces.

Use a theme-owned prefix. Never set a font family or redefine private engine variables.

4. Plan assets

For every image, record filename, format, purpose, Manifest field or controlled asset slot, transparency, source dimensions, and maximum rendered size.

Do not reference images from CSS. Put them under assets/ and declare them in Manifest. Do not bake required copy into images.

5. Write Manifest
  • Use only fields defined by the v1 protocol.
  • Use optional lightAsset and darkAsset only on controlled experience.assets entries when an image needs explicit appearance variants; keep asset as the fallback.
  • Keep styles and slots unique.
  • Declare every used stable slot.
  • Also declare every experience.assets[].slot in top-level slots.
  • Keep permissions equal to [].
  • Provide complete base copy and the other supported language under locales.
  • Omit platform-managed access, integrity, and signature from source themes.

Use valid JSON without comments. Keep explanations outside the package.

6. Write CSS
  • Put semantic variables and appearance variants in styles/tokens.css.
  • Order styles/overrides.css by app, sidebar, main/page, home, conversation, composer, settings, menu, content, and motion.
  • Start every selector-list entry with the exact theme root.
  • Prefer the most specific stable slot and explicit state slots.
  • Change visuals only. Do not change structural display, positioning, scrolling, DOM order, composer height, editor padding, or responsive alignment.
  • Keep generated decoration non-interactive with pointer-events: none.
  • Prefix keyframes with ct- and add reduced-motion rules.

Never use ChatGPT internal classes, localized text selectors, arbitrary attributes, IDs, external URLs, url(), imports, scripts, fonts, or Emoji as visual assets.

Show full SKILL.md (295 more words)Show less
7. Validate continuously

Run the validator bundled in this installed Skill:

bash
node /absolute/path/to/retheme-theme-development/scripts/validate-theme.mjs /absolute/path/to/theme

Resolve the script relative to this SKILL.md, so the command works with custom CODEX_HOME paths and on Windows. Treat every validator error as blocking. Do not look for a ReTheme source checkout, require Cargo, or weaken the validator to accept a theme workaround.

8. Test in ChatGPT

Complete the matrix in references/qa.md. At minimum, test:

  • zh-CN and en in light and dark.
  • Home, drafted compact home, new conversation, historical conversation, settings, and open menus.
  • Empty, single-line, multiline, attachment, permission, and expanded composer states.
  • Narrow, medium, wide, maximized, and open workspace-panel layouts.
  • macOS and Windows.
  • Reduced motion, theme switching, timeout, and full restoration.
9. Diagnose ownership

Treat a defect as a theme issue when it affects one theme or comes from its colors, sizes, borders, opacity, animation, assets, or structural CSS.

Treat it as an engine/compatibility issue when multiple themes lose the same slot, a mount enters the wrong parent, navigation removes mounts, restoration leaves nodes behind, or a ChatGPT version changes the native DOM mapping.

Reproduce engine defects with the minimal template and another known-good theme. Never patch an internal ChatGPT selector into a theme.

10. Prepare community source
  • Remove unused assets and operating-system metadata.
  • Increment SemVer.
  • Ensure the ZIP root directly contains manifest.json.
  • Validate both the directory and final ZIP.
  • Upload the source ZIP, not .ctheme.
  • Report the QA matrix, ChatGPT versions tested, and known protocol limitations.

The platform owns content review, package normalization, integrity indexing, Ed25519 signing, and .ctheme generation.

Completion standard

Do not report completion because the theme merely loads. Complete only when validation passes, both languages and appearances pass, layouts remain native, interactions work, scrolling does not rebound, Hover does not flicker, and restoration leaves no theme styles or mounts.

© duxweb, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (scripts, references, assets) in skills/retheme-theme-development of duxweb/ReTheme.

  • SKILL.md
  • agents/openai.yaml
  • assets/theme-template/assets/hero.svg
  • assets/theme-template/manifest.json
  • assets/theme-template/styles/overrides.css
  • assets/theme-template/styles/tokens.css
  • references/banner-generation.md
  • references/protocol.md
  • references/qa.md
  • references/slots.md
  • scripts/validate-theme.mjs

Open the folder on GitHubat commit 8431a91

Compare with similar skills

Retheme Theme Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Retheme Theme Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Retheme Theme Development this skillduxweb/ReTheme136—~1.6kAutomated safety check: PassBSD-3-Clause
Building AI Chatancoleman/ai-design-components5261 repos~3.4kAutomated safety check: PassMIT
Frontend DevelopmentOpenHands/OpenHands90k—~324Automated safety check: PassMIT
Color Expertmeodai/skill.color-expert605—~8.9kAutomated safety check: PassCustom licence
Jtackanner/jta133—~2.4kAutomated safety check: NotesMIT
Wayfinder Codex UX Reviewasdecided/WayfinderRouter417—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Building AI Chat

    ancoleman/ai-design-components

    Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.

    526 GitHub starsUsed in 1 repo~3.4k tokens
    Frontend & DesignAuto-check passed
  • Frontend Development

    OpenHands/OpenHands

    This skill should be used when the user asks to "add UI copy", "add a translation", "optimize the frontend bundle", "change onboarding", "change conversation UI", "add a query key", "change MSW…

    90k GitHub stars~324 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Color Expert

    meodai/skill.color-expert

    A skill your agent uses when working with color naming, color theory, color spaces, color definitions, or any task involving color knowledge - palettes, ramps, gradients, conversions, accessibility…

    605 GitHub stars~8.9k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Jta

    ckanner/jta

    Translate JSON i18n files to multiple languages with AI-powered quality optimization.

    133 GitHub stars~2.4k tokensUpdated 11 mo ago
    Frontend & DesignAuto-check: notes
  • Wayfinder Codex UX Review

    asdecided/WayfinderRouter

    Review and improve WAYFINDER's native macOS UX against OpenAI Codex app patterns and the repo's accepted menu-bar design contracts.

    417 GitHub stars~1.1k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Publish AI Site

    bubblevv/ai-api-gongyi-nav

    A skill your agent uses when adding or publishing an AI API public-benefit or relay-site listing from promotional copy in this repository, including validating the referral link, regenerating the…

    100 GitHub stars~959 tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

Works with

Questions about Retheme Theme Development

What does Retheme Theme Development do?

Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app. Retheme Theme Development is an agent skill from duxweb/ReTheme. Create, update, validate, and review ReTheme v1 themes for the ChatGPT desktop app.

When should I use Retheme Theme Development?

Retheme Theme Development fits situations like: working with ReTheme manifest.json files; stable data-ct-slot CSS; light/dark palettes; zh-CN/en theme copy.

How do I install Retheme Theme Development in Claude Code?

Run `npx skills add duxweb/ReTheme --skill retheme-theme-development -a claude-code`. Or copy the skill folder (skills/retheme-theme-development in duxweb/ReTheme) into .claude/skills/retheme-theme-development in your project. Claude Code loads it when a task matches its description.

How do I install Retheme Theme Development in Codex?

Run `npx skills add duxweb/ReTheme --skill retheme-theme-development -a codex`. Or copy the skill folder (skills/retheme-theme-development in duxweb/ReTheme) into .agents/skills/retheme-theme-development in your project. Codex loads it when a task matches its description.

Can I use Retheme Theme Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add duxweb/ReTheme --skill retheme-theme-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/retheme-theme-development, .gemini/skills/retheme-theme-development, .github/skills/retheme-theme-development and .opencode/skills/retheme-theme-development in your project.

What does Retheme Theme Development need to run?

Going by SKILL.md and its folder, Retheme Theme Development needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Retheme Theme Development access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Retheme Theme Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Retheme Theme Development use?

Retheme Theme Development is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Retheme Theme Development use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.8k tokens, read only when the agent opens those files.

What are the alternatives to Retheme Theme Development?

Skills that share tags, products or a category with Retheme Theme Development: Building AI Chat (ancoleman/ai-design-components, 526 stars), Frontend Development (OpenHands/OpenHands, 90k stars), Color Expert (meodai/skill.color-expert, 605 stars) and Jta (ckanner/jta, 133 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Retheme Theme Development?

duxweb (a GitHub organization) maintains it in duxweb/ReTheme, which has 136 GitHub stars. The repository was last updated on July 24, 2026.

Source: duxweb/ReTheme on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.