Agent skill

Dark Mode

by egregore-labs in egregore-labs/egregore

A skill your agent uses when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages.

MITAuto-check passedFrontend & Design

Install Dark Mode

skills CLI
$ npx skills add egregore-labs/egregore --skill dark-mode -a claude-code

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

GitHub CLI
$ gh skill install egregore-labs/egregore dark-mode --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/egregore-labs/egregore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/dark-mode .claude/skills/dark-mode && 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
dark-mode
GitHub stars
291
Token cost
~414 tokens
SKILL.md length
155 words
Files
1
Skills in repo
43
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages.

  • Works in 6 steps: Read .claude/skills/dark-mode/SKILL.md… → Run the referenced bin/ scripts directly… → Treat graph and publish steps as… → …
  • Modifying browser-rendered visual output: HTML
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Artifact templates

What it does

Dark Mode is an agent skill from egregore-labs/egregore. Use when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages. Do not invoke for an ordinary /view render—the checked-in renderer already owns its theme contract. The load-bearing rule is that theme-sensitive colors must be emitted as var(--token), never resolved inline hex.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Theming and dark mode and Design tokens. It works with React. The repository describes itself as: Shared intelligence layer for organizations. The licence is MIT.

When your agent uses it

  • Modifying browser-rendered visual output: HTML
  • Artifact templates
  • Markdown renderers

Example prompts

  • “/dark-mode”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Read .claude/skills/dark-mode/SKILL.md for the workflow details.
  2. Run the referenced bin/ scripts directly from Codex.
  3. Treat graph and publish steps as best-effort unless that workflow explicitly
  4. For every external notification, follow
  5. Keep local-mode behavior filesystem-first and avoid graph or notification
  6. Never call the deprecated egregore-handoff CLI for Egregore project

What it can do on your machine

Read from SKILL.md and the folder at commit 05b8672. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Dark Mode loads about 414 tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~414

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from egregore-labs/egregore at commit 05b8672, republished under its MIT licence (© egregore-labs). 155 words, ~414 tokens.

Download SKILL.mdSave it as .claude/skills/dark-mode/SKILL.md (or your agent's skills folder).
name
dark-mode
description
Use when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages. Do not invoke for an ordinary /view render—the checked-in renderer already owns its theme contract. The load-bearing rule is that theme-sensitive colors must be emitted as `var(--token)`, never resolved inline hex.
<!-- generated-by: bin/codex-sync-skills.sh -->

Egregore dark-mode Adapter

This adapter runs the canonical Egregore workflow for dark-mode. Its one maintained body is .claude/skills/dark-mode/SKILL.md; read that file completely and follow it here.

Use the project shell and filesystem directly. Do not invoke Claude Code commands. Translate interactive choices to structured Codex question tooling when it is available; otherwise render compact numbered choices with an Other: option and wait for the user.

  1. Read .claude/skills/dark-mode/SKILL.md for the workflow details.
  2. Run the referenced bin/ scripts directly from Codex.
  3. Treat graph and publish steps as best-effort unless that workflow explicitly says they are required.
  4. For every external notification, follow .claude/context/notification-consent.md: plan without sending, then show a separate exact Send / Edit / Cancel checkpoint. Never infer notification consent from the workflow request or a batch approval.
  5. Keep local-mode behavior filesystem-first and avoid graph or notification calls when egregore.json declares "mode": "local".
  6. Never call the deprecated egregore-handoff CLI for Egregore project handoffs.

© egregore-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/dark-mode of egregore-labs/egregore.

Open the folder on GitHubat commit 05b8672

Compare with similar skills

Dark Mode 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.

Dark Mode compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dark Mode this skillegregore-labs/egregore291—~414Automated safety check: PassMIT
UI Design Systemtry-works/role-model118—~5kAutomated safety check: PassMIT
Tailwind V4 Shadcnever-works/ever-works1622 repos~3.8kAutomated safety check: PassMIT
Igniteui Wc Customize Component ThemeIgniteUI/igniteui-webcomponents170—~4.3kAutomated safety check: PassMIT
Frontend Designjwynia/agent-skills170—~3.2kAutomated safety check: PassMIT
Frontend UI Foundryjiushiwon/wg-skills114—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    118 GitHub stars~5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Tailwind V4 Shadcn

    ever-works/ever-works

    Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.

    162 GitHub starsUsed in 2 repos~3.8k tokens
    Frontend & DesignAuto-check passed
  • Igniteui Wc Customize Component Theme

    IgniteUI/igniteui-webcomponents

    Theme and style Ignite UI Web Components (and igniteui-react) apps using CSS custom properties, optional Sass, and the igniteui-theming MCP server.

    170 GitHub stars~4.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend Design

    jwynia/agent-skills

    Create distinctive, production-grade frontend interfaces with high design quality.

    170 GitHub stars~3.2k tokensUpdated 7 mo ago
    Frontend & DesignAuto-check passed
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    114 GitHub stars~1.4k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Shadcn Tailwind UI

    LiarMTTT/TavernWeave

    Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.

    154 GitHub stars~1.7k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed

More from egregore-labs/egregore

All 43 skills in this repo
  • Ingest User Interview

    egregore-labs/egregore

    Analyze a user interview from Granola, pasted text, or a file into an evidence-backed briefing, journey insights, product findings, patterns, and actions.

    291 GitHub stars~689 tokensUpdated 8 days ago
    Auto-check passed
  • Meeting

    egregore-labs/egregore

    Analyze a Granola meeting into an evidence-backed briefing, decisions, findings, patterns, actions, and continuity.

    291 GitHub stars~652 tokensUpdated 8 days ago
    Auto-check passed
  • View

    egregore-labs/egregore

    Generate a branded HTML artifact from Egregore data (quest, handoff, activity, board, network, or any document) and open it in the browser.

    291 GitHub stars~646 tokensUpdated 8 days ago
    Auto-check passed
  • Activity

    egregore-labs/egregore

    Explicit Activity card only. An agent skill from egregore-labs/egregore.

    291 GitHub stars~677 tokensUpdated 8 days ago
    Auto-check passed
  • Checkup

    egregore-labs/egregore

    Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible.

    291 GitHub stars~656 tokensUpdated 8 days ago
    Auto-check passed
  • Dashboard

    egregore-labs/egregore

    Explicit personal-status surface for /dashboard or a direct request for the whole personal overview.

    291 GitHub stars~666 tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Dark Mode

What does Dark Mode do?

A skill your agent uses when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages. Dark Mode is an agent skill from egregore-labs/egregore. Use when authoring or modifying browser-rendered visual output: HTML, CSS, React SSR, artifact templates, markdown renderers, design tokens, themes, or composed pages.

When should I use Dark Mode?

Dark Mode fits situations like: modifying browser-rendered visual output: HTML; artifact templates; markdown renderers.

How do I install Dark Mode in Claude Code?

Run `npx skills add egregore-labs/egregore --skill dark-mode -a claude-code`. Or copy the skill folder (.codex/skills/dark-mode in egregore-labs/egregore) into .claude/skills/dark-mode in your project. Claude Code loads it when a task matches its description.

How do I install Dark Mode in Codex?

Run `npx skills add egregore-labs/egregore --skill dark-mode -a codex`. Or copy the skill folder (.codex/skills/dark-mode in egregore-labs/egregore) into .agents/skills/dark-mode in your project. Codex loads it when a task matches its description.

Can I use Dark Mode 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 egregore-labs/egregore --skill dark-mode -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dark-mode, .gemini/skills/dark-mode, .github/skills/dark-mode and .opencode/skills/dark-mode in your project.

What does Dark Mode need to run?

SKILL.md names no scripts, command-line tools or credentials: Dark Mode is instructions for the agent only.

Does Dark Mode 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 Dark Mode 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. Review the folder before installing.

What licence does Dark Mode use?

Dark Mode is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dark Mode use?

About 414 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dark Mode?

Skills that share tags, products or a category with Dark Mode: UI Design System (try-works/role-model, 118 stars), Tailwind V4 Shadcn (ever-works/ever-works, 162 stars), Igniteui Wc Customize Component Theme (IgniteUI/igniteui-webcomponents, 170 stars) and Frontend Design (jwynia/agent-skills, 170 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dark Mode?

egregore-labs (a GitHub organization) maintains it in egregore-labs/egregore, which has 291 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on October 1, 2026.

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