theme-factory

theme-factory is a skill for Claude Code from oyi77/1ai-skills. It costs 29 tokens per session (3,902 once invoked), scanned A, original, MIT.

A design-system tool for creating color palettes, typography rules, spacing, and reusable design tokens. It can export these settings for CSS, Tailwind, Figma, and other platforms.

In plain words
What is it for?
It helps create a new theme, define design-system tokens, and keep colors and typography consistent across platforms.
Why use it?
It removes guesswork and inconsistency when defining an application's visual identity or rebrand.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit It helps create a new theme, define design-system tokens, and keep colors and typography consistent across platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/theme-factory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oyi77/1ai-skills --skill theme-factory
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for theme-factory

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/theme-factory/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/theme-factory)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/theme-factory"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/theme-factory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for theme-factory

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/theme-factory"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/theme-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,902 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 276
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.03902
Opus 5 $0.00015 $0.01951
Sonnet 5 $0.00006 $0.00780
Haiku 4.5 $0.00003 $0.00390

Measured 8d ago against content hash 34eb0e8b042c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

theme-factory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

content/theme-factory/SKILL.md · 335 lines

How it starts

The opening of the file, as written. The whole thing — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Theme Factory

When to Use

Trigger phrases:

  • "theme factory"

  • "Generate and apply professional color themes, typography systems, and design tok"

  • When creating a new visual theme or color palette

  • When defining design tokens for a design system

  • When rebranding an application

  • When ensuring visual consistency across platforms

When NOT to Use

  • For implementing existing designs (use frontend-ui-design)
  • For logo design (use image generation skills)
  • For content creation (use content skills)

Overview

Generate professional design systems including color palettes, typography scales, spacing systems, and design tokens. Supports CSS custom properties, Tailwind config, and design token JSON.

Workflow

  1. Define brand — Primary color, mood, audience
  2. Generate palette — Primary, secondary, accent, neutral, semantic colors
  3. Define typography — Font stack, scale, line heights, weights
  4. Create tokens — Design token JSON for cross-platform use
  5. Export — CSS variables, Tailwind config, Figma tokens

Anti-Rationalization Table

Rationalization Reality
"I will pick colors by eye" Systematic color theory ensures accessibility and harmony
"One font is enough" A type scale (headings, body, caption) creates visual hierarchy
"Hardcode colors in components" Design tokens enable theme switching and dark mode

Code Example (CSS Custom Properties)

:root {
  --color-primary-50: #eff6ff;
  --color-primary-500: #3b82f6;
  --color-primary-900: #1e3a8a;
  --font-family-sans: 'Inter', system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-base: 1rem;
  --font-size-2xl: 1.5rem;
  --space-1: 0.25rem;
  --space-4: 1rem;
  --space-8: 2rem;

  [data-theme="dark"] {
    --color-primary-500: #60a5fa;
    --color-bg: #0f172a;
    --color-text: #f8fafc;
  }
}

Code Example (Python) — Color Palette Generation

Generate a full color scale from a single hex primary using HSL interpolation for light→dark variants (simplified HSL demo — for OKLCH-based perceptual uniformity use the colour or culori libraries listed below):

Read the full file on GitHub · 335 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 335 lines · 29 tokens per session scan A 34eb0e8b042c

Subscribe to this mod's changes

theme-factory is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 3,902 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

design-context-extract

Extract design DNA from app screenshots, live URLs, or screen recordings using Google Stitch — color palettes, typography, spacing tokens, component patterns, and motion specs as design-tokens.json or Tailwind config. Use when the user points to a screenshot, URL, or video and asks to extract or audit the design…

yonatangross/orchestkit · 84 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

guizang-ppt-skill

A generator for presentation decks delivered as a single HTML file that runs in a web browser. It provides magazine-style and Swiss-style visual templates for swipeable presentations.

seaworld008/Commonly-used-high-value-skills · 56 tokens

frontend-design

Design and implement polished web components, pages, and applications with a coherent visual direction and usable interaction states.

seaworld008/Commonly-used-high-value-skills · 24 tokens

figma

Fetch Figma design context, variables, screenshots, and assets through MCP when working from Figma URLs or node IDs, or diagnosing its integration.

seaworld008/Commonly-used-high-value-skills · 32 tokens

lark-whiteboard

Use when querying, exporting, or editing Lark whiteboards, including preview images, raw node structures, and structured canvas updates.

seaworld008/Commonly-used-high-value-skills · 31 tokens