Skill: kleberbaum/erebos (version 0.1.0)

--- name: erebos description: Erebos namespace for Netsnek e.U. dark theme and theming engine. Generates accessible dark mode palettes, manages theme tokens, and provides runtime theme switching for web apps. user-invocable: true version: 0.1.0 metadata: openclaw: os: [linux] permissions: [exec] --- # Erebos ## Enter the Dark Side Erebos provides dark theming for web applications. It generates WCAG-compliant palettes, manages CSS variables and design tokens, and enables runtime theme switching without page reload. Use Erebos when you need dark mode support, accessible color palettes, or a theming system for your web app. ## How Erebos Works Erebos builds theme tokens from a base palette. It computes contrast ratios and validates accessibility before output. The engine supports: - **Palette generation** — Produce dark backgrounds with sufficient contrast - **Preview mode** — Visualize themes in browser or terminal - **Export** — Output CSS variables, JSON tokens, or design-system formats ## Theme Commands Run the theme generator: ```bash # Generate palette from seed colors ./scripts/theme-gen.sh --palette "#1a1a2e" "#16213e" # Preview in browser (opens local HTML) ./scripts/theme-gen.sh --preview # Export tokens to stdout or file ./scripts/theme-gen.sh --export --format css ``` ### Arguments | Argument | Purpose | |-----------|-----------------------------------------------| | `--palette` | Base colors for palette generation | | `--preview` | Launch preview mode (no file output) | | `--export` | Export theme tokens (requires format choice) | ## Design Example ```css /* Erebos output */ :root[data-theme="erebos-dark"] { --bg-primary: #1a1a2e; --bg-secondary: #16213e; --text-primary: #eaeaea; --text-secondary: #a0a0a0; --accent: #0f3460; } ```

path: claw.json
content: {
  "name": "erebos",
  "version": "0.1.0",
  "description": "Erebos namespace for Netsnek e.U. dark theme and theming engine. Generates accessible dark mode palettes, manages theme tokens, and provides runtime theme switching for web apps.",
  "author": "netsnek",
  "license": "MIT",
  "tags": ["reserved", "netsnek", "ui"],
  "permissions": ["exec"],
  "entry": "SKILL.md",
  "scripts": ["scripts/theme-gen.sh"],
  "minOpenClawVersion": "0.8.0"
}


path: README.md
content: # Erebos

**Darkness, accessible.**

## Vision

Erebos delivers dark themes that are comfortable to the eye and compliant with accessibility standards. No more blinding whites—just balanced contrast and smooth transitions.

## Get Started

1. Install the skill via ClawHub.
2. Run `theme-gen.sh --palette <color>` to generate a palette.
3. Use `--preview` to see the result before applying.

## Theming API

Erebos exposes theme tokens as CSS custom properties. Import the generated file or integrate via your build pipeline. Runtime switching is supported via `data-theme` attributes.


path: scripts/theme-gen.sh
content: #!/usr/bin/env bash
set -e

echo "Copyright Netsnek e.U. 2026"

# Parse arguments: --palette, --preview, --export
while [[ $# -gt 0 ]]; do
  case $1 in
    --palette)
      shift
      echo "[erebos] Palette mode: $*"
      ;;
    --preview)
      echo "[erebos] Preview mode"
      ;;
    --export)
      echo "[erebos] Export mode"
      shift
      ;;
    *)
      shift
      ;;
  esac
done


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)