site-palette

site-palette is a skill for Claude Code, Codex from jtsang4/efficient-coding. It costs 211 tokens per session (2,417 once invoked), scanned A, original, MIT.

A guided tool for choosing a website or web app colour palette. It presents complete palette options in a realistic preview and uses the user's likes, skips, and reference images to narrow the choices.

In plain words
What is it for?
Use it to explore brand colours for a site, dashboard, SaaS product, game, or media interface and select colours for design tokens.
Why use it?
It avoids committing to colours based only on guesses or arbitrary formulas. The selected palette can then be turned into working interface code with contrast checks and light and dark theme choices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to explore brand colours for a site, dashboard, SaaS product, game, or media interface and select colours for design tokens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jtsang4/efficient-coding/site-palette
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 jtsang4/efficient-coding --skill site-palette
Clone the repo
git clone --depth 1 https://github.com/jtsang4/efficient-coding

Made for: Claude Code, Codex.

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 site-palette

README.md
[![agentmods](https://agentmods.dev/badge/skills/jtsang4/efficient-coding/site-palette/github.svg)](https://agentmods.dev/skills/jtsang4/efficient-coding/site-palette)
Your own site
<a href="https://agentmods.dev/skills/jtsang4/efficient-coding/site-palette"><img src="https://agentmods.dev/badge/skills/jtsang4/efficient-coding/site-palette/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 site-palette

Your own site · 80×15
<a href="https://agentmods.dev/skills/jtsang4/efficient-coding/site-palette"><img src="https://agentmods.dev/badge/skills/jtsang4/efficient-coding/site-palette.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,417 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.
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.00211 $0.02417
Opus 5.5 $0.00084 $0.00967
Sonnet 5.5 $0.00042 $0.00483
Haiku 4.5 $0.00021 $0.00242

Measured 18d ago against content hash 7d839458971d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

site-palette 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 18d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (app/palette-core.js, app/picker.js, app/radix-colors.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/site-palette/SKILL.md · 123 lines

How it starts

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

Site palette

Two lessons shape this skill:

  1. Don't generate colours from formulas; curate them. Every colour comes from Radix Colors: 31 hand-tuned 12-step scales, with light and dark themes tuned separately, plus documented grey pairings (app/radix-colors.js, MIT). Algorithms only combine curated parts, check contrast, and map steps to tokens.
  2. Don't guess the user's taste; learn it. A few directions written by Claude are a poor sample of what someone might like. The picker shows rounds of 8 complete palettes on the right kind of page. The first round is chosen to be as varied as possible. Later rounds move toward what the user liked and away from what they skipped. Reference images the user loves become candidates too.

Your job is to set good starting conditions: a brief, priors and references. After that, let the user's reactions decide, then turn the result into working code.

SKILL_DIR means this skill's directory. The scripts need Node 18+ or Bun (use bun in place of node), with no install step. Run them from the user's working directory.

Path Purpose
scripts/serve.mjs Serves the picker on 127.0.0.1, waits for Send to Claude, writes the files, exits
scripts/export.mjs Rebuilds the files from a saved state, with optional edits. Prints the report and a Tailwind v4 mapping
app/ The picker page, palette-core.js (engine: scales → tokens → checks, candidate pool, taste learning) and radix-colors.js
references/priors.md How to turn a brief into priors and references. Read it before step 3
references/integration.md How to wire the tokens into plain CSS, Tailwind v3/v4, shadcn/ui and design tools. Read it before step 6

1. Look before asking

In a web project, check the stack (package.json, the global stylesheet, the Tailwind config, shadcn/ui), the existing colours (CSS variables, frequent hex values, the logo fill) and the dark-mode convention (.dark or [data-theme="dark"]). An existing palette.state.json (usually in design/palette/) means this is a revision. Skip the interview and reopen it (step 4); the picker opens in fine-tune mode with every setting, vote and override restored.

Read the full file on GitHub · 123 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 18d ago First seen · 123 lines · 211 tokens per session scan A 7d839458971d

Subscribe to this mod's changes

site-palette is a skill published in the GitHub repository jtsang4/efficient-coding (2 stars, last pushed 20d ago), licensed MIT. It adds 211 tokens to every session and 2,417 once invoked, about $0.0008 per session on Opus 5.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-11-15.

Related

site-palette compared with skills from other repositories

site-palette next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
site-palettejtsang4/efficient-codingSkill220d agoMITA211Claude Code, Codex
frontend-designHmbown/CodeWhaleSkill41k5d agoMITA21Claude Code, Codex
genuiLodyAI/LodySkill1.9ktodayApache-2.0A121Claude Code, Codex
frame-build-minimalnexu-io/html-videoSkill5.0k17d agoApache-2.0A27Claude Code, Codex
ui_lookrazzant/ouroborosSkill1.8ktodayMITA49Claude Code
frontend-designitmisx/deepx-codeSkill39417d agoMITA88Claude Code, Codex
design-skillOverbrilliant/ob-1Skill5316d agoApache-2.0A82Claude Code, Codex